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

How to sort dynamic internal table??

Former Member
0 Likes
1,491

Hi all,

I have a requirement ot sort dyanmic internal table by two field.Can any one tell me the syntax for the same.

Thanks and Regards

Kiran

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
561

sort <fs> by (l_name1) (l_name2).

l_name1 and l_name2 are the names of the columns. Be careful because this is very error prone. Always make sure those columns exist in the table

Edited by: Ramiro Escamilla on Oct 6, 2008 8:56 AM

Hi all,

I have a requirement ot sort dyanmic internal table by two field.Can any one tell me the syntax for the same.

Thanks and Regards

Kiran

2 REPLIES 2
Read only

Former Member
0 Likes
562

sort <fs> by (l_name1) (l_name2).

l_name1 and l_name2 are the names of the columns. Be careful because this is very error prone. Always make sure those columns exist in the table

Edited by: Ramiro Escamilla on Oct 6, 2008 8:56 AM

Read only

0 Likes
561

Thanks a lot it really helped me.