In addition to the standard work request classes supported by BDEx, custom classes can be added as required. Note that this is a complex job and should be done with the help of Basis Technologies.
The following steps can be used to create a new exception type.
1. Create a new subclass of /BTI/MDE_CL_WR_CORE
The interface /BTI/MDE_IF_ACTION_PROCESSOR will then be inherited. Additionally, interfaces /BTI/MDE_IF_WR_CORE and /BTI/MDE_IF_WR_REPORT should be implemented in the new class. These interfaces will provide the following inherited methods:
2. Define methods
At least the following methods will need to be redefined:
3. Configure the work request class
An entry should be added to /BTI/MDE_C_WRCLS
4. Define the actions
Create methods for the actions, using the following format:
These take an import parameter of X_ACTION, TYPE REF TO /BTI/MDE_CL_ACTION.
5. Add the actions to the config tables
Entries should be added in the following tables: