Maintenance of Reference to Object Method 

Use

You define the activity to be executed with a single-step task by specifying an object type method.

Activities

You determine the reference to the object method on the tab page Basic data by specifying object type and method . The object type must be activated and defined with the method in the Business Object Builder.

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

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 further information, refer to Binding Definition from Method Container and Binding Definitions from Task Container.

If the task is executed as a form task for SAPforms, you can specify a method as an alternative. You enter this method on the tab page Alternative methods in the line Form task. The alternative method must have the same interface as the method entered on the tab page Basic data.

The alternative method ProcessExternally should be entered for form tasks that use the method Process . The alternative method is used if the execution is not started form the Business Workplace in SAP GUI for Windows.

The alternative method entry is deleted automatically is you enter another method on the tab page Basic data.

The specifications in the lines WEB METHOD and MASS PROCESSING (IN R/3) are not currently evaluated.

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.

Constraints

For technical reasons, the workflow system can only process method parameters created with a data type reference to a structure or a table under the following circumstances:

If a method is used in a single-step task with parameters, the system checks whether the method parameters meet the requirements formulated above in the single-step task definition. If this is not the case, you cannot define the single-step task.