Role Container 

Use

The role container contains a role’s parameters. Each role has just one role container. At runtime, the role parameters contain the current, context-specific information that forms the basis of role resolution. Therefore, the role parameters constitute "input" for role resolution.

The role parameters are provided with values from the workflow container via binding.

Features

Depending on the role resolution procedure, the role container includes the following information:

Role resolution procedure

 

Based on responsibilities

The role container includes object references or field values (with names as required) that must be provided with values from the calling component via binding.

Including organizational data

The role container only includes the Org_Object_ID element. This element is defined with a reference to the SAP organizational object whose assigned agents must be determined.

The role container is created automatically, and is not visible during role definition.

By executing a function module

The role container includes object references or field values as required (with names as required) that are read by the function module for role resolution and processed accordingly.

Prior to role resolution, the container elements are provided with values from the task container via binding.

Based on evaluation paths

The role container includes the following elements:

  • OType , data type reference OBJEC-OTYPE

Type of object in Organizational Management according to the first step in the evaluation path

  • ObjID , data type reference OBJEC-REALO

Identification of organizational object.

  • Org_Agent , data type reference WFSYST - AGENT

C14 field as combination of organizational object type and organizational object.

When defining the role, create either the first two elements, or the last element, as role parameters in the container.

 

Activities

You maintain the role container on the Container tab page when maintaining the roles.