Code: Alles auswählen.
READ TABLE g_it_out ASSIGNING <out>
INDEX e_row-index.
Code: Alles auswählen.
DATA: it_sel_rows TYPE lvc_t_row.
FIELD-SYMBOLS: <sel_rows> TYPE lvc_s_row,
CALL METHOD g_ref_alv->get_selected_rows
IMPORTING
et_index_rows = it_sel_rows.
IF NOT it_sel_rows IS INITIAL.
LOOP AT it_sel_rows ASSIGNING <sel_rows>.
READ TABLE g_it_out ASSIGNING <out>
INDEX <sel_rows>-index.
ENDLOOP.
ENDIF.