The event concept
Events in ABAP are characterized by occurring at a specified point of time. An event can be executed, for, example when we create a new account or post a document, and, if the event includes changing the status of an object, another interested object will be informed of the situation.
To every event, we can assign a method, which will be called when the event is raised. We can also assign the same event handler to a different object and, thanks to that, the object will be able to react when an event is raised. In contrast to methods that affect only the process in which they are called, an event can cause any number of event handlers to be called globally.
If several event handlers are registered for one event, these are called in the sequence in which they were registered. An event can also have output parameters, which are defined using the normal method. Event handlers can also be called directly. This is helpful when you want an event handler to handle an event without...