‎2007 Nov 05 8:56 AM
Hi,
If we want to sort a table without mentioning any sort condition then, will the table be sorted by
1. only non numeric keys
2. only numeric keys
3. no such restiction it can be both.
Please also try to expain the concept.
Regards
‎2007 Nov 05 8:59 AM
Hi
This statement sorts an internal table itab. As standard, numeric and byte-type components are sorted by their value and character-type components according to their binary representation code page). Textual sorting of character-type components is performed using the addition AS TEXT.
If no explicit sort key is entered using the BY addition, the internal table itab is sorted according to the table key. In this case, the table key can contain a maximum of 250 components. The priority of the sort is based on the order in which the die key field are specified in the table definition. In standard keys, the sort is prioritized according to the order of the key fields in the line type of the table.
Regards
Yossi
‎2007 Nov 05 8:59 AM
Hi
This statement sorts an internal table itab. As standard, numeric and byte-type components are sorted by their value and character-type components according to their binary representation code page). Textual sorting of character-type components is performed using the addition AS TEXT.
If no explicit sort key is entered using the BY addition, the internal table itab is sorted according to the table key. In this case, the table key can contain a maximum of 250 components. The priority of the sort is based on the order in which the die key field are specified in the table definition. In standard keys, the sort is prioritized according to the order of the key fields in the line type of the table.
Regards
Yossi