Application Development and Automation 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: 
Read only

Event Handler

Former Member
0 Likes
597

Hi all,

my question is, i wanna relate between tcode and a value in alv column. i mean , if i double click a field in alv, it should run as a tcode because there are tcode names in alv.

How can i do it.

Thanks a lot.

5 REPLIES 5
Read only

alex_cook
Active Participant
0 Likes
568

Howdy,

You need to create an event handler for the ALV's double click event, and execute a call transaction within that event handler.

Here's a tutorial:

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cda3992d-0e01-0010-90b2-c4e1f899a...

Cheers

Alex

Read only

Former Member
0 Likes
568

Thanks for your help.

Regards.

Read only

Former Member
0 Likes
568

Hi,

shouldnt you be rewarding points. if you got the answer and problem is resolved.

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
568

SET handler for double click

call this method on double click and inside the method use call transaction using 'ABC' passing the value from the selected cell in ALV.

Read only

Former Member
0 Likes
568

hi,

you could use call transaction statement in mode A. so that when you click on it that transaction should open.

regards,

Sakshi