Code: Alles auswählen.
DATA list_tree TYPE REF TO cl_gui_list_tree.
DATA hierarchy_header TYPE treev_hhdr.
DATA list_header type treev_lhdr.
hierarchy_header-heading = 'Title'.
hierarchy_header-width = 30.
list_header-heading = 'List heading'.
CREATE OBJECT list_tree
EXPORTING parent = container
node_selection_mode = node_selection_mode
item_selection = item_selection
with_headers = with_headers
hierarchy_header = hierarchy_header
list_header = list_header
EXCEPTIONS lifetime_error = 1
cntl_system_error = 2
create_error = 3
illegal_node_selection_mode = 4
failed = 5.