qRFC Programming
Applications can use qRFC function modules to execute functions in remote systems.
As a programmer, you must have a clear overview of the procedures for transferring data using qRFC in your system. You must also create and configure the connections to other systems.
Consider the example of qRFC with an inbound queue and outbound queue. We recommend that you always use qRFC with inbound and outbound queues. qRFC with inbound and outbound queues involves a 3-phase processing and transfer model. All three phases are completely independent of each other. Separation of these phases ensures that asynchronous processing is as secure as possible.
...
1. In the first step, the application data is written to the database in the outbound queue. When the first step is completed, the data is saved in the database.
2. In the second step, the QOUT Scheduler transfers this data from the database of the client system, to the inbound queue in the database of the target system.
3. In the third step, the target system QIN Scheduler activates processing of the queue in the target system.
The following figure illustrates the 3-phase communication concept:

As a programmer of qRFC communication in an SAP system, you have a variety of tools at your disposal for efficient monitoring and control of the system and qRFC/tRFC. You can adapt qRFC to suit any requirements. To do this, you use the APIs (Application Programming Interfaces; qRFC-API) from the Programming section. These APIs enable you to modify qRFC.
In this documentation, qRFC programming is split into three main areas:
· qRFC Programming: Introductory Example
qRFC Programming: Introductory Example
