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 or deregisters event
handlers handler1
, handler2
, ... for events of classes.
Additions
-
Specifies the handler methods
handler1
,handler2
,...: :
meth
- List of methods of the same 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 usingoref
or for all objects that can trigger the event. -
ACTIVATION act
Specifies a registration or deregistration inact
.