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

Former Member
0 Likes
719

IN ALV if we click the assending buton it will convert all the fields in asscending order. So their must be some program for the same. Can i see this program?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
646

hi,

1. put '/h' .

2. click the ascending button.it will got to debugging

3. now take 'SYSTEM' in menu bar -> take STATUS -> u will get the pgm name.

Rgds

Reshma

IN ALV if we click the assending buton it will convert all the fields in asscending order. So their must be some program for the same. Can i see this program?

2 REPLIES 2
Read only

Former Member
0 Likes
647

hi,

1. put '/h' .

2. click the ascending button.it will got to debugging

3. now take 'SYSTEM' in menu bar -> take STATUS -> u will get the pgm name.

Rgds

Reshma

Read only

Former Member
0 Likes
646

Hi, Ajay!

When you sort an ALV, the instance is calling the method 'SORT_TABLE' of the class CL_GUI_ALV_GRID (use Tcode 'SE24' to watch it). In the method, it calls the Function Module 'LVC_SORT' (use Tcode 'SE37' to watch it) which is who finally sorts the table.

Hopping it will help you,

Sergio