Code: Alles auswählen.
CLEAR ls_sort.
ls_sort-fieldname = 'ZFELDNAME'.
ls_sort-spos = '1'.
ls_sort-down = 'X'.
ls_sort-group = 'UL'.
ls_sort-subtot = 'X'.
APPEND ls_sort TO lt_sort.
Code: Alles auswählen.
ls_layout-totals_bef = 'X'.