SAP EVENTS ABEXA



Get Example source ABAP code based on a different SAP table
  


VX_EXA_ONLY

ABAP_OBJ - Events
This example demonstrates how events are raised and handled.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The user actions on a classic list raise events in ABAP Objects. The list and its data are implemented in a class list. User actions are processed by the class status, which raises an event button_clicked at AT USER-COMMAND time. The event is handled in the class list. The class list contains an object of the class ship or truck for each line of the list, which both implement the interface vehicle. If the speed of one of these objects changes, the event speed_change is raised, to which the class list responds by adapting the list output.