ABAP Keyword Documentation → ABAP − Reference → Declarations → Declaration Statements → Classes and Interfaces → ABAP Objects - Overview → Inheritance
Inheritance and Events
Once declared in a superclass, an event is known in all subclasses of the inheritance tree in which it is visible, and can be raised in the methods there.
An event handler can be declared with reference to all classes of the inheritance tree in which the event is visible for the event handler. However, it can only handle events raised in classes that are more specific than or equal to the class for which it is declared. If the event is raised in a method of a superclass of the class for which an event handler is declared, it cannot handle it.
Note the latter especially when raising static events in static methods, since a static method is always executed in the class in which it was declared (also refer to Inheritance and Static Components).
Other versions: 7.31 | 7.40 | 7.54
Note
In the case of event handlers for events declared in interfaces, the above also applies to the class in which the interface is included.