AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - Programming Language → Data Interfaces and Communication Interfaces → Remote Function Call (RFC) → RFC - Overview →RFC - Calls
The following additions of the CALL FUNCTION statement cause a remote function call:
If the DESTINATION addition is specified without one of the following two additions, the calling program waits until the remotely called function was completed.
The addition STARTING NEW TASK is used to continue 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 addition IN BACKGROUND flags the remotely called function for execution and starts it using the statement COMMIT WORK.
Hint
Background RFC (bgRFC) is an enhanced successor technology of tRFC (and qRFC) and makes it obsolete. It is strongly recommended that bgRFC is used instead of tRFC.
More Information