Ansicht
Dokumentation

SAPBC415_RFCASYNC_D1 - Asynchr. RFC: Asynchronous RFC Returning Results

SAPBC415_RFCASYNC_D1 - Asynchr. RFC: Asynchronous RFC Returning Results

PERFORM Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Description

This program demonstrates Remote Function Call.

A function module is called asynchronously from a DO loop. You can specify the number of loop passes yourself.
The call is programmed so that results can be received from the function module (PERFORMING additino). The corresponding subroutine runs a counter (COUNT) for the number of function modules that return results.
The function module retunrs the contents of SY-DBCNT (export parameter READ_COUNT). This value is set in the function module by a SELECT loop.

Below are the most important program statements:

Program statements:
-> WAIT UNTIL ...
Function module calls:
->Function module BC415_ARFC ( asynchronous call )
Subroutines:
->BACK
This subroutine uses the RECEIVE RESULTS FROM FUNCTION ... statement to accept results from the function module.

Requirements

Output

Example






rdisp/max_wprun_time - Maximum work process run time   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1050 Date: 20240531 Time: 041233     sap01-206 ( 27 ms )