cl_gui_alv_grid için seçili satırların alınması
call method ref_grid_master->get_selected_rows
importing
et_index_rows = lt_rows.
form f_satir_sil.
data: lt_rows type lvc_t_row,
ls_row type LVC_S_ROW.
call method ref_grid_master->get_selected_rows
importing
et_index_rows = lt_rows.
sort lt_rows by index DESCENDING."satır silinince index karışır, ters sıradan silelim
LOOP AT lt_rows INTO ls_row.
delete gt_master index ls_row-index.
ENDLOOP.
endform. "f_satir_sil