Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Event of CL_GUI_ALV_GRID

I have a requirement wherein there are two ALV grids and the user needs to select a row from the grid and click a button on the application toolbar to display a detailed report for the selected row.

I am using get_selected_rows method for each instance of the Grid to get the selected row id.

Now the problem is, suppose if I select a row from Grid 1 and then later a row from Grid 2, the GET_SELECTED_ROWS method for GRID1 and GRID2 both provide data which makes it confusing as I need to display the report for the latest(recently) selected row.

Can anybody suggest me a method which tells me that the recently selected row was from Grid1 or Grid2.

or any event wherein I can fill the flag to indicate that the grid1 was most recently used or vice versa.

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question