Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sort Itab

Former Member
0 Likes
770

Hello friends,

I have to sort 2 columns ascending and the third column descending.

I am using the below code but has errors.

SORT it2_konv BY knumv kposn

and kschl DESCENDING.

ANy suggestions.

shejal.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
748

Remove the and

SORT it2_konv BY knumv kposn ASCENDING

kschl DESCENDING.

Thanks,

Naren

Hello friends,

I have to sort 2 columns ascending and the third column descending.

I am using the below code but has errors.

SORT it2_konv BY knumv kposn

and kschl DESCENDING.

ANy suggestions.

shejal.

5 REPLIES 5
Read only

Former Member
0 Likes
749

Remove the and

SORT it2_konv BY knumv kposn ASCENDING

kschl DESCENDING.

Thanks,

Naren

Read only

Former Member
0 Likes
748
SORT it2_konv BY knumv kposn  <b>ascending</b>
                  kschl <b>DESCENDING</b>.

AND is not Required.

Regards,

Srikanth.

Message was edited by: Srikanth Kidambi

Read only

Former Member
0 Likes
748

SORT it2_konv BY <b>knumv kposn asecding</b> kschl DESCENDING.

Read only

0 Likes
748

Thanks everyone.

Shejal.

Read only

Former Member
0 Likes
748

Hi,

Please try this.


SORT it2_konv BY knumv kposn ascending                     
kschl DESCENDING.

Regards,

Ferry Lianto