Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question