I have a RFC server application used to handle the communication between our SAP and another external system. This application is written in C# and runs on a Windows Server 2008 box.
When starting the application it registers itself at the SAP Gateway. However, after a few day's that the application has not been used it disconnects from the gateway and RFC call made to the application get a dump error.
Now my question is this:
What is the most effective method of ensuring that the RFC Server application never disconnects from the sap system?
What is the timeout for registered programs before they disconnect?
I have considered altering the server to self restart once a day or week.
Perhaps for SAP to start the application remotely (Don't even know if this is possible)
Even writing the RFC server as an windows service.
Has anyone encountered a similar situation and could suggest a permanent fix?
Thanks for your time!