<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: drop down menu in parameters input field. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-menu-in-parameters-input-field/m-p/2817777#M659008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS p_carrid TYPE spfli-carrid&lt;/P&gt;&lt;P&gt;                    AS LISTBOX VISIBLE LENGTH 20&lt;/P&gt;&lt;P&gt;                    USER-COMMAND onli&lt;/P&gt;&lt;P&gt;                    DEFAULT 'LH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2007 13:35:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-05T13:35:30Z</dc:date>
    <item>
      <title>drop down menu in parameters input field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-menu-in-parameters-input-field/m-p/2817775#M659006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do  we  provide drop down in parameter input field. ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 13:32:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-menu-in-parameters-input-field/m-p/2817775#M659006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T13:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: drop down menu in parameters input field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-menu-in-parameters-input-field/m-p/2817776#M659007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;see this and do accordingly&lt;/P&gt;&lt;P&gt;See the following ex:&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TY_MBLNR,&lt;/P&gt;&lt;P&gt;MBLNR LIKE MKPF-MBLNR,&lt;/P&gt;&lt;P&gt;END OF TY_MBLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: IT_MBLNR TYPE STANDARD TABLE OF TY_MBLNR WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;data: it_ret like ddshretval occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on value-request for s_mat-low.&lt;/P&gt;&lt;P&gt;Select MBLNR from mkpf into table it_mblnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DDIC_STRUCTURE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;RETFIELD = 'MBLNR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PVALKEY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPPROG = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPNR = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPROFIELD = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STEPL = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WINDOW_TITLE =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VALUE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MULTIPLE_CHOICE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DISPLAY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALLBACK_PROGRAM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALLBACK_FORM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MARK_TAB =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;USER_RESET =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUE_TAB = IT_MBLNR&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FIELD_TAB =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;RETURN_TAB = IT_RET&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPFLD_MAPPING =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PARAMETER_ERROR = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_VALUES_FOUND = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OTHERS = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;read table it_ret index 1.&lt;/P&gt;&lt;P&gt;move it_ret-fieldval to S_mat-low.&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Go through the test program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT Ztest_HELP .&lt;/P&gt;&lt;P&gt;TABLES : MARA.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;PARAMETERS : P_MATNR(10) TYPE C.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;MATNR TYPE MATNR,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.&lt;/P&gt;&lt;P&gt;SELECT MATNR&lt;/P&gt;&lt;P&gt;FROM MARA&lt;/P&gt;&lt;P&gt;INTO TABLE ITAB&lt;/P&gt;&lt;P&gt;UP TO 10 ROWS.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;RETFIELD = 'MATERIAL NUMBER'&lt;/P&gt;&lt;P&gt;DYNPPROG = SY-REPID&lt;/P&gt;&lt;P&gt;DYNPNR = SY-DYNNR&lt;/P&gt;&lt;P&gt;DYNPROFIELD = 'P_MATNR'&lt;/P&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUE_TAB = ITAB&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;PARAMETER_ERROR = 1&lt;/P&gt;&lt;P&gt;NO_VALUES_FOUND = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;If you want a List Box like thing do as below&lt;/P&gt;&lt;P&gt;Input : p_char = 'J'.&lt;/P&gt;&lt;P&gt;Press: enter&lt;/P&gt;&lt;P&gt;List Box of Month = January, June , July.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZLIST_VALUES.&lt;/P&gt;&lt;P&gt;TYPE-POOLS vrm.&lt;/P&gt;&lt;P&gt;tables:&lt;/P&gt;&lt;P&gt;spfli.&lt;/P&gt;&lt;P&gt;parameters: p_char type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;p_month(12) as listbox visible length 20,&lt;/P&gt;&lt;P&gt;p_year as listbox visible length 20 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;t_table TYPE STANDARD TABLE OF vrm_value,&lt;/P&gt;&lt;P&gt;t_table1 TYPE STANDARD TABLE OF vrm_value,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1 LIKE LINE OF t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;t_year TYPE STANDARD TABLE OF vrm_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: w_year(4) type n value '2000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 'a'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'January'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 'p'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'February'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 'q'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'March'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 'r'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'April'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 's'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'May'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 't'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'June'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 'u'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'July'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 'v'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'August'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 'w'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'September'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 'x'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'October'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 'y'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'November'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values1-key = 'z'.&lt;/P&gt;&lt;P&gt;vrm_values1-text = 'December'.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_table1[] = t_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete t_table1 where text+0(1) &amp;lt;&amp;gt; p_char.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;id = 'p_month'&lt;/P&gt;&lt;P&gt;values = t_table1&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ID_ILLEGAL_NAME = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do 10 times.&lt;/P&gt;&lt;P&gt;add 1 to w_year.&lt;/P&gt;&lt;P&gt;vrm_values1-key = sy-index.&lt;/P&gt;&lt;P&gt;vrm_values1-text = w_year.&lt;/P&gt;&lt;P&gt;APPEND vrm_values1 TO t_year.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;id = 'p_year'&lt;/P&gt;&lt;P&gt;values = t_year&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ID_ILLEGAL_NAME = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: p_month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anji Reddy Vangala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 13:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-menu-in-parameters-input-field/m-p/2817776#M659007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T13:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: drop down menu in parameters input field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-menu-in-parameters-input-field/m-p/2817777#M659008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS p_carrid TYPE spfli-carrid&lt;/P&gt;&lt;P&gt;                    AS LISTBOX VISIBLE LENGTH 20&lt;/P&gt;&lt;P&gt;                    USER-COMMAND onli&lt;/P&gt;&lt;P&gt;                    DEFAULT 'LH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 13:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-menu-in-parameters-input-field/m-p/2817777#M659008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T13:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: drop down menu in parameters input field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-menu-in-parameters-input-field/m-p/2817778#M659009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that using the following option for parameters key word :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS ... AS LISTBOX VISIBLE LENGTH vlen [USER-COMMAND fcode] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect: &lt;/P&gt;&lt;P&gt;This addition generates a dropdown list box for an input field on the selection screen. If the parameter is created with a data type from the ABAP Dictionary, and the data type is linked to the input help in the Dictionary, the first column of the input help is displayed in the list box. Otherwise, a single-line list box is displayed containing the current value of the parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition VISIBLE LENGTH must be used to specify the visible length of the input field. The explicit specification of the length is necessary as the length of the entries in the list box is usually different to the actual length of the parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition USER-COMMAND can be used to assign a function code fcode to the dropdown list box. The function code fcode must be specified directly and can have a maximum length of 20 characters. To evaluate the function code, an interface work area of the structure SSCRFIELDS from the ABAP Dictionary must be declared using the statement TABLES. When the user selects a line of the list box on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields. If a function code used in the GUI status of the selection screen is specified for fcode, the selection screen processing is affected accordingly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: &lt;/P&gt;&lt;P&gt;Without the addition USER-COMMAND, selecting a line in the dropdown list box does not lead to the event AT SELECTION-SCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;The parameter p_carrid is displayed with length 20 and with the name "Lufthansa" already entered. The user can select a different airline carrier, in which case a three-character abbreviation is assigned to the parameter. When assigning the function code onli which is assigned to the function Execute in the GUI status of the default selection screen, the events AT SELECTION-SCREEN and START-OF-SELECTION are triggered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS p_carrid TYPE spfli-carrid &lt;/P&gt;&lt;P&gt;                    AS LISTBOX VISIBLE LENGTH 20 &lt;/P&gt;&lt;P&gt;                    USER-COMMAND onli &lt;/P&gt;&lt;P&gt;                    DEFAULT 'LH'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN. &lt;/P&gt;&lt;P&gt;  ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NicolaS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 13:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-menu-in-parameters-input-field/m-p/2817778#M659009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T13:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: drop down menu in parameters input field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-menu-in-parameters-input-field/m-p/2817779#M659010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go thro this code: Hope it helps u. Reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;        gt_vrm_values         type  vrm_values,&lt;/P&gt;&lt;P&gt;        gx_vrm_values         like line of gt_vrm_values,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block _block02 with frame title text-b02.&lt;/P&gt;&lt;P&gt;parameter p_critem     type t71adm09-citem as listbox&lt;/P&gt;&lt;P&gt;                                           visible length 15 obligatory.&lt;/P&gt;&lt;P&gt;selection-screen end of block _block02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a~crevi&lt;/P&gt;&lt;P&gt;         b~ltext&lt;/P&gt;&lt;P&gt;         b~langu&lt;/P&gt;&lt;P&gt;         from t71adm09  as a&lt;/P&gt;&lt;P&gt;         join t71adm08t as b&lt;/P&gt;&lt;P&gt;         on a&lt;SUB&gt;crevi = b&lt;/SUB&gt;crevi&lt;/P&gt;&lt;P&gt;         into table gt_listbox&lt;/P&gt;&lt;P&gt;         where cplan = 'BONR'."gc_1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;    loop at gt_listbox into gx_listbox where langu = gc_E.&lt;/P&gt;&lt;P&gt;      gx_vrm_values-key   = gx_listbox-crevi.&lt;/P&gt;&lt;P&gt;      gx_vrm_values-text  = gx_listbox-ltext.&lt;/P&gt;&lt;P&gt;      append gx_vrm_values to gt_vrm_values.&lt;/P&gt;&lt;P&gt;      clear gx_vrm_values.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        id              = gv_vrmid&lt;/P&gt;&lt;P&gt;        values          = gt_vrm_values&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        id_illegal_name = 1&lt;/P&gt;&lt;P&gt;        others          = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 13:38:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-menu-in-parameters-input-field/m-p/2817779#M659010</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2007-10-05T13:38:14Z</dc:date>
    </item>
  </channel>
</rss>

