Skip to Content
author's profile photo Former Member
Former Member

find out where the user has clicked

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é

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 10:46 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 14, 2009 at 03:26 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 15, 2009 at 11:29 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.