Code: Alles auswählen.
DATA: it_item_layout TYPE lvc_t_layi,
wa_item_layout TYPE LINE OF lvc_t_layi.
wa_item_layout-fieldname = '<FELDNAME>'.
wa_item_layout-style = '6'. " zB grün
APPEND wa_item_layout TO it_item_layout.
.
.
.
.
CALL METHOD g_ref_tree->add_node
EXPORTING
it_item_layout = it_item_layout
.
.
.
.