Determining Filter Objects of a BAPIs
Use
To determine the receivers of a BAPI, the relevant filter objects for this BAPI must be specified. If the filter objects maintained in the distribution model are not known at the time of determining the receiver, they can be retrieved using the function module ALE_BAPI_GET_FILTEROBJECTS.
When ALE_BAPI_GET_FILTEROBJECTS is called, the business object, method and a table containing the names of the logical receiver systems are returned. If the BAPI cannot be found in the ALE distribution model or the filter objects have not been maintained in the ALE distribution model, an empty table (FILTEROBJECTS) is returned.
You can only determine the values of filter objects you have defined using defined business add-ins that you have to implement yourself.
For dependencies, the object type through which the dependent ALE distribution object links to the referenced ALE distribution object is always returned. The application must know the object ID of the current object characteristics for this object type.
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 |
BDI_LOGSYS |
Default logical receiving system |
Output Parameters:
Parameter |
Reference Field/Structure |
Description |
FILTEROBJECTS |
BDI_FLTTYP |
Filter objects and values |
Exceptions
Parameter |
Description |
ERROR_IN_ALE_CUSTOMIZING |
Error in ALE Customizing |