If smaller datasets can be successfully exported using the DDE but large ones cannot, then very often the exported data cannot be sent in an HTTP request.
This can have two causes:
1. HTTP timeout occurs
In this case make sure that the SAP profile parameters are set up correctly and allow enough time for the program to transfer data to the DDE:
For example:
icm/server_port_0 = PROT=HTTP,PORT=8080,TIMEOUT=60,PROCTIMEOUT=900
icm/server_port_2 = PROT=HTTPS, PORT=8443, TIMEOUT=60, PROCTIMEOUT=900
icm/keep_alive_timeout = 900
icm/conn_timeout = 20000
2. Data exceeds maximum HTTP request length
If you use IIS to host the DDE, then there are the two main places where the request length is set in IIS and ASP.NET:
- IIS Request Filtering
- HttpRuntime maxRequestLength
This is explained in this blog post: https://weblog.west-wind.com/posts/2016/Apr/06/Configuring-ASPNET-and-IIS-Request-Length-for-POST-Data
Comments
0 comments
Article is closed for comments.