You create a list tree with reference to the class cl_gui_list_tree:
DATA list_tree TYPE REF TO cl_gui_list_tree.
According to the inheritance hierarchy, you can now access the methods of the following classes:
● cl_gui_object and cl_gui_control (see Methods of the Control Framework).
● cl_tree_control_base (see Methods of the class CL_TREE_CONTROL_BASE).
● cl_item_control_base (see Methods of the class CL_ITEM_TREE_CONTROL).
● cl_gui_list_tree (see Methods of Class CL_GUI_LIST_TREE).
The program saptlist_tree_control_demo demonstrates how to use the list tree.
For details of the attributes of the list tree, refer to the Overview of Tree Classes.