on 07-02-2007 4:54 PM
I have one internal table ITAB & 2 fields f1 f2
Table records are :
f1 f2
-
M1 24
M2 22
M2 29
M1 31
M1 20
M3 11
M4 15
M1 10
I have to sort above table such that
O/p :
f1 f2
-
M1 31
M1 24
M1 20
M1 10
M2 29
M2 22
M3 11
M4 15
How to code for above prob?
Thanks & Regards
Hi Amol,
Use the follwing statement your problem will be resolved:
SORT ITAB BY f1 ASCENDING f2 DESCENDING.
Reward points if helpful answer.
Ashvender
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
here you go
SORT ITAB BY f1 ASCENDING f2 DESCENDING.
regards,
shaik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Sort the Itab by F1 ascending then F2 descending
SORT ITAB BY F1 ASCENDING F2 DESCENDING
Reward points for useful Answers
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.