Skip to Content
Apr 08, 2005 at 07:15 PM

ALV GRID - double click event - hot spot event


Dear developers

I am building a custom application using ALV GRID (OO method).

I have three ALV's on the screen.

User selects a cell on the first ALV from the list. say a specific product group.

The second ALV displays the product records depnding on selection of first ALV. (this works fine).

when the user selects a cell of a specific column on ALV grid 2 using double click event or hotspot I am always getting row ID as 1 , irrespective of the user clickin on row 2 or 3 on the specific cell.

To carry out further processing , I need to get the exact row the user is selecting which I expected to be available in LVC_S_ROID. My further process works always with ROW ID as 1.

I am using event hot spot in alv grid 1. In grid 2 I tried both hot spot and double click . But both returns the index value of row as 1 , irrespective of the cell being clicked is beyond row 1. in second grid.

Looking forward for help or suggestion on this,