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.
Showing results for 
Search instead for 
Did you mean: 

How to implement tow double click events in the same module pool

Former Member
0 Kudos


I have two different ALV grids in my module pool and for each of them i need to execute a different functionality on the double click event. Is it possible to define two different methods for the same event on two different ALVs?


Former Member
0 Kudos

i think you can do it by taking different event table for different alv.

use reuse_alv_events_get and assign two different form name for same event in two different event tab.


for top_of_page.

read table ievent into wevent with key 'TOP_OF_PAGE'.

if sy-subrc = 0.

wevent-form = 'TOP_OF_PAGE1'.

append wevent to ievent.


now pass ievent for 1st alv in grid or list display.

read table ievent1 into wevent1 with key 'TOP_OF_PAGE'.

if sy-subrc = 0.

wevent1-form = 'TOP_OF_PAGE2'.

append wevent1 to ievent1.


now pass ievent1 for 2nd alv.


shiba dutta

now pass