
Sorting in Lists (SD)
Use
You can use a sort function to process the lists that are not managed by the ABAP List Viewer. The sort key appears in the Sort field at the top right of the screen. Depending on where you place the cursor, you can use the sort function in several ways.
Procedure
Cursor in the command line
A dialog box appears.
If you do not select the Descending field, the system will automatically sort in ascending order.
If you select the With totals field, the system will display a subtotal with each group change. A group change occurs when the sorting field’s contents change between two display lines.
The list is sorted according to the criteria you have entered.
Cursor is in a column or on a field in the header
The documents in the selected column are sorted in ascending order. If, for example, you place the cursor on the Doc. date column, the documents are sorted by date in ascending order.