0 Future-Analyst Asked: June 21, 2019In: user interface-development listbox help in a infotype 0 hello all, i have created new infotype. In the screen that i’m displaying one field needs to have a listbox help consisting of two values. in the report i think we can use vrm_set_values how and where should i insert the code for that thanks in advance Very Helpfull User Rating: Be the first one ! Share Facebook 1 Answer Voted Oldest Recent Dylan GREER Added an answer on June 21, 2019 at 1:28 pm Hello Mahesh, Define an input/output field of the type list box and then in the PBO of the screen which has the element, the following code has to be written: DATA: gt_values TYPE vrm_values, gf_values TYPE vrm_value. gf_values-text = gc_rfc. gf_values-key = gc_rfc. APPEND gf_values TO gt_values. CLEAR gf_values. After the table <gt_values> has been filled with the desired values, call the FM ‘VRM_SET_VALUES’. CALL FUNCTION ‘VRM_SET_VALUES’ EXPORTING id = <dbtable-field> values = gt_values EXCEPTIONS id_illegal_name = 1 OTHERS = 2. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. Hope this is of help to you, Regards, vijaya 0 Reply Share Share Share on Facebook Share on Twitter Share on LinkedIn Share on WhatsApp Leave an answerCancel replyYou must login or register to add a new answer.