
Creation of Event Parameters With Event Creation
Use
The system adds the old and new values of all changed fields to the event container of the event created. These values can then be read and evaluated in the workflow started by the event in order to influence the process flow of this workflow.
Prerequisites
Writing values into the event container
In order for the system to write the old and new values of a changed field into the event container, this field must be defined as a
database field attribute for the object type in the Business Object Builder.Using values in the binding
In order for you to define a binding from the event container to the workflow container, the relevant fields must be defined as multiline
event parameters for the event in the Business Object Builder.Features
After a change document has been written and the system has recognized from the assignment table that an event of a particular object type is to be created for it, the system checks whether the changed fields are defined as database field attributes of this object type. If this is the case, the changed value and the new value are written under the name of the attribute as a two-line element into the event container. (New value with index
0001 , old value with index 0002 .)
The values are put into the container as described even if they are not defined as event parameters. The definition as event parameters is required so that you can access it in a binding definition.
Activities
If you want to use the function of additional event parameters with event creation, you must proceed as follows:
For further information, refer to
For further information, refer to

You can have the event container sent to you as a mail in order to check its contents. To do this, you must enter a function module as event receiver, which converts the container content into a mail and sends it. Create a type linkage with the following values:
For further information, refer to
Example
You have created a subtype for the object type
BUS1007 ( customer). You have added the following components to this subtype:The container of the event created when a customer’s address changes (relocation from Trier to Cologne) has not only the
standard system elements but also the following multiline elements, each of which has a two-line value.Element |
Value |
Index |
PostalCode |
50999 |
0001 |
City |
Cologne |
0001 |
District |
Rodenkirchen |
0001 |