<?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 Drop down for executable program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-for-executable-program/m-p/3758037#M904101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i am providing a drop down box for a selection field for an executable program by using VRM_SET values.But its not displaying the drop down box.Plz let me know the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM drop_down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TYPES : BEGIN OF l_s_help,&lt;/P&gt;&lt;P&gt;           werks TYPE werks_d,&lt;/P&gt;&lt;P&gt;           pspid TYPE ps_pspid,&lt;/P&gt;&lt;P&gt;           descr(80) TYPE c,&lt;/P&gt;&lt;P&gt;           END OF l_s_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : l_t_template  TYPE TABLE OF vrm_value .&lt;/P&gt;&lt;P&gt;  DATA : l_r_template TYPE vrm_value.&lt;/P&gt;&lt;P&gt;  DATA : l_t_help TYPE TABLE OF l_s_help.&lt;/P&gt;&lt;P&gt;  DATA : l_r_help TYPE l_s_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT werks pspid descr FROM /rb04/yt3_plant INTO TABLE l_t_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT l_t_help INTO l_r_help.&lt;/P&gt;&lt;P&gt;    MOVE l_r_help-descr TO l_r_template-key.&lt;/P&gt;&lt;P&gt;    APPEND l_r_template TO l_t_template.&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              = 'PRD_TEMP'&lt;/P&gt;&lt;P&gt;            values          = l_t_template&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;  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;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " drop_down&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2008 08:40:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-02T08:40:36Z</dc:date>
    <item>
      <title>Drop down for executable program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-for-executable-program/m-p/3758037#M904101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i am providing a drop down box for a selection field for an executable program by using VRM_SET values.But its not displaying the drop down box.Plz let me know the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM drop_down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TYPES : BEGIN OF l_s_help,&lt;/P&gt;&lt;P&gt;           werks TYPE werks_d,&lt;/P&gt;&lt;P&gt;           pspid TYPE ps_pspid,&lt;/P&gt;&lt;P&gt;           descr(80) TYPE c,&lt;/P&gt;&lt;P&gt;           END OF l_s_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : l_t_template  TYPE TABLE OF vrm_value .&lt;/P&gt;&lt;P&gt;  DATA : l_r_template TYPE vrm_value.&lt;/P&gt;&lt;P&gt;  DATA : l_t_help TYPE TABLE OF l_s_help.&lt;/P&gt;&lt;P&gt;  DATA : l_r_help TYPE l_s_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT werks pspid descr FROM /rb04/yt3_plant INTO TABLE l_t_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT l_t_help INTO l_r_help.&lt;/P&gt;&lt;P&gt;    MOVE l_r_help-descr TO l_r_template-key.&lt;/P&gt;&lt;P&gt;    APPEND l_r_template TO l_t_template.&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              = 'PRD_TEMP'&lt;/P&gt;&lt;P&gt;            values          = l_t_template&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;  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;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " drop_down&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 08:40:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-for-executable-program/m-p/3758037#M904101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T08:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Drop down for executable program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-for-executable-program/m-p/3758038#M904102</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;Check the program: &lt;STRONG&gt;demo_dynpro_dropdown_listbox&lt;/STRONG&gt;&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;Kannaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 08:47:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-for-executable-program/m-p/3758038#M904102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T08:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Drop down for executable program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-for-executable-program/m-p/3758039#M904103</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;Try to compare with this std prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' RSDEMO_DROPDOWN_LISTBOX'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Seema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 08:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-for-executable-program/m-p/3758039#M904103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T08:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Drop down for executable program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-for-executable-program/m-p/3758040#M904104</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;Check the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_list as listbox visible length 20 obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;type-pools vrm.&lt;/P&gt;&lt;P&gt;data: v_id type vrm_id,&lt;/P&gt;&lt;P&gt;      i_list type vrm_values,&lt;/P&gt;&lt;P&gt;      wa_list like line of i_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_id = 'P_LIST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_list-key = '1'.&lt;/P&gt;&lt;P&gt;wa_list-text = 'India'.&lt;/P&gt;&lt;P&gt;append wa_list to i_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_list-key = '2'.&lt;/P&gt;&lt;P&gt;wa_list-text = 'China'.&lt;/P&gt;&lt;P&gt;append wa_list to i_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_list-key = '3'.&lt;/P&gt;&lt;P&gt;wa_list-text = 'Japan'.&lt;/P&gt;&lt;P&gt;append wa_list to i_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_list = '3'.  "this is to set the default value of the list box.&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                    = v_id&lt;/P&gt;&lt;P&gt;    values                = i_list&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;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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 08:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-for-executable-program/m-p/3758040#M904104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T08:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Drop down for executable program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-for-executable-program/m-p/3758041#M904105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          Change your code in the below manner. You will surely get the required format of output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split your code in this format :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Data Declarations&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF l_s_help,&lt;/P&gt;&lt;P&gt;werks TYPE werks_d,&lt;/P&gt;&lt;P&gt;pspid TYPE ps_pspid,&lt;/P&gt;&lt;P&gt;descr(80) TYPE c,&lt;/P&gt;&lt;P&gt;END OF l_s_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : l_t_template TYPE TABLE OF vrm_value .&lt;/P&gt;&lt;P&gt;DATA : l_r_template TYPE vrm_value.&lt;/P&gt;&lt;P&gt;DATA : l_t_help TYPE TABLE OF l_s_help.&lt;/P&gt;&lt;P&gt;DATA : l_r_help TYPE l_s_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  * INITIALIZATION* Event&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;SELECT werks pspid descr FROM /rb04/yt3_plant INTO TABLE l_t_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &lt;STRONG&gt;AT SELECTION-SCREEN OUTPUT&lt;/STRONG&gt; Event&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;LOOP AT l_t_help INTO l_r_help.&lt;/P&gt;&lt;P&gt;MOVE l_r_help-descr TO l_r_template-key.&lt;/P&gt;&lt;P&gt;APPEND l_r_template TO l_t_template.&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 = 'PRD_TEMP'&lt;/P&gt;&lt;P&gt;values = l_t_template&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;IF sy-subrc 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;&lt;/P&gt;&lt;P&gt;********************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful to you. If you need further information, revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nagaraj T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 09:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/drop-down-for-executable-program/m-p/3758041#M904105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T09:14:54Z</dc:date>
    </item>
  </channel>
</rss>

