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

ALV: selection after sort by user

Former Member
0 Likes
550

Hello,

After the user sorts the ALV, is it possible to retrieve the sorted table in your program. Because when I now act on the selection the user has made, I read the indexes of the unsorted table. Is there a method to retrieve the sorted table from the ALV (I'm working with ALV object model).

Thank you,

Tom

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
493

Hi Tom,

Probably you can get the sort sequence used instead. Sort your table by this sequence first and then read the indexes..

to get the sort criteria used, you can use method get_sort_criteria.

~Piyush Patil

Hello,

After the user sorts the ALV, is it possible to retrieve the sorted table in your program. Because when I now act on the selection the user has made, I read the indexes of the unsorted table. Is there a method to retrieve the sorted table from the ALV (I'm working with ALV object model).

Thank you,

Tom

1 REPLY 1
Read only

Former Member
0 Likes
494

Hi Tom,

Probably you can get the sort sequence used instead. Sort your table by this sequence first and then read the indexes..

to get the sort criteria used, you can use method get_sort_criteria.

~Piyush Patil