Skip to Content
avatar image
Former Member

Abap web dynpro UI element table

Hi,

I have added UI element Table in a view.I have added a button in one column.

When i click on that button , how can i get reference to the row in which that button is present.

I can get reference when i select a row. But if i select 1st row and click on 2nd roes button , i get reference of 1st row. How to get reference of 2nd row in ABAP web dynpro.

Thanks and regards ,

Nikita

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Mar 21, 2008 at 09:11 AM

    Hi,

    U can Use

    Data lr_event type ref to if_wd_context_element.
    
    lr_element = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
    
    lr_event->get_static_attributes(
    IMPORTING
    Static_attributes = ls_value ).

    Regards,

    Padmam.

    Add comment
    10|10000 characters needed characters exceeded