10-14-2009 7:38 AM
Hi,
I want to handle the double-click event in ALV grid (OOPs).
The output should be shown in the same fashion as it is shown in SE16 when we double-click on any record in the result set.
i.e. if you have selected the ALV grid display for the Data browser in SE16 and when you double click on any record, the complete record is shown in a window.
I want this in my ALV as well..
Can anyone please suggest how to achieve this?
Regards
s.a.k
10-14-2009 9:24 AM
Hi siemens.a.k ,
The solution for the issue would be to create a custom screen and add a custom table controller in a container.
In this table controller you map the respective fields required for your output
Now once you are done with data population in the custom controller for ALV grid display using cl_gui_alv_grid_display class...
create events in your custom class to handle the on click event.
If you observe the standard functionality it could be clearly seen that sap has created another screen for the display of records in different view.
You could also replicate the similar thing by creating another screen and populating the required fields into the second screen.
As of now i am providing this information ...I would even try to simulate the scenario at my system.
So once i am done i would update you the same...
Thanks
M.Naveen Kumar....
10-14-2009 10:20 AM
Hello ,
Saptechnical dot com
site would be useful to solve your issue.
follow the below link in the site
>Tutorials>ALV->Interactive>oops.htm
where --> stands for '/'.
thanks
M.Naveen Kumar
10-14-2009 10:21 AM
Hello ,
Saptechnical dot com
site would be useful to solve your issue.
follow the below link in the site
>Tutorials>ALV->Interactive>oops.htm
where --> stands for '/'.
thanks
M.Naveen Kumar
10-14-2009 10:21 AM
Hello ,
Saptechnical dot com
site would be useful to solve your issue.
follow the below link in the site
>Tutorials>ALV->Interactive>oops.htm
where --> stands for '/'.
thanks
M.Naveen Kumar
10-14-2009 10:38 AM