ABAP Keyword Documentation → ABAP - Reference → Data Interfaces and Communication Interfaces → RFC - Remote Function Call → RFC Overview
RFC Calls
The following additions of the CALL FUNCTION statement produce a remote function call:
DESTINATIONfor a synchronous RFC (sRFC)
If theDESTINATIONaddition is specified without one of the following two additions, the calling program waits until the remotely called function has finished.
STARTING NEW TASKfor an aynschronous RFC (aRFC) and its parallel RFC variety (pRFC)
The additionSTARTING NEW TASKcontinues the processing of the calling program as soon as the remotely called function has been started, without waiting for the function to end. The results can be handled in callback routines.
- The results are received in callback routines.
IN BACKGROUND UNIT|TASK for a background RFC (bgRFC) or a transactional RFC (tRFC) and its variant queued RFC (qRFC).
The additionIN BACKGROUNDflags the remotely called function to be executed and starts it using the statementCOMMIT WORK.
Other versions: 7.31 | 7.40 | 7.54
Note
BackgroundRFC (bgRFC) is an enhanced successor of tRFC (and qRFC). At the moment, all variants can still be used. However, it is strongly recommended that bgRFC be used instead of tRFC.
More Information
- For a detailed description of RFC calls, see
CALL FUNCTION- RFC.
- and the
SAP NetWeaver documentation in SAP Help Portal.