Workflow Toolbox 
SAP Business Workflow's Workflow Toolbox enables the user to access workflow functions even during a workflow-driven application transaction.
The following functions are now also available during method execution:
Display work item text
Display task description
Availability of attachments and objects as links
Create, display, change, or delete attachments
Display possible agents
Display workflow log
Forward
Resubmit
Send mail
The toolbox can be activated easily from the application side in your dialog transactions. All the functions of the toolbox are contained in class CL_WAPI_WF_TOOLBOX.
Example
The workflow Demo for WI execution with WF toolbox (WS70000651) can be started by any user with transaction SWUI_DEMO, and generates work items in the Business Workplace. For more information, see Demo and Test Workflows.
The class CL_WAPI_WF_TOOLBOX contains all the functions of the Workflow Toolbox. An instance of this class is created directly before the CALL SCREEN of the application screen. This instance provides all the GUI objects it requires and manages them as well.
The Workflow Toolbox uses the work item preview in the Business Workplace to display work item text, task description and links to attachments and other objects.
The first tab page of the ActiveX version of the workflow log is used again to display the workflows already processed.
If the toolbox is used in its simplest mode C_MODE_INPLACE_WITHOUT_INFO, it requires a custom container of approximately 1 x 4 cm on the screen.
The work item preview and workflow log are displayed in a separate new screen (modeless). A pushbutton is available to the user for this.
If the toolbox is used in mode C_MODE_INPLACE_WITH_INFO, it is displayed in two parts on the screen: The toolbar is displayed above the preview initially. The user can switch between preview and log in the lower part.
If the toolbox is used in mode C_MODE_MODELESS, it is displayed in two parts in a modeless window: The toolbar is displayed above the preview initially. The user can switch between preview and log in the lower part.
If the toolbox is used in mode C_MODE_INPLACE_BUTTON_ONLY, it requires a custom container of at least 1 x 1 cm on the screen, depending on whether just an icon or an icon with text is to be displayed.
The toolbox opens a modeless window to display work item preview and workflow log when the user chooses the relevant menu option.