Skip to Content
0
Mar 18, 2009 at 03:47 PM

Hotspots not working after popup from CL_GUI_ALV_GRID

318 Views

Hi. I am using OO and CL_GUI_ALV_GRID to display an ALV with hotspots.

When I run it and click the hotspots, I am then using method GET_CURRENT_CELL to work out which hotspot is clicked and then drill down based on that.

I have also added a button to the menu bar that when pressed calls another ALV as a pop up window with different data.

The hotspots work fine until I press the button to get the pop up. After I close the pop up the hotspots no longer work, GET_CURRENT_CELL is returning the first column from the ALV, not the one that I am actually clicking.

I have declared the class CL_GUI_ALV_GRID 2 times, once for the main report and once for the pop up, is that correct?

Also, to close the pop up I am using LEAVE TO SCREEN 0, is that correct?

Any help would be very much appreciated.

Regards,

Dave.