2012 Sep 10 4:38 PM
Guys, I need your help for sort this list in ABAP , I have the following set of data
10000
10010
1000
100
10
1
1001
100
10
1
What I really need is :
10000
1000
100
10
1
10010
1001
100
10
1
The problem is if I use Sort I got this :
1
1
10
10
100
100
1000
10000
1001
10010
Which is not very useful , any advice to solve this with ABAP ? Thank you very much for your help.
2012 Sep 10 4:46 PM
Hi
Perhaps you need an additional field for sorting, are they binary numbers?
Max
2012 Sep 10 4:53 PM
Hi Max, thanks ... they are not binary numbers , they are sets from table setnode.
2012 Sep 10 5:24 PM
Hi
So I think you need to use an additional field for sorting, but it depends on the logic you need for sorting
Max
2012 Sep 10 5:24 PM
Hi sir
Use sort by descending order
http://help.sap.com/saphelp_470/helpdata/en/fc/eb3800358411d1829f0000e829fbfe/content.htm