Skip to Content
avatar image
Former Member

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

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 23, 2010 at 04:56 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 04, 2010 at 07:45 AM

    Thanks a lot!

    Add comment
    10|10000 characters needed characters exceeded