Creating a Container Definition 

Prerequisites

A container definition informs the system about the data type processed by the workflow.

You must decide whether you want to create a container definition that references table fields or object types. When the container definition references object types, you use values in the key fields of objects to restrict the list of possible agents. When the container definition references Data Dictionary fields, you can use specific data such as the amount of an order or the customer name on an invoice to restrict the list of possible agents.

To call the transaction for processing roles, access the SAP menu and choose Tools ® Business Workflow ® Development ® Definition tools ® Standard roles ® Create.

The Maintain Standard Role screen appears.

Creating a Container Definition with Table Fields

  1. Choose Create.
  2. The Standard Role: Create screen appears.

  3. Enter a name for your standard role in the Basic Data box.
  4. Select the role type Responsibilities.
  5. Choose Container Definition.in the Role Definition box.
  6. The Standard Role: Process Container screen appears.

  7. Choose Create.
  8. The Create Element dialog box appears.

  9. If you want to use Data Dictionary fields, choose Yes.
  10. The Create with Data Dictionary Field Defaults dialog box appears.

  11. Specify the table from which you want to select fields and Choose Continue.
  12. The table appears.

  13. Select the fields that you want to appear in the container definition and confirm your entries by choosing Continue.
  14. The system prompts you to create the texts for the container elements in the Create dialog box.

  15. On the Standard Role: Process Container screen, double-click the container element.
  16. The Element <.....> dialog box appears. If you select the required indicator, an error will occur in the workflow if no binding has been defined for the element. If you select the multiple lines indicator, you can specify multiple values for one container element. You can select both indicators. Choose Continue.

  17. Choose Back.

The Standard Role: Create screen appears.

Creating a Container Definition with Object Types

Carry out steps 1 to 5, and then proceed as follows:

  1. If you want to use object types, choose No.
  2. The Standard Role: Process Container screen appears.

  3. Enter a name for the element. If you select the required indicator, an error will occur in the workflow if no binding has been defined for the element. If you select the multiple lines indicator, you can specify multiple values for one container element. You can select both indicators..
  4. Select the object type you want to reference, and choose Continue.
  5. The Standard Role: Process Container screen appears.

  6. Choose Back.

The Standard Role: Create screen appears.

Result

You have created a container definition with either Data Dictionary fields or object types as elements. You use these elements to define the criteria for role resolution.