Hello everyone,
How can be SAP configured to retain JCo Client session if the connection is lost?
Please consider the following scenario:
- JCoDestination is created
- a function is called (e.g. STFC_CONNECTION)
- as the function is executed (in case of STFC_CONNECTION, a break point should be set to simulate that), the network connection to the server is lost.
- the server has completed the execution of the function, we are still offline, JCo Client is still within JCoFuntion.execute() and waiting.
- the network connection is restored. If it happens within approx. 15 seconds, the result of the function will be received from server correctly. After a longer period, no result will be received, and JCo will never return from JCoFunction.execute(). At this stage, I would like to receive some kind of exception or be able to receive the reply from SAP Server within up to 5 minutes after the connection loss.
Kind Regards,
m_OO_m