Implementing a Filter-Dependent Classic BAdI

If you want to use a filter-dependent Business Add-In, you will need an implementation for each filter value that is relevant for you. Multiple filter values may use the same implementation, however.

To implement a filter-dependent BAdI, proceed as follows:


       1.      Create an implementation by referring to the corresponding Business Add-In definition.

       2.      Enter a characteristic filter value for the implementation, or choose F4 and select a value from the list of possible entries displayed. In principle, it is possible to define multiple characteristic filter values for each implementation.

       3.      Use the Class Editor to fill the interface method.

In the string conversion example, you would make the following entries for each country:

translate parameter to upper case.

translate parameter to lower case.

translate ...

       4.      Repeat steps 1-3 for each implementation that you create.

       5.      Activate your implementations.

Whenever you execute the program described above, different country-specific implementations are executed.

You can specify generic filter values for the implementation of a BAdI. You can use the asterisk symbol to represent any part of a filter value. A generic filter value can be replaced by different values that may be found in the database.

You can display and hide short texts for filter values by double-clicking the corresponding column.

As far as extendible filter types are concerned, it is also possible to edit short texts.