SAP RFC STATEMENTS



Get Example source ABAP code based on a different SAP table
  



ABAP_RFC - Calls
The following additions of the CALL FUNCTION statement cause a remote function call:
DESTINATION for a synchronous RFC (sRFC) If the DESTINATION addition is specified without one of the following two additions, the calling program waits until the remotely called function was completed.
STARTING NEW TASK for an asynchronous RFC (aRFC) and its parallel RFC variety (pRFC) 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.
CALL FUNCTION ... IN BACKGROUND UNIT for a background RFC (bgRFC).
CALL FUNCTION ... IN BACKGROUND TASK (obsolete) for a transactional RFC (tRFC) and its variant queued RFC (qRFC) The addition IN BACKGROUND flags the remotely called function for execution and starts it using the statement COMMIT WORK.



Latest notes:

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.
ABAP_HINT_END

More Information
For a detailed description of RFC calls, see CALL FUNCTION - RFC
and the documentation RFC in SAP Help Portal.