Hi Folks,
We have registered the server program from the middleware onto SAP R/3 System and is successfully registered as per the logs. As a next step, we have logged into R/3 System, SM59, in the RFC destination (Type TCP/IP) after specifying the registered program, we have tested it(Connectivity test). The test is positive and connectivity is established successfully.
The solution was working for months and suddenly connectivity is broken.
To restore the connection, we have repeated the steps, registered the server program, tested and everything is fine.
But when we have pushed a new message, then onwards the RFC destination shows an error. "TP is not registered", Return Code 679. That is when the first message is pushed, it is de-registering the server program and running into error. All the messages got stuck in SM58 with status 'Error when opening an RFC connection'.
RFC trace shows
ERVER> Caller transaction code: (Caller Program: SAPLQOWK)
ERVER> Called function module: ARFC_RUN_NOWAIT
Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501
CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
Transaction program not registered.
Please let me know for any inputs.
Thanks, Suraj