Unit 4: Flexible Event Creation 
Use
You want to establish a relationship between the status change of an object (here: release of a production order) and the subsequent reaction (here: start a workflow).
Before you define the workflow, you must make sure that an event is created if the status REL is set for the status object type ORH.
However, you must first ensure that an event is really created when the status REL is set for the object type ORH, that is, when the status change has taken effect on the object.
Prerequisites
You have defined the
released1 event as an enhancement of the object type Z ini_2005 . This object type was, in turn, created as a sub-type of the SAP object type BUS2005 , as it is otherwise not possible to make changes to object types delivered by SAP.This is the precondition for generating this event and using it as a triggering event.
Procedure
Event Creation During Status Change
The event
released1 should be generated if the status REL is set.The Event creation status management dialog box appears.
The View "Display Events for Status/User Status": Initial Screen is displayed.
StatusOT:
ORHBusinessOT
: Zini_2005Event
: released1
The entry
I0002 is the internal representation of the status REL. You can also use the F4 possible entries pushbutton to select the status REL.Test the Event Creation
Test whether the events are created successfully.
The screen Display Event Trace is displayed.
The list contains the object type you created with the created event. No receiver is entered here.