2006 Dec 13 8:59 AM
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.
2006 Dec 13 9:05 AM
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.
2006 Dec 13 9:05 AM
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