Skip to Content
avatar image
Former Member

Doubt in wda

Hi Experts,

How to get the current clicked row value from a table in WDA when my lead selection is selected on

another row.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 13, 2009 at 01:18 PM

    Hi,

    use the following code,

    data: l_node type ref to if_wd_context_node.
    data: l_elem type ref to if_wd_context_element.
    data: l_index type i.
    l_node = wd_context->get_child_node( 'NODENAME' ).
    i = l_node->get_lead_selection_index( ).
    
    l_elem = l_node->get_lead_selection( ).
    l_elem->get_static_attributes( importing static_attributes = ls_stru ). " contents of the selected row

    Kindly ask WDA related Qs in Webdynpro ABAP forum

    Radhika.

    Add comment
    10|10000 characters needed characters exceeded