Definition
Synchronous Data Transfer
Data is transferred directly (simultaneously, synchronously) from program to program via CPI-C communication.
Both communications partners must be available at the same time. Because the central SAP system in a typical SAP installation does not run round the clock, but the linked systems are frequently in operation 24 hours a day, asynchronous data transfer is necessary.
Synchronous data transfer has the following disadvantages:
Asynchronous Data Transfer
With asynchronous, or buffered, data transfer, data is temporarily stored in a sequential queue.
Asynchronous transfer has the following advantages:
The Queue Application Programming Interface (Q-API) is an SAP interface for asynchronous data transfer.
Data is buffered sequentially and processed immediately or later by an asynchronously running process.
One possible processing method is to send data to an external partner system via CPI-C. Data units that belong together can be stored in accordance with transaction and sent to a communications partner.
Data is buffered in queues before it is transferred to the target system.
In an R/3 System, the queues are stored in a relational database. All R/3 database systems are supported.
The ABAP interface is implemented as follows:
|
ABAP Function Modules |
|
|
Release 4.3H - 4.4: |
ABAP calls to Assembler routines |
Release 5.0: |
ABAP key words |
The C interface to R/3 is implemented as a library which uses R/3 function modules through a Remote Function Call (RFC).
Integration
The following topics explain the basic terms and concepts of the SAP interface Q-API.