Start of Content Area

Background documentation Implementing a Filter-Dependent Business Add-In

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:

Germany:
translate parameter to upper case.

Ireland:
translate parameter to lower case.

Italy:
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 extendable filter types are concerned, it is also possible to edit short texts.

 

 

End of Content Area