Hi,
I need to show a drop down for 11 list values in selection screen. So i used VRM_SET_VALUES fm. i did code like below:
CLEAR wa_values.
wa_values-key = '1'.
wa_values-text = text-008.
APPEND wa_values TO i_values.
till KEY = 11...
CLEAR wa_values.
wa_values-key = '11'.
wa_values-text = text-018.
APPEND wa_values TO i_values.
lv_id = 'P_REASON'.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = lv_id
values = i_values.
Now values are coming but when I choose the 10 list value or 11 value and press enter then drop down field automatically set to the first list value.
I also change all the keys with some other 2 digits or same as text but nothing working. Please give ypur valuable comments to soort out the issue.
Thanks in advance.