We need to follow below steps when working with events in Object Oriented ABAP
  • Define an event
  • Define a method
  • Link event and method and convert the method into event-handler method
  • Create a triggering method which will raise the event
  • Use set handler and register event handler method to a particular instance in the program
Working with events in Object Oriented ABAP
Working with events in local classes