Auto Register Program on SAP Gateway after Terminated

There are external RFC server programs that close the connection to the gateway and close themselves after an error. As a result of this behavior, the RFC no longer works using this destination.

As a workaround, such a program has to be started using a script.

Windows

:connect
<PROGRAM> -a <PID> -g <HOST> -x <SERVICE>
goto connect

UNIX / Linux

while true
do
<PROGRAM> -a <PID> -g <HOST> -x <SERVICE>
done
nohup <PROGRAM> -a <PID> -g <HOST> -x <SERVICE>

To bridge the time gap between the termination and a new connection setup, the program must be registered at least twice at the gateway.

You May Also Like

Leave a Reply?