What is RFC in SAP system?
The RFC interface system enables function calls between two
SAP systems, or between an SAP system and an external system.
Step 1: you need to have RFC connection settings should be maintained in SM59.
Example -SAP systems (system 1:AX1 system 2:AX2).
If you like to fetch the data or a data operations or checks from AX1.
Then RFC should be created in AX1 system and that RFC you should call in AX2 system as per your requirement.
How to create RFC destination?
- 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.
How to create the RFC?
it is similar to the FM in SAP and the only difference is
that- In the Attributes
tab, select the Remote-Enabled Module
radio button.
· 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.
No comments:
Post a Comment