!https://manula.r.sizr.io/large/user/3588/img/bwc-wi-exit.png!This enhancement is critical to ensuring that Workflow steps, typically Work Items, that are intended to be published in the BWC invoke the necessary logic to update the appropriate entries in the /BTI/MDE_BWC_WRH and /BTI/MDE_BWC_FWD tables.
As standard BTI provides the logic for this enhancement and cannot guarantee the continued functionality of the Dynamic Work Centre should the logic provided be deactivated or adjusted by non-BTI developers.
The BAdI consists of a single Method discussed here:
Essentially this BAdI seeks to implement a SAP standard Interface Method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED that can be activated directly from the Workflow Builder (Transaction SWDD) for any Workflow definition as shown:
To make use of the BAdI for a particular Work Item step simply add the Implementing Class Name ZCL_BWC_WORKITEM_EXIT and the code will be invoked automatically.
Method Type Description
IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED Plug-In Work Item Event Raised catcher