
Maintenance of Tab Page Programmer Exits
Use
On this tab page you add ABAP classes that are to be executed at the defined times.

The ABAP classes used here must not contain the following elements:
System elements in the container may not be changed. For performance reasons, SAP recommends that you only execute database selections that are totally necessary.
Features
The ABAP classes that you can enter here have to support specific interfaces. The classes are executed in the order specified.
The ABAP classes are executed at different times depending on the interface supported.
The method
WF_CONSTRUCTOR is executed before the workflow execution from an ABAP class that supports the interface IF_SWF_IFS_WF_CONSTRUCTOR.The method
WF_DESTRUCTOR is executed from an ABAP class that supports the interface IF_SWF_IFS_WF_DESTRUCTOR. This method is executed as soon as the corresponding workflow work item is set to status completed or logically deleted.The method
EVENT_RAISED is executed from an ABAP class that supports the interface IF_SWF_IFS_WORKITEM_EXIT. This method is executed as soon as the relevant workflow work item performs a status change that is defined in the interface.
To work with the container in an ABAP class, you have to include the include files
Example
An example of an ABAP class that supports the interface
IF_SWF_IFS_WORKITEM_EXIT is the class CL_SWH_WORKITEM_EXIT.An example of an ABAP class that serves as both the constructor and the destructor is the class
CL_SWF_IFS_WF_EXITS. This ABAP class supports the interfaces IF_SWF_IFS_WF_CONSTRUCTOR and IF_SWF_IFS_WF_DESTRUCTOR.A process info system is created for the SAP workflow Process notification of absence (
AF_APPROVE, WS30000015) using the programmer exit.You can call the process information system by choosing Tools
® Business Workflow ® Development ® Demo ® Work Item Exits ® Process Info System.