Entering content frameBackground documentation Workflow Toolbox Locate the document in its SAP Library structure

Use

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 available even during method execution:

The toolbox is easy to activate from the application side in its 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. The toolbox demonstrates the execution of these work items in its various forms. For further information, refer to Demo and Test Workflows.

Features

Class CL_WAPI_WF_TOOLBOX

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.

Reusing worklist client functionality

Work item preview

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.

Workflow log

The first tab page of the ActiveX version of the workflow log is used again to display the workflows already processed.

Various Workflow Toolbox modes

Toolbar only (embedded)

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.

Toolbar and information (embedded)

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.

Toolbar and information (modeless)

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.

Menu button only (embedded)

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.

Leaving content frame