Show TOC

Binding Definitions from Event ContainerLocate this document in the navigation structure

Use

You can define bindings from the event container to the following containers:

  • Task container

  • Workflow container

The event may contain information that you want to use in the workflow. If so, you must read this information from the event container for the event. In order for the information that is transported as event parameters in the container for this event to reach the workflow, you can define the binding from the event container to the workflow container in the wait step.

Features

Binding definition to workflow container

This binding can be defined at the following places:

  • In the definition of the multistep task on the tab page Triggering events

  • In the Workflow Builder in the basic data of the workflow on the tab page Start

  • In the Workflow Builder in the step definition of a wait step on the tab page Control

This binding enables you to transfer event parameters of a triggering event or an event for which the workflow waits during execution into the workflow.

Note

You can only use import elements of the workflow container in a binding definition from event parameters of a triggering event to elements of the workflow container.

Binding definition to task container

This binding can be defined in the definition of the task on the tab page Triggering events.

Activities

Assigning the object reference for triggering events

If you want to use the reference to the object whose status change the event reports in the task or workflow, you must assign this reference to an element of the task container or the workflow container.

The object reference is located in the event container under the element ID _Evt_Object.

  • In the task container, the reference to the object to be processed must always be located in the element _WI_Object_ID.

  • There is no standard element for the object reference in the workflow container. You define this element in the workflow container with a data type reference to the relevant object type and assign it the value of the element _Evt_Object from the event container in the binding definition.

Assigning the event creator for triggering events

If you want to use the information about the user under whose responsibility the event was created in the task or workflow, you must assign this information to an element in the task container or workflow container.

The user name of the user in whose application the event was created is located in the event container under the element ID _Evt_Creator.

  • There is no standard element for this information in the task container. If applicable, you define this element in the task container with a data type reference to the ABAP Dictionary field WFSYST-AGENT and assign it the value of the element _Evt_Creator from the event container in the binding definition.

  • The element _WF_Initiator in the workflow container is for this information. In the binding definition, you assign this element the value of the element _Evt_Creator from the event container.

For more information, see Operation of the Binding Editor.