Ansicht
Dokumentation
ABAPCLASS-METHODS_EVENT_HANDLER - CLASS-METHODS EVENT HANDLER
CPI1466 during Backup Addresses (Business Address Services)This documentation is copyright by SAP AG.
CLASS-METHODS, FOR EVENT
CLASS-METHODS meth $[DEFAULT IGNORE$|FAIL$]
FOR EVENT evt OF ${class$|intf$}
$[IMPORTING p1 p2 ...$[sender$]$].
Effect
This statement declares the static method meth as the event handler for the event evt of the class class or the interface intf. The syntax and meaning of the additions are identical to the declaration of instance methods as event handlers.
Static event handlers can be called by the event evt independently of an instance of the class.
Example
The class dialog_box defines a static event handler close_box for the event that is raised when the user wants to close a
Control Frameworks (CFW) dialog box.
General Data in Customer Master ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 1552 Date: 20240419 Time: 161034 sap01-206 ( 23 ms )