Creating SAP Organizational Object Types

Use

An SAP organizational object type describes the organizational unit that is responsible for a business object type. This organizational unit consists of objects from Organizational Management. The business object type must have an attribute that refers to an SAP organizational object type.

The following graphic shows how the SAP organizational object type is used when determining agents.

Prerequisites

The business object type exists in the Business Object Repository.

Procedure

  1. Create an object type with the Business Object Builder and define the object type as SAP organizational object type. For further information, see Business Object Builder and Editing the Basic Data of an Object Type.
  2. Support the interface IFSTROBJCT. Through this interface, this object type inherits the Agents attribute. This attribute returns the Organizational Management objects that are related to the SAP organizational object. No programming is necessary for the support.
  3. Add to the business object type an attribute that refers to your SAP organizational object type. For more information, see Extending and Adapting Object Types.

Result

You can use the SAP organizational object type you created to define an agent determination rule of the organizational data category.

When determining the responsible agent for a step in the context of a workflow definition, you can also use the following multi-level expression, which uses the SAP organizational object type.

&<BusinessObjekttyp>.<Organisationsobjekttyp>.Agents&

On the entry screen for Responsibility, select Container and enter &Material.Labor.Agents&.

This procedure means there is no need to define or use a corresponding rule.

When this step is performed, the following error situations can arise after the expression has been evaluated:

  • The responsible agent that is determined does not belong to the possible agents for the underlying task.

If this error occurs, nobody receives the work item.

  • The relationship between the organizational plan and organizational object (see above) is not maintained, or not maintained in full.

If this error occurs, the system addresses the work item to all possible agents.