For all scenarios, you need to create an RFC destination (type 3) from the SAP Gateway hub to the SAP Business Suite system. RFC destinations of type 3 are for connections to SAP ABAP systems.
Create the RFC destination of type 3 as follows
In transaction SPRO open the SAP Reference IMG and navigate to: and click on the Activity icon.
Choose Create.
In the RFC Destination field, enter the RFC destination name in the following format: <system id >CLNT<Client>.
In the Connection Type field, enter 3.
In the Description 1 field, enter an explanatory text, for example, RFC Destination to SAP Server.
Save your settings.
On tab Technical Settings and Load Balancing select the relevant option according to your system’s settings.
In the Target Host field, enter the (message) server name of the of the SAP system.
In the System Number field, enter the SAP Gateway system number, for example, 00.
On tab Logon & Security enter the SAP system’s client number.
Activate Current User.
For Trust Relationship activate Yes.
Ensure that you have previously created the trusted relationship, as outlined in Defining Trust between the SAP Gateway Host and Your SAP System.
Save your settings.
To check that you have successfully created the type 3 connection, choose Connection Test. The connect test should pass.
If the user ID with which you are logged on to SAP Gateway and your user ID for the SAP system is the same, and this user ID has the object S_RFCACL assigned to it on the SAP system, select Remote Logon. You should not see any error messages in the status. If you have any problems, check SAP Note 128447 for troubleshooting tips.