
Filtering Data
There are two filtering services provided for asynchronous BAPI calls using the BAPI-ALE interface.
If you want to reduce the BAPI interface, you do not have to define any filter object types.
The BAPI reduction does not have any conditions - it is a projection of the BAPI interface.
The developer of the BAPI whose interface is to be reduced must create the BAPI as a reducible using appropriate parameter types.
The optional BAPI parameters and/or BAPI fields are deactivated in the distribution model for the data transfer.
You can reduce an interface in two ways, see
Filter
Object Types are assigned to the business object method. The valid filter object values must be defined in the distribution model.The BAPI parameter filtering is linked to conditions, it is therefore content-dependent: The lines in table parameters of asynchronous BAPIs are determined depending on the values in the lines (or dependent lines) for the receiver.
Filters are used to define conditions in the form of parameter values that must be satisfied by BAPIs before they can be distributed in ALE outbound processing.
The table dataset of a BAPI is determined when the parameters are filtered.
Hierarchy relationships between table parameters of the BAPI can also be defined.
Distribution by
Classes is also supported.For more information see
Filtering BAPI ParametersBAPI filtering
is the term used for the shared use of both the filter services of the BAPI interface. BAPI filtering is implemented as a service in ALE outbound processing.Prerequisites for Using Filter Services
The table below lists the prerequisites that the BAPI interface must satisfy, so that ALE filter services can be used.
The BAPI can have the following parameter types:
|
Field Reduction |
Full Filtering |
Parameter Filtering | |
|
|||
|
X |
|||
|
X |
|||
|
X |
X | ||
|
X |
X |
X | |
|
X |
|||
Note: The fields filled with X satisfy the prerequisites.
Explanation of above table:
The FUNCTION field in P and the key fields must be marked as mandatory fields. All the other fields you can chose whether to label them as mandatory. Mandatory fields cannot be reduced. Non-mandatory fields are reduced by setting the field values and the corresponding checkbox to EMPTY.
If the hierarchy is maintained and, if dependent tables exist in the hierarchy, records of the dependent tables will also be filtered.
7. A multiple-line, unstructured parameter can only be fully filtered and cannot be used in a hierarchy.
Parameter filtering is not allowed.
8. Multiple-line, unstructured parameters with a checkbox cannot be filtered.