2008 Dec 18 2:41 PM
hi friends,
i have one doubt please help me
how to display the drop down list in the selection-screen & by using the list id how we can display the data for that id.
naresh
2008 Dec 18 2:51 PM
Hi,
Check this link [Dropdown boxes|http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/frameset.htm]
It will give you right information.
Regards
Marcin
2008 Dec 18 2:52 PM
Hi Naresh,
Check the following snippet for list disp in selection field,
TYPE-POOLS: vrm.
DATA: w_param TYPE vrm_id,
it_values TYPE vrm_values,
wa_value LIKE LINE OF it_values.
p_rec_ty as listbox visible length 5.
AT SELECTION-SCREEN OUTPUT.
w_param = 'P_REC_TY'.
wa_value-key = '1'.
wa_value-text = 'AAAAA'.
APPEND wa_value TO it_values.
wa_value-key = '2'.
wa_value-text = 'BBBBB'.
APPEND wa_value TO it_values.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = w_param
values = it_values.
Regards,
Manoj Kumar P
2008 Dec 18 3:01 PM