connection to partner timed out after 60s: didn't find the answer yet
參考1:
1, https://service.sap.com/sap/support/notes/885580
Timeout settings: There are several timeout values that are involved when using the internal ITS:
rdisp/gui_auto_logout: This parameter applies to all kind of user sessions in the R/3 (SAPGui and ITS services). This profile parameter should be set larger or equal to the session timeout of the ITS service (see below).
Session timeout of an ITS service: For each ITS service a dedicated timeout can be set. Call transaction SICF => /sap/bc/gui/sap/its/ => => Service ptions => Session-Timeout: .
Timeout values of the Internet Communication Manager (ICM): There are two kind of timeout values that can be set in the ICM: PROCTIMEOUT and TIMEOUT.
Syntax: icm/server_port_ = PROT=HTTP, PORT=,
TIMEOUT=,
PROCTIMEOUT=-1
- PROCTIMEOUT: The PROCTIMEOUT argument of the ICM parameter icm_server_port_?? Defines the maximum processing time of a request in the kernel (the default value for processing time is 60 seconds). You should choose a value that fits to the runtime requirements of the ITS services you are using.
- TIMEOUT: The TIMEOUT argument of the ICM parameter icm_server_port_?? defines how long the connection between the browser and ICM should remain open (the default value is defined with the parameter icm/keep_alive_timeout and has the value 60). The parameter has no effect on the session/connection timeout but is used to optimize the performance of the HTTP connection (HTTP/1.1).
For further details, please refer to note #705013.
2, To do this, start Tcode SMICM.
Then Menu: Goto->Services->Menu->Go To->Service->Define. Specify a new port number, and a large “keep alive” time. When testing, just change the port number in the URL to use the newly defined one.
or RZ10.
Parameter : icm/keep_alive_timeout
Short description : keep alive timeout for inactive connections
Parameter description :
If no communication takes place over an existing connection for more
than a certain length of time, the connection is closed by ICM. The
standard value for the timeout is set with this parameter, but can
overridden for each service (see below).
A value of -1 deactivates the timeout. The connection is then never
closed by the ICM.
Caution:
Note that the user context in the work process is not closed after
this period of time. That timeout is defined using the profile
parameter %%rdisp/plugin_auto_logout%%.
Unit : Seconds
Application area: Internet Communication Manager
Default value : 60
參考2:
临时性修改可以直接进入SMICM,修改HTTP服务的Timeout参数。如果想永久性修改则可以选择修改SAP Profile文件。
文件的具体位置在\usr\sap\\SYS\profile中的DEFAULT.PFL,添加一项
icm/keep_alive_timeout = 300
icm/conn_timeout = 600
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22575590/viewspace-626022/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22575590/viewspace-626022/