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: 

ALV OOPS Double-click event

Former Member
0 Kudos

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

5 REPLIES 5

former_member303542
Participant
0 Kudos

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....

former_member303542
Participant
0 Kudos

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

former_member303542
Participant
0 Kudos

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

former_member303542
Participant
0 Kudos

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

0 Kudos

Hi Naveen,

Thanks a lot for the response..:)

Regards

s.a.k