07-04-2007 10:39 AM
Hi,
I would like to sort the field lt_var. In that table I have entries like 100,50,200,22,5000.
Now my requirement is to sort these entries & the desired output should be 22,50,100,200,5000.
But after using sort statement in table LT_VAR for the field i have received the output as 100,22,200,50,5000.
Anybody will pls suggest me the logic for it??
07-04-2007 10:42 AM
07-04-2007 10:44 AM
check out this link.
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3653358411d1829f0000e829fbfe/frameset.htm
reward if helpful.
07-04-2007 10:44 AM
07-04-2007 10:45 AM
07-04-2007 10:46 AM
neha,
I think the field that you are trying to sort is defined as type C.
If that is defined as type I, then sort would definitely work in a fashion that you require.
<b>Please reward with points if this is helpful.</b>
Kiran