The call sequence for implementations for a Business Add-In can be specified as a filter type using a data element with fixed values or a value table. In the default code of the Business Add-In, the execution of a static method ensures that an implementation is called.
Proceed as follows:
...
1. Create a data element with fixed values or a value table.
2. Define a Business Add-In that does not have multiple use. Assign the data element to this Business Add-In as a filter type or a structure.
3. Assign a static method with the following content to the default code of the Business Add-In:
4. Program the call for the Business Add-In from the application program:
The parameter flt_val is passed during the static method call with the highest fixed value (in this case, value 4). In the case of example described here, the customer’s implementation is executed first. If there is no customer implementation, the implementation with the next smaller value (in this case, value 3) is run. Here, this is the partner’s implementation. If this implementation is not available in active form, the implementation with the filter value Industry Solution is executed, and so on.