
Determining Receivers of Asynchronous BAPIs
Use
To determine the receivers of an asynchronous BAPI, the application program calls the function module ALE_ASYNC_BAPI_GET_RECEIVER.
The following mechanisms are effective:
From the object ID the function module ALE_ASYNC_BAPI_GET_RECEIVER determines the current filter object values of the object through which the dependent BAPI references to another BAPI or message type. The application must provide a function module that enables the object data to be read. The name of the function module must be stored in an ALE Customizing table, which the receiver determination can access at runtime (Table TBD18).
Input Parameters:
Parameter |
Reference Field/Structure |
Description |
OBJECT |
BDI_BAPI-OBJECT |
BOR object of the BAPI |
METHOD |
BDI_BAPI-METHOD |
BOR method of the BAPI |
RECEIVER_INPUT, optional |
BDI_LOGSYS |
Default logical receiving system |
FILTEROBJECT_VALUES |
BDI_FOBJ |
Filter objects and values |
Output Parameters:
Parameter |
Reference Field/Structure |
Description |
RECEIVERS |
BDI_LOGSYS |
Receiving systems of the BAPI |
Exceptions
Parameter |
Description |
ERROR_IN_FILTEROBJECTS |
Filter objects are incorrect or incomplete |
ERROR_IN_ALE_CUSTOMIZING |
Error in ALE Customizing |