cancel
Showing results for 
Search instead for 
Did you mean: 

check box als column in a standard table, how to get the selected row

Former Member
0 Kudos

Dear experts,

I habe standard tablt with check box as column. Now I want to get the current selected row structure and do some changes. How could I solve this problem? till now I just know to get the structure via lead selection.

lo_node->get_element().

lo_element = lo_node->get_static_attributes ( static_attributes = ls_row).

How could I get the element through check-box in stead of lead selection. Many thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks a lot!

Former Member
0 Kudos

check this code

To get the selected row number

data: lr_element type ref to if_wd_context_element,

lv_index type i.

lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).

lv_index = lr_element->get_index( ).

Thanks

Bala Duvvuri