The Remote Function Call interface is an SAP interface protocol based on CPI-C and TCP/IP. It simplifies the programming of communication processes between different SAP systems. RFCs enable you to call and execute predefined functions in a remote SAP system – or within the same SAP system. RFCs manage the communication process, parameter transfer, and error handling.
RFC describes an interface, not the programming language in which the function runs. You can also use RFCs to call functions in non-SAP systems. The procedure for RFC communication between two SAP systems is that the calling SAP system uses an RFC definition in the SAP system called to access a specific function.
If you want to start external programs remotely, you need an RFC interface outside the SAP system. For example, a simple Dynamic Link Library (DLL). Every RFC interface is bidirectional, so external programs can also use RFCs to access functions in SAP systems.
Note
All function modules (including those that are remote-enabled) are created, together with their import and export parameters, using the Function Builder. You can call the Function Builder from the SAP Easy Access menu by navigating to Tools → ABAP Workbench → Development → Function Builder, or by using transaction code SE37
.
To call an RFC module from an SAP system:
there must be a technical connection between the two systems – this connection is called an RFC Destination
and you need to know the import and export parameters (defined in the Function Builder) to perform the Remote Function Call
RFC Destinations
Remote-Enabled Function Modules (Remote Function Calls – RFCs)