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

Drilldown in ALV

Former Member
0 Likes
355

Hello,

Can anyone please tell me as to how do we fetch the entire row of an alv grid.Based on few values in the selected row, I need to further drilldown to display another report.

Thanks in advance,

Meghana.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
317

Hello,

Use the parameter I_CALLBACK_USER_COMMAND in the function module REUSE_ALV_GRID_DISPLAY. You have to write a subroutine of the same name that you pass to this parameter. This subroutine will implicitly receive a parameter from the ALV Grid when you double click on that. This parameter will be of type slis_selfield and it has a component tabindex which will hold the index of row where the user action occured. You can read the original internal table with this index to get the row contents.

Check out the package SLIS for more details.

Regards,

Manoj

Hello,

Can anyone please tell me as to how do we fetch the entire row of an alv grid.Based on few values in the selected row, I need to further drilldown to display another report.

Thanks in advance,

Meghana.

1 REPLY 1
Read only

Former Member
0 Likes
318

Hello,

Use the parameter I_CALLBACK_USER_COMMAND in the function module REUSE_ALV_GRID_DISPLAY. You have to write a subroutine of the same name that you pass to this parameter. This subroutine will implicitly receive a parameter from the ALV Grid when you double click on that. This parameter will be of type slis_selfield and it has a component tabindex which will hold the index of row where the user action occured. You can read the original internal table with this index to get the row contents.

Check out the package SLIS for more details.

Regards,

Manoj