Processing Events in the Tree Model
Use
Certain user actions on the tree control in the SAP Tree Model cause it to trigger events. You can catch and handle the events in your ABAP program.
Process
To react to an event from an SAP Tree Model instance, you must
-
Define and implement a method (usually in a local class) as a handler for the event
-
Register the event with the Control Framwork
-
Register the event handler using the SET HANDLER statement.
For a full description of how to process control events, refer to Registering and Processing Events.