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:
/BTI/MDE_IF_ACTION_PROCESSOR~PROCESS_ACTION
/BTI/MDE_IF_WR_CORE~RETRIEVE_WORK_REQUESTS
/BTI/MDE_IF_WR_CORE~RETRIEVE_WORK_REQUESTS_HIST
/BTI/MDE_IF_WR_REPORT~RETRIEVE_ALL
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:
ACTION_x
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:
/BTI/MDE_C_ACT
/BTI/MDE_C_EXACT
Post your comment on this topic.