SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Declarations → Declaration Statements → Classes and Interfaces → Components in Classes and Interfaces →Events
Events are declared using the statements EVENTS and CLASS-EVENTS, which are possible only in the declaration part of classes and interfaces. Declaring an event in a class means that the methods of the class trigger the event and can therefore cause execution of event handlers. In the declaration, you can define output parameters for an event, for which actual parameters are transferred to the event handler when the event is executed.
The statement EVENTS declares instance events. Instance events are linked to objects. They can only be triggered in instance methods of the same class.
The statement CLASS-EVENTS declares static events. Static events are not linked to objects. They can be triggered in all methods of the same class.