title | description | ms.custom | ms.date | ms.service | ms.reviewer | ms.suite | ms.topic |
---|---|---|---|---|---|---|---|
Overview of creating an RFC in an SAP to use with the SAP adapter in BizTalk |
Create an RFC, RFC destination, and send an RFC from SAP system - BizTalk Adapter Pack (BAP) |
06/08/2017 |
biztalk-server |
article |
Lists high-level tasks to complete on the SAP system to create an RFC. Each task may involve very detailed procedures. As a result, we recommend contacting your SAP administrator to complete these tasks, or refer to the SAP guidance.
-
Start the SAP GUI.
-
Go to Transaction SE37 (Function Builder), enter the RFC name, and click Create.
-
Enter an existing function group under which the RFC will be created, a short description for the RFC, and click Save.
-
In the Attributes tab, select the Remote-Enabled Module radio button.
-
In the Import tab, enter the import parameters. These parameters are used for passing the external data to the function module.
-
In the Export tab, enter the export parameters.
-
In the Changing tab, enter the changing parameters.
-
In the Tables tab, enter the table names.
-
In the Exceptions tab, enter the exceptions to handle errors.
-
In the Source Code tab, enter the source code (logic) for the RFC.
-
Click the Activate icon on the toolbar to activate the function module.
-
Start the SAP GUI.
-
Go to Transaction SM59 (Display and Maintain RFC Destinations).
-
From the menu bar, click Create.
-
Enter the RFC destination, connection type, description, and then press Enter.
-
Select the Registered Server Program radio-button, enter the program ID, gateway host, and gateway service.
-
Save the RFC destination.
-
Start the SAP GUI.
-
Create a logical system using BD54 transaction.
-
Create an RFC destination in TCP/IP connections using SM59 transaction.
-
Create a port using WE21 transaction and attach it to the RFC destination created in the last step.
-
Trigger an RFC by using SE37. This RFC must contain the logic to make an RFC call to an external application and then receive a response from that application.
Performing Tasks Using the SAP GUI for Specific SAP Adapter Scenarios