‎2008 Aug 01 7:05 AM
hi,
i have a alphanumeric field of length 3. In 4.6c sytem when i SORT my internal table i used to get first characters and then numeric values Eg. A12,B21,123,234. But in my ECC6.0 system when i SORT my internal table i get numeric values first and then characters Eg. 123,234,A12,B21.
I want to retain the same functionality as in 4.6c system for my SORTING logic.
please advice..
‎2008 Aug 01 9:06 AM
Hi ,
Try using SORT by adding AS text
sort itab .... as text .
‎2008 Aug 01 3:42 PM
‎2008 Aug 01 4:06 PM
Try using STABLE addition.
SORT ITAB STABLE.
Regards,
Naimesh Patel
‎2008 Aug 01 4:04 PM
Try to sort the field with DESCENDING addition...and see what happens...
Regards,
JOy.
‎2008 Aug 04 4:13 AM
Joyjit Ghosh ,
the descending addition gives me the output in the sequence B21,A12,234,123.