2011 Jun 24 12:13 PM
Dear All,
I have make one ALV report. I have taken only one remarks for lot in report. Now if i double click on Remarks cell then popup window or other things should be displayed.
menas it will search in database table for cell which we have double click.You can see example like,
Lot Remarks
110 ok
Now i want to see all remarks which we have added in database table for Lot 110.
So when i double click on remarks cell then table information should be display.
Regards,
SP.
2011 Jun 24 3:55 PM
The solution approach depends on which kind of strategy you have taken for ALV grid..
If it is FM then you need to pass subroutine name which will be used to handle user command in REUSE_*
If you are using class, then you need to resister the event on one of local class 's method..
You can call a screen as dialog or pop up another ALV after handling function code...
There are lot of documentation available in internet and SDN articles section, please explore.
2011 Jun 24 4:30 PM
For Doubclick, you can implement the method for the event 'DOUBLE_CLICK' and can get the Index from e_row-index and the fieldname on which double clicked from e_column-fieldname. In the Method, you can call popup ALV to display the table data.
I would recommend 'Hotspot' ( Event - hotspot_click ) instead of doubleclick.