Defining Rules Using Organizational Data

Use

An application object (business object) is often related to particular users in the system (such as MRP controller, laboratory, sales group, purchasing organization, or planner group) by virtue of its master data. The SAP system uses Organizational Object Types to depict this relationship. These are object types from the Business Object Repository for which the Organizational Type flag is set.

The corresponding business object type must have an attribute that refers to this organizational object type. The organizational object type also has an attribute that refers to Organizational Management Objects.

In this rule category, the system evaluates this dependency to determine the responsible agents for a business object. Concrete Organizational Management objects (for example, positions or organizational units) must be assigned to the organizational object.

Rule resolution returns one or several Organizational Management objects as a result.

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

This task should be performed by an employee in the Laboratory/Design Office that is stored in the material master data. SAP delivers the rule LABOR as an example of a rule for agent determination using SAP Organizational Objects. For more information, see Rule to Determine Laboratory/Design Office.

Procedure

  1. If no suitable SAP organizational object exists, create one.

    For more information, see Creating SAP Organizational Object Types.

  2. Create a relationship between Organizational Management objects and the SAP organizational objects.

    This step must always be performed because you set up Organizational Management objects in a specific way for your enterprise. For more information, see Creating and Editing SAP Organizational Object Assignments.

  3. Define the rule for evaluating this relationship. Do this as follows: on the Rule: Create or Rule: Change screen, enter under Rule category Organizational data and under Org. Object Type enter the SAP organizational object type whose relationship you want to evaluate with this rule.

The corresponding rule container is automatically generated, and contains only the container element Org_Object_ID. At runtime, this container element must contain the object reference to the organizational object whose relationship is to be evaluated.

Result

The rule for agent determination that you created is complete and can be used in SAP Business Workflow. When using this rule, you must define binding from the workflow or task container to the rule container. For further information, see Binding Definitions from Workflow Container and Binding Definitions from Task Container.

For an example of this kind of rule, see the Rule to Determine Design Office.