cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt in wda

Former Member
0 Kudos

Hi Experts,

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

another row.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.