VRM_SET_VALUES
TYPE-POOLS VRM.
DATA: NAME TYPE VRM_ID,
LIST TYPE VRM_VALUES,
VALUE LIKE LINE OF LIST.
NAME = 'CARRID'.
value-key = 'LH'.
value-text = 'Lufthansa'.
append value to list.
value-key = 'IA'.
value-text = 'Indian Airlines'.
append value to list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = NAME
VALUES = LIST.
Hi,
Do like this
Create a domain and maintain a fixed values in that domain. Create data element for that domain and write the code as below in your report
Parameters: p_num(3) TYPE <dataelement> AS LISTBOX VISIBLE LENGTH 15 DEFAULT '1',
Regards,
Satish
Add a comment