submit with selection-table kullanımı
Seçim ekranındaki select-options`u doldurarak bir programı çağırma örneğidir
*&---------------------------------------------------------------------*
*& Form f_termin_detay
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
form f_termin_detay.
data: lt_rows type lvc_t_row,
ls_row type lvc_s_row.
data: lt_selscreen type table of rsparams with header line.
data: ls_selscreen type rsparams .
data: ls_master like LINE OF gt_master .
call method ref_grid_master->get_selected_rows
importing
et_index_rows = lt_rows.
loop at lt_rows into ls_row.
read table gt_master into ls_master index ls_row-index.
check sy-subrc eq 0.
ls_selscreen-selname = `S_EBELN`.
ls_selscreen-sign = `I`.
ls_selscreen-option = `EQ`.
ls_selscreen-low = ls_master-ebeln.
append ls_selscreen to lt_selscreen.
endloop.
if lt_selscreen[] is not INITIAL.
submit ZMM_TERMIN with selection-table lt_selscreen AND RETURN .
endif.
endform. "f_termin_detay