Show TOC

Maintenance of Reference to Object MethodLocate this document in the navigation structure

Use

You define the activity that is executed with a task by specifying the required object type category, object type, and required method on the Basic data tab page.

Object Type Categories

You can use object types from the following object type categories:

  • BOR object type

    The required object type and relevant methods must be defined and activated in the Business Object Builder.

  • ABAP class

    ABAP classes that implement the interface IF_WORKFLOW can be used in workflows (see also: Interface IF_WORKFLOW).

BOR object type

The system takes the following from the definition of the object method, as applicable:

  • Synchronous object method

  • Object method with dialog

You cannot change these.

If method parameters are defined for the object method, the system gives you the option of creating relevant container elements automatically in the task container. The names of these container elements are then identical in the task container and the method container. You should make use of this option.

For more information, see Binding Definition from Method Container and Binding Definitions from Task Container.

Navigation

By double-clicking on the object type ID or method ID entered, you can go to the relevant object type in the Business Object Builder and process it.

Caution

For technical reasons, the workflow system can only process method parameters when using the persistence profiles structure persistence or compatibility mode that were created with a data type reference to a structure or a table under the following circumstances:

  • The total length of all fields of the table or the structure does not exceed 255 characters.

  • Only alphanumeric data types are used in the fields of the table or structure.

ABAP Classes

For more information about using ABAP classes in workflows, see ABAP Classes in Workflow and ABAP Classes in Process Steps.