Start of Content Area

Process documentation qRFC Programming  Locate the document in its SAP Library structure

Purpose

Applications can use qRFC function modules to execute functions in remote systems.

 

Prerequisites

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.

 

Process Flow: Asynchronous Processing in a Distributed Environment

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.

 

Example

This graphic is explained in the accompanying text 

The following figure illustrates the 3-phase communication concept:

This graphic is explained in the accompanying text

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

·        Outbound Queue Programming

·        Inbound Queue Programming

 

 

Start by reading the following:

qRFC Programming: Introductory Example

 

 

 

End of Content Area