Definition of Events for Object Types (BOR) 
You define events for a BOR object type, if a status change in an object of this type is to be published across the system. Potential event receivers can then react to this event.
You use an event in a workflow under the following circumstances:
In a task definition or in the version-independent basic data of a workflow as a triggering event
The workflow or task is started when the event is triggered.
In a task definition as a terminating event
The task is terminated when the event is triggered.
In the version-dependent basic data for a workflow
For more information, see Version-Dependent Basic Data of a Workflow.
In a workflow definition for steps of the types Event creator and Wait for event.
The event is triggered (event creator) or the workflow is continued when the event is triggered (wait for event).
Note
The event is not normally triggered in the implementation program, but instead by an event creation. You can use the function modules SWE_EVENT_CREATE or SAP_WAPI_CREATE_EVENT to trigger an event.
Events are published without the creating application knowing whether a receiver reacts to them. The workflow system creates type linkages or instance linkages for potential receivers in the SAP Business Workflow environment. These are evaluated by the event manager. For more information, see Using Events.
Every event has an event container that contains data about the context of its creation. The data is passed to the task or workflow using a binding. For more information, see Binding Definitions from Event Container.
Before creating a new event, check whether the event is already defined in an interface. If so, include this interface in the definition of your object type.
To create an event, position the cursor on the name Events (blue background), and select
.
Assign an event instance, a name and a short description. Keep in mind the rules for naming object type components.
Note
The workflow system does not differentiate between uppercase and lowercase for event instance IDs.
Set the indicator Triggering object does not exist if the object has been deleted.
The workflow system elements are in the event container as standard. If the event container is to contain other container elements, you must define parameters for this event. For more information, see Definition of Event Parameters.