CLASS-EVENTS evt [EXPORTING parameters] .
This statement declares a static event
evt in a class or interface. The
Naming conventions apply to the name
The static event
evt can be triggered in all methods of the same class, or
a class that implements the interface, and in the methods of subclasses - if it is visible there - using the
RAISE EVENT statement.
An event handler for which a subclass is declared for a static event, which is inherited from a superclass, can only react to this if the event is triggered by a method of the subclass or one of its subclasses. If the event is triggered in a static method of a superclass, it is not handled, even if the method is called in a subclass or if the name of the subclass is specified.
... EXPORTING parameters
EXPORTING addition defines the parameter interface of the event
evt. The syntax and meaning of the
parameters additions correspond with definition of instance events using the
Static events have no implicit formal parameter