
Defining and Assigning Filter Object Types
Filter object types are already assigned to some BAPIs in your applications for the receiver and data filtering.You can also define your own filter object types and assign them to a BAPI or to a parameter of a BAPI.
Process Flow
To define filter object types for BAPIs, follow the steps below:
From the SAP menu choose Tools ® ALE ® ALE Development ® BAPIs.
You can create filter object types in Data filtering or Receiver Determination.
Then choose Define filter object type (Transaction BD95, table TBD11).
Give the filter object type a name and specify a reference to a table field. The reference to a table field is needed to retrieve the documentation from the data element so that customers can get input help when maintaining the distribution model. For this reason a foreign key must be maintained for the table field.
Use the following conventions to name filter object types:
For the required data object check whether a name has already been entered in the domain and default field names of the data element. If the fields are empty, a new filter object must be created. Usually the filter object will also appear in the BAPI interface as a field in the transfer structure, for example,
If this is the case create the filter object as follows:
ALE object type: Field name in BAPI structure, for example,
comp_codeFrom the SAP menu choose Tools ® ALE ® ALE Development ® BAPI Interface.
You can assign filter object types to a BAPI in Data filtering or Receiver Determination.
The filter object types allowed for an object method are maintained in each view of Table TBD16.
Choose Assign filter object type to BAPI.
You can maintain the entries:
Object type (from table TOJTB),
Method,
Filter object type (from table TBD11)
Keep in mind that for receiver determination you have to implement a business add-in f to determine values for the filter object type you have defined (see
Choose Assign filter object type to parameter.
You can maintain the entries:
Object type (from Table TOJTB),
Method,
Filter object type (from Table TBD11)
Parameter
Field name
Enter the required data to assign a filter object to an object method for the receiver determination or parameter filtering.