Procedure
You need to create the following RFC destinations with both transaction SM59 (AS ABAP) and the SAP NetWeaver Administrator (AS Java):
-
AI_RUNTIME_JCOSERVER
Points from the Integration Server to the mapping runtime. The program ID corresponds to the entry configured for the destination on AS Java (used for the mapping runtime, value mapping, and the exchange profile).
-
AI_VALIDATION_JCOSERVER
Points from the Integration Server to the XML validation service. The program ID corresponds to the entry configured for the destination on AS Java (used for XML validation).
-
LCRSAPRFC
The RFC destination LCRSAPRFC is required for the connection to the System Landscape Directory (SLD). It is used to read the exchange profile.
-
SAPSLDAPI
The RFC destination SAPSLDAPI is required for the connection to the SLD. It is used by the ABAP API.
Depending on your client settings, it may be necessary to log on to your Integration Server host as SAP system user with the authorization to maintain customizing tables and to release transport orders.
NOTE
User SAP* or DDIC does not have these authorizations.
Maintain the RFC Connections (ABAP)
Perform the following steps:
-
Log on to your Integration Server host.
-
Call transaction SM59.
-
Choose Create.
-
Enter at least the following:
-
RFC destination: AI_RUNTIME_JCOSERVER
-
Connection type: T
-
Description: <your description>
-
-
Choose ENTER.
-
Choose the Technical settings tab and do the following:
-
Select Registered Server Program.
-
In the Program ID field, enter: AI_RUNTIME_<SID>
<SID> is the SAP system ID of your Integration Server host.
CAUTION
Use uppercase letters only.
-
Select the gateway defaults.
-
Enter Gateway host and Gateway service of your Integration Server host.
To find out the required parameters:
-
On the Integration Server host, call transaction SMGW.
-
Choose Goto Parameters Display (check the entries for gateway hostname and gateway service).
-
-
Choose the MDMP & Unicode tab and select the Unicodeflag in the Communication Type with Target System box.
-
-
Save your settings.
-
Repeat steps 3 to 8 for the remaining destinations:
-
AI_VALIDATION_JCOSERVER
Program ID: AI_VALIDATION_<SID>, where <SID> is the SAP system ID of your Integration Server host.
-
LCRSAPRFC
Program ID: LCRSAPRFC_<SID>, where <SID> is the SAP system ID of your Integration Server host.
-
SAPSLDAPI
Program ID: SAPSLDAPI_<SID>, where <SID> is the SAP system ID of your Integration Server host.
-
-
Leave transaction SM59 open to perform further tests later.
Configure the Destinations (Java)
Perform the following steps:
-
On your Integration Server host, start the SAP NetWeaver Administrator.
-
Choose Configuration Management Infrastructure JCo RFC Provider .
-
Choose Create and enter exactly the same program ID and gateway options for AI_RUNTIME_JCOSERVER that you used in the step Maintain the RFC Connections (ABAP)above. Additionally, set the server count to 10 and choose Next.
-
In the Repository Configuration section, do the following and choose Next:
-
Deselect the Use RFC Destination flag.
-
Enter the parameters for the Integration Server host: Application Server Host, System Number, Client, and Language.
-
For User and Password maintain the login parameters for the user SAPJSF.
-
-
Do not select anything in the Security Settings and Additional Options sections and choose Next.
-
Choose Finish.
-
Repeat steps 3 to 6 for the remaining destinations:
-
AI_VALIDATION_JCOSERVER
Corresponding values from transaction SM59
Server Count 10:
-
LCRSAPRFC
Corresponding values from transaction SM59
Server Count 3:
-
SAPSLDAPI
Corresponding values from transaction SM59
Server Count 10:
-
Test the RFC Destinations
After you have maintained all RFC destinations in both the ABAP and Java environments, you can check all the connections above as follows:
-
Call transaction SM59 again.
-
Open your RFC destination.
-
Choose Connection Test.
No errors should be displayed.