Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

After double click on cell, table info should come.

Former Member
0 Kudos
165

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.

2 REPLIES 2

krishnendu_laha
Active Contributor
0 Kudos
90

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.

Former Member
0 Kudos
90

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.