Skip to content

ABAP Keyword Documentation →  ABAP - Quick Reference 

SET HANDLER - Quick reference

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 using oref or for all objects that can raise the event.
  • ACTIVATION act
    Specifies a registration or deregistration in act.