Application Development 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: 

How to sort dynamic internal table??

Former Member
0 Kudos

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

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

0 Kudos

Thanks a lot it really helped me.