qRFC Programming: Introductory
Example
qRFC communication consists of tRFC communication with a preceding inbound queue and outbound queue. Before you start reading this introductory example, here is a programming example for tRFC communication:
report rstrfct0.
... call function ’RFC_FUNCTION’ destination RFCDEST in background task ( as separate unit )
exporting ...
tables ...
... commit work.
|
All data that belongs to a tRFC call (Call Function ... in Background Task) in an LUW is saved to two internal tables with a transaction ID (TID).
The following occurs when the Commit Work is executed:
· The content of these internal tables is written to the database (ARFCSSTATE and ARFCSDATA).
· The RFC Manager obtains a dialog work process to execute this LUW in the partner system.
For more information about tRFC, see the following:
Sending and Executing tRFC LUWs
Continue by reading the following:
