‎2019 Jul 05 7:51 AM
Dear Experts,
i am using FM VRM_SET_VALUES to show my drop down list,i have some hardcoded address in my drop down list.
but the issue i am facing is that VRM_VALUES had size limit of 80 character but my hardcoded address in drop down list have length 120,
Here is Sample code
DATA:PLANT-NAME TYPE VRM_ID,
PLANT-LIST TYPE VRM_VALUES,
PLANT-VALUE LIKE LINE OF PLANT-LIST.
PARAMETERS: SHIP_TO AS LISTBOX VISIBLE LENGTH 30.
INITIALIZATION.
CLEAR: SHIP_TO,PLANT-LIST..
AT SELECTION-SCREEN.
PLANT-NAME = 'SHIP_TO'.
IF PLANT EQ '1100'.
CLEAR: PLANT-LIST.
PLANT-VALUE-KEY = '1'.
PLANT-VALUE-TEXT = 'Address of character 120 length'.
APPEND PLANT-VALUE TO PLANT-LIST.
PLANT-VALUE-KEY = '2'.
PLANT-VALUE-TEXT = 'Address of character 120 length'.
APPEND PLANT-VALUE TO PLANT-LIST.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = PLANT-NAME
VALUES = PLANT-LIST.
Thanks and Regards,
Asjad Ali
‎2019 Jul 05 12:24 PM
standard field length you cannot change.use FM ( F4IF_INT_TABLE_VALUE_REQUEST ).
‎2019 Jul 05 9:09 AM
Technical limit. As a workaround, instead of listbox, you may define a F4 button or any button you want, to display an ALV grid in a popup for instance. ALV cells can show up to 128 characters.
‎2019 Jul 05 12:24 PM
standard field length you cannot change.use FM ( F4IF_INT_TABLE_VALUE_REQUEST ).