CL_SALV_SORTS — ABAP Class
Add and clear local sort specifications.
CL_SALV_SORTS
Add and clear local sort specifications.
ADD_SORT
Sort a column ascending or descending.
EXPORTING columnname TYPE STRING; sequence TYPE STRINGsorts->add_sort( columnname = 'CATEGORY' sequence = 'SORT_UP' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
REMOVE_SORT
Remove one sort specification.
EXPORTING columnname TYPE STRINGsorts->remove_sort( columnname = 'CATEGORY' ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.
CLEAR
Remove all sort specifications.
No parameterssorts->clear( ).Uses an initialized local SALV object; see ZED_EXAMPLE_SALV for a complete runnable setup. This is not a remote SAP GUI connection.