on 03-07-2007 11:19 AM
can any one gimme the code to arrage 4 strings in ascending order.
create an internal table with a field of character type of sufficient length..
Now append the fields one after one.
Use sort Table option to get the Required result.
Code.
Report XYZ.
data : begin of t_table occurs 0 ,
field(255) type c,
end of t_table.
field = 'abc'.
append field.
field = 'adcg'.
append field.
field = 'afeter'.
append field.
field = 'afar'.
append field.
sort t_table .
Thanks and regards
sharma Nittala
Message was edited by:
nsk sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Yes, Sort the internal table with the field ..
Regards,
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorting he internal table would help.
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.