Function | Sorts a folder (table of /s10/any objects) | ||||||||||||
Example | s10sort(   columns = "kunnr,name1"   foldername = "mycustomers" ). | ||||||||||||
Format |
data: mycolumns type string, myfoldername type string. s10sort( exporting   columns = mycolumns   foldername = myfoldername ). |
||||||||||||
Parameters |
|
||||||||||||
Description |
The specified folder is re-sorted according to the specified columns. If you
append a minus sign to the column name, the sorting is done in descending
order, otherwise in ascending order. Before the sorting, the build method of the table is called, and with s10buildcolumns() the build methods for the specified columns are called. If userformat = 'X', columns that have an SAP conversion exit are sorted according to the external format, not the internal format. For example, the language key '1' for Chinese is sorted to the end because it is output as 'ZH'. |
||||||||||||
Components | S10 Framework |