
Fields of the Sort Table
Definition
The sort table is an internal table of type
LVC_T_SORT .Use
You use the sort table to get the current sort criteria of the list or set these criteria dynamically (see
set_sort_criteria) or before the list is displayed for the first time (see
set_table_for_first_display).If you use the table in combination with method
get_subtotals, you can determine the subtotals values.
Structure
Field name |
Description |
SPOS |
Sort order if the list is sorted by multiple columns |
FIELDNAME |
Field name in the internal output table |
UP |
'X' = Sorted in ascending order |
DOWN |
'X' = Sorted in descending order |
SUBTOT |
'X' = Subtotal at group level change |
GROUP |
Once a column is sorted, it is subdivided into groups. This means there is one group for each value of the column (in the default setting, the ALV Grid Control merges cells that have the same value in the sort column). If the value in the sort colulmn changes, this is called a group level change. You can use this field to determine the formatting of this value when the list is printed: '* ' = Page break at group level change 'UL' = Underline at group level change (The formatting options are fixed domain values of domain SLIS_CTRLS ).See also the documentation for field GRPCHGEDIT in
The Print Structure. |