ABAP Keyword Documentation → ABAP - Reference → Data Interfaces and Communication Interfaces → Remote Function Call → RFC Overview
RFC Calls
The following additions of the CALL FUNCTION
statement cause a Remote Function Call:
DESTINATION
for a synchronous RFC (sRFC)
If theDESTINATION
addition is specified without one of the following two additions, the calling program waits until the remotely called function has finished.
STARTING NEW TASK
for an aynschronous RFC (aRFC) and its parallel RFC variety (pRFC)
With theSTARTING NEW TASK
addition, the system continues to process the calling program as soon as the remotely called function is started, without waiting for the latter function to finish. The results are received in callback routines.
IN BACKGROUND UNIT|TASK
for a Background RFC (bgRFC) or a transactional RFC (tRFC) and the variety thereof, queued RFC (qRFC).
With theIN BACKGROUND
addition, the remotely called function is designated for execution and started with aCOMMIT WORK
statement.
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, SAP strongly recommends that you use the bgRFC instead of the tRFC.
More Information
For a detailed description of RFC calls, see
Additional information is also available in the SAP Library in the following section:
- Calling RFC Function Modules in ABAP