Skip to end of metadata
Go to start of metadata

Symptom
You find error "Error when opening an RFC connection" in SM58. When you execute this RFC luw manually, it may be executed successfully. This error occurred intermittently, and due to this error, RFC processing got delayed or stopped




 
Cause
The "AS group" used in SMQS includes more than one application server, the RFC destination does not work on one/few of application servers in the AS group. When a RFC luw is distributed to a "failed" server(the RFC destination does not work on this server), "Error when opening an RFC connection" will occur in SM58. When you execute it manually,it may be distributed to a "working" application server(the RFC destination works on this server), then the RFC luw will be executed without problem


SMQS

 

You can use RZ12 to check how many application servers are included in the AS group. Here the DEFAULT means all of the application servers could be used


Resolution
There are two options to fix this issue:

  • Make sure the RFC destination works on all of the application servers in the AS group
    OR
  • Exclude the "failed" server from AS group by RZ12