Defining Roles Using Organizational Data  

Use

A Business Object is often related with an organizational entity (such as MRP controller, laboratory, sales group, purchasing organization, or planner group) by virtue of its master data. From a technical perspective, organizational entities are represented by object types in the Business Object Repository. The indicator organizational type in their basic data defines such object types as SAP Organizational Objects. The attributes of an application object type can be defined with a data type reference to a SAP organizational object type.

These can be evaluated for role resolution purposes to locate the agent of a step. For this to function correctly, you must assign specific agents in the form of positions or organizational units from Organizational Management to the abstract SAP organizational objects. At runtime, these assignments are evaluated in a role resolution if the required input data is available.

The role resolution finds a valid organizational object from Organizational Management as output data.

There are some changes required to be made to material master data.

This task should be routed to employees in the Laboratory/Design Office stored in their material master data. SAP delivers the sample role LABOR from the SAP Organizational Objects for agent determination purposes. For more information, see Role to Determine a Design Office.

Someone should contact the supplier of a certain material.

This task should be routed to employees in the purchasing group stored in the material master data.

Procedure

Relationship Between Organizational Plan and SAP Organizational Objects

You have to set up a relationship between SAP Organizational Objects and the corresponding organizational units or positions in the organizational plan. This step must always be performed because the organizational plan is set up by each customer specific to the enterprise.

For more information, see Assign SAP Organizational Objects.

Definition of a Role for Evaluating this Relationship

You define a role according to a predefined schema that can evaluate the above relationship between the organizational plan and SAP Organizational Objects.. This step is only required if you cannot use any of the roles delivered in the standard system.

For more information, see Defining Roles.

Entering the Role for Specifying Responsibility

You enter the role as agent of an activity or a single-step task and maintain the role container binding.

For more information, see Defining Binding.

The single step task Material Master: Maintain Design Data should always be processed by the MRP controller responsible for the material.

Definition time: The role Determine laboratory/design office is specified as the role of the agent of the step Material Master: Maintain Design Data. The binding definition is &Material.Labor& (Workflow Container) -> ORG_OBJECT_ID (Role container).

Run time: The material H4 Lamp, for example, is processed by the task. When the material is known, the agent determined for the work item could be the user that has the role of MRP controller for this material.

Result

At runtime, the workflow determines what organizational objects have the actual values of the key fields of the SAP organizational objects assigned to them. These organizational objects become the agents for the work items.

For more information, see Agent as Attribute of SAP Organizational Object.