‎2008 May 20 12:34 PM
hi
I have to create a Drop down list for Parameter on selection screen. Please tell me.
‎2008 May 20 10:54 PM
Hi use this code
PARAMETER : listbox1 as listbox visible length 10.
and fill this list box using VRM_SET_VALUES function module.
let me know if you have any question.
Regards
kinjal
‎2008 May 20 3:28 PM
Try searching in the ABAP-General forum and all will be revealed...
‎2008 May 20 4:29 PM
Check the following code,
EPORT Zdrop_down .
type-pools:vrm.
PARAMETER : p_int AS LISTBOX VISIBLE LENGTH 30.
DATA : name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
AT SELECTION-SCREEN OUTPUT.
name = 'P_INT'.
value-key = '1'.
value-text = 'raj'.
APPEND value TO list.
value-key = '2'.
value-text = 'Prabhu'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list.
CLEAR list.
regards,
Prabhu
reward if it is helpful
‎2008 May 20 10:54 PM
Hi use this code
PARAMETER : listbox1 as listbox visible length 10.
and fill this list box using VRM_SET_VALUES function module.
let me know if you have any question.
Regards
kinjal