Ansicht
Dokumentation

ABENPARALLEL_RFC_ABEXA - PARALLEL RFC ABEXA

ABENPARALLEL_RFC_ABEXA - PARALLEL RFC ABEXA

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

- Parallel aRFC

This example demonstrates parallel asynchronous RFC processing.

Source Code

Execute

Description

Parallel asynchronous processing of the function module RFC_SYSTEM_INFO using asynchronous remote function calls. Ten calls with different task IDs name are made, which each run in a separate work process. The callback routine callbback_meth counts the completed function modules and receives information about the target system.

The addition GROUP DEFAULT is used to distribute the execution across all of the current AS ABAP. If no more free work processes are available after at least one successful call, the execution of the program is stopped until all function modules started up to that point have been completed. This interruption is limited to a maximum of 5 seconds.

After all function modules have been started, the system waits until all callback routines have been executed. After that, the internal table task_list filled there is produced. The output shows the order in which the individual tasks were completed and on which they were executed.






Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.

Length: 1566 Date: 20240419 Time: 115218     sap01-206 ( 17 ms )