Skip to Content
Former Member
Feb 28, 2011 at 08:58 AM

How to handle marked rows in an ALV table


Hi Experts,

there is an ALV table in my Web Dynpro. It has a functionality to handle one marked row via lead selection. This is the coding to get the marked row:

lr_nd_ma_leist = wd_context->get_child_node( name = wd_this->wdctx_tab_ma_leist ).
lr_el_ma_leist = lr_nd_ma_leist->get_lead_selection( ).
idx = lr_el_ma_leist->get_index( ).

My problem is to handle more than one marked row. I changed the contexts' properties to allow to mark more than one row. But how can I get the number and the index of all the marked rows?

Thanks in advance,