ABAP Keyword Documentation → ABAP - Short Reference
SET HANDLER - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
SET HANDLER handler1 handler2 ...
[FOR oref|{ALL INSTANCES}]
[ACTIVATION act].
Effect
Registers event handlershandler1, handler2, ... for events of classes.
Additions
-
Specification of handler methods
handler1,handler2,...:
meth- List of methods of own class.oref->meth- List of methods of referenced objects.
class=>meth- List of static methods of specified classes. -
FOR { oref | {ALL INSTANCES} }
Registers instance event handlers for an object referenced viaorefor for all objects that can trigger the event. -
ACTIVATION act
Specification of registration or deregistration inact.