ALV OM: Sorting of numeric columns
[ADD_SORT] [ALV] [CL_SALV_SORT] [CL_SALV_SORTS] [CL_SALV_TABLE] [columns] [cow sorting] [Dump] [Full] [grid] [list] [model] [numeric] [object] [OM] [screen] [SET_GROUP] [SET_OBLIGATORY] [SET_SEQUENCE] [SET_SUBTOTAL] [sorting]
Symptom
If you use the method ADD_SORT of the class CL_SALV_SORTS to transfer a numeric field as a sort criterion, the runtime error cx_salv_data_error may occur.
Other terms
Object model, OM, ALV Grid, ALV list, full screen
Dump
CL_SALV_TABLE,
CL_SALV_SORTS, ADD_SORT
CL_SALV_SORT, SET_GROUP, SET_OBLIGATORY, SET_SEQUENCE, SET_SUBTOTAL
Sorting
Reason and Prerequisites
The initial values were ignored.
Solution
Implement the source code corrections in accordance with the correction [...]