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

ALV In Web Dynpro ABAP


I have a user-defined function in the ALV toolbar of my Web Dynpro Component. When user clicks the button assigned to the function,the even 'ON_FUNCTION' is triggered. Now I want to know which row is currently selected in the alv display in the event handler method of 'ON_Function'.

The only parameter that is passed to event handler by the component gives me information about the function code of the user-defined function.(IF_SALV_WD_TABLE_FUNCTION->id).

Is there any way by which I can know the current row selected.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 03, 2007 at 06:20 AM

    Hi ,

    when u select a row .. the lead selection for the node is set as the selected row.. so get that element by calling the method get_lead_selection of if_wd_context_node .



    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.