Dropdown List ( Combobox) Örneği
data: lt_values type vrm_values.
data: ls_value type vrm_value.
data: ls_dd07v type dd07v.
loop at gt_dd07v into ls_dd07v
where domname = ztumg_c=>d_chart.
clear ls_value .
ls_value-key = ls_dd07v-domvalue_l.
ls_value-text = ls_dd07v-ddtext.
append ls_value to lt_values.
endloop.
call function `VRM_SET_VALUES`
exporting
id = `P_CHART`
values = lt_values
exceptions
id_illegal_name = 1
others = 2.
form f_fill_plnal using prm_deneme type c.
data: ls_value type vrm_value.
refresh gt_plnal_values.
case prm_deneme.
when `X`.
ls_value-key = `98`.
ls_value-text = `Detay Analiz`.
append ls_value to gt_plnal_values.
ls_value-key = `99`.
ls_value-text = `Standart Deneme`.
append ls_value to gt_plnal_values.
when others.
ls_value-key = `01`.
ls_value-text = `Standart Plan`.
append ls_value to gt_plnal_values.
endcase.
call function `VRM_SET_VALUES`
exporting
id = `GS_YENI_SIRA-NEW_MASTER-PLNAL`
values = gt_plnal_values
exceptions
id_illegal_name = 1
others = 2.
endform. " F_FILL_PLNAL