SAP CL ABAP BEHAVIOR EVENT HANDLER



Get Example source ABAP code based on a different SAP table
  


• CL_ABAP_BEHAVIOR_EVENT_HANDLER ABAP_CLASS

CL_ABAP_BEHAVIOR_EVENT_HANDLER

ABAP_SYNTAX
CLASS lhe_event DEFINITION
INHERITING FROM CL_ABAP_BEHAVIOR_EVENT_HANDLER $[ ABSTRACT$] $[FINAL$].
PRIVATE SECTION.

event_handler_method_definitions
...

ENDCLASS.

CLASS lhe_event IMPLEMENTATION

event_handler_method_declarations
...

ENDCLASS.

What does it do?
A local class that inherits from CL_ABAP_BEHAVIOR_EVENT_HANDLER can be implemented in the CCIMP include of a RAP event handler class to locally consume RAP business events. The events are handled by RAP event handler methods that are defined ( event_handler_method_definitions ) and implemented ( event_handler_method_declarations) in this local class.
The local class is implicitly ABSTRACT and FINAL. Therefore, ABSTRACT and FINAL may or may not be specified.

ABAP_EXAMPLE_ABEXA
The example Local Consumption of RAP Business Events demonstrates the use of a RAP event handler class.
ABAP_EXAMPLE_END