cancel
Showing results for 
Search instead for 
Did you mean: 

find out where the user has clicked

Former Member
0 Kudos

Dear Experts,

i am a litte confused because i heard different things so i want to ask you straight.

for example i have an ALV with 5 Lines.

Lead selection is in line 1.

when he clicks line 4, how can i get the line he has clicked ?`

Thanks and best regards

René

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rene,

When you are using the ALV table and you want to get the lead selected value then . In the view go to Methods we have some standard methods wherein we can get the lead selected values of the alv table.

event handler called

ONLEADSELECT it is an event handler method in this method you called the get lead slection method or else get static attributes

both will get you the lead sleected values of the alv table.

Try this it works.

Regards,

Sana.

Answers (2)

Answers (2)

pranav_nagpal2
Contributor
0 Kudos

Hi Rene,

If you want to select whole row by clicking on anywhere in that row in an alv thn this wont be possible.... it is only possible in case of modal nodes....

regards

Pranav

arjun_thakur
Active Contributor
0 Kudos

Hi Rene,

I think when we use code wizard to read a node, gives us the lead selected row. so just read the node which you have binded with the DATA node to the alv vomponent.

Regards

Arjun