Remote Function Call

This article is about the SAP technology. For generic term, see remote procedure call.

Remote Function Call is the proprietary SAP SE interface. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.[1] Remote function calls may be associated with SAP software and ABAP programming and provide a way for an external program (written in languages such as PHP, ASP, Java, or C, C++) to use data returned from the server. Data transactions are not limited to getting data from the server, but can insert data into server records as well. SAP can act as the Client or Server in an RFC call.

Technical overview

A Remote Function Call (RFC) is the call or remote execution of a Remote Function Module in an external system. In the SAP system, these functions are provided by the RFC interface system. The RFC interface system enables function calls between two SAP systems. There are 3 different versions of RFC communication:

  1. The first version of RFC is synchronous RFC (sRFC).
  2. Transactional RFC (tRFC, also originally known as asynchronous RFC)
  3. Queued RFC (qRFC)

RFC interfaces

The RFC interface system is made up of the following interfaces:

If either the calling program or the called partner is not a SAP program, it must be programmed in such a way that it can play the role of the other partner in RFC communication.

To implement RFC partner programs in non-SAP systems, read: Components of the SAP Communication Technology.

RFC-supported and GUI-supported interfaces can be used by external programs to call function modules in SAP systems, and execute them in these systems. Likewise, ABAP programs can also use these interfaces to use functions supplied by external programs.

Functions are remote-enabled by setting the "Remote-enabled module"-flag in the Attributes tab of the ABAP Workbench: Function Builder (transaction SE37).

SAPRFC

SAPRFC is an open source program for *NIX and Windows systems that allows PHP to make calls to an RFC-enabled SAP R/3 system.

See also

References

External links

This article is issued from Wikipedia - version of the Monday, April 18, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.