<?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: Regarding drop down box values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-drop-down-box-values/m-p/2618710#M601183</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; Code your program with the following logic :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is few info about vrm_values :&lt;/P&gt;&lt;P&gt;type-pools : vrm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types:&lt;/P&gt;&lt;P&gt;*-- Single Value in Value Set&lt;/P&gt;&lt;P&gt;begin of vrm_value,&lt;/P&gt;&lt;P&gt;key(40) type c,&lt;/P&gt;&lt;P&gt;text(80) type c,&lt;/P&gt;&lt;P&gt;end of vrm_value,&lt;/P&gt;&lt;P&gt;*-- Table of Values&lt;/P&gt;&lt;P&gt;vrm_values type vrm_value occurs 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values is one of the parameters of type vrm_value in VRM_SET_VALUES function module .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Use  VRM_SET_VALUES is the function module to get input help  .&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fill the values to be displayed in an itab and pass the values to the FM parameter VALUES .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module create_drop_down_box_material output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr from mara&lt;/P&gt;&lt;P&gt;into table l_tab_mara_matnr&lt;/P&gt;&lt;P&gt;where matkl = 'ZPMBMAT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not l_tab_mara_matnr[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select maktx from makt&lt;/P&gt;&lt;P&gt;into l_tab_collect_maktx_frm_db-material_descr&lt;/P&gt;&lt;P&gt;for all entries in l_tab_mara_matnr&lt;/P&gt;&lt;P&gt;where matnr = l_tab_mara_matnr-material_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append l_tab_collect_maktx_frm_db.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&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;loop at l_tab_collect_maktx_frm_db into l_wa_collect_maktx_frm_db.&lt;/P&gt;&lt;P&gt;l_wa_mat_descr-key = l_wa_collect_maktx_frm_db-material_descr.&lt;/P&gt;&lt;P&gt;append l_wa_mat_descr to l_tab_mat_descr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name = 'ZCOT_PPT_DTLS-MATERIAL_DESCR'.&lt;/P&gt;&lt;P&gt;&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 = name&lt;/P&gt;&lt;P&gt;values = l_tab_mat_descr&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;&lt;/P&gt;&lt;P&gt;free: l_tab_mat_descr,l_tab_collect_maktx_frm_db.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule. " create_drop_down_box_material OUTPUT&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2007 04:29:18 GMT</pubDate>
    <dc:creator>former_member196299</dc:creator>
    <dc:date>2007-07-30T04:29:18Z</dc:date>
    <item>
      <title>Regarding drop down box values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-drop-down-box-values/m-p/2618709#M601182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I need to enter values into drop down list box where these values are not coming from database. Please do the need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Lakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 04:18:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-drop-down-box-values/m-p/2618709#M601182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T04:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding drop down box values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-drop-down-box-values/m-p/2618710#M601183</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; Code your program with the following logic :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is few info about vrm_values :&lt;/P&gt;&lt;P&gt;type-pools : vrm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types:&lt;/P&gt;&lt;P&gt;*-- Single Value in Value Set&lt;/P&gt;&lt;P&gt;begin of vrm_value,&lt;/P&gt;&lt;P&gt;key(40) type c,&lt;/P&gt;&lt;P&gt;text(80) type c,&lt;/P&gt;&lt;P&gt;end of vrm_value,&lt;/P&gt;&lt;P&gt;*-- Table of Values&lt;/P&gt;&lt;P&gt;vrm_values type vrm_value occurs 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vrm_values is one of the parameters of type vrm_value in VRM_SET_VALUES function module .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Use  VRM_SET_VALUES is the function module to get input help  .&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fill the values to be displayed in an itab and pass the values to the FM parameter VALUES .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module create_drop_down_box_material output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr from mara&lt;/P&gt;&lt;P&gt;into table l_tab_mara_matnr&lt;/P&gt;&lt;P&gt;where matkl = 'ZPMBMAT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not l_tab_mara_matnr[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select maktx from makt&lt;/P&gt;&lt;P&gt;into l_tab_collect_maktx_frm_db-material_descr&lt;/P&gt;&lt;P&gt;for all entries in l_tab_mara_matnr&lt;/P&gt;&lt;P&gt;where matnr = l_tab_mara_matnr-material_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append l_tab_collect_maktx_frm_db.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&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;loop at l_tab_collect_maktx_frm_db into l_wa_collect_maktx_frm_db.&lt;/P&gt;&lt;P&gt;l_wa_mat_descr-key = l_wa_collect_maktx_frm_db-material_descr.&lt;/P&gt;&lt;P&gt;append l_wa_mat_descr to l_tab_mat_descr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name = 'ZCOT_PPT_DTLS-MATERIAL_DESCR'.&lt;/P&gt;&lt;P&gt;&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 = name&lt;/P&gt;&lt;P&gt;values = l_tab_mat_descr&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;&lt;/P&gt;&lt;P&gt;free: l_tab_mat_descr,l_tab_collect_maktx_frm_db.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule. " create_drop_down_box_material OUTPUT&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 04:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-drop-down-box-values/m-p/2618710#M601183</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-07-30T04:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding drop down box values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-drop-down-box-values/m-p/2618711#M601184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;refer this site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3850373"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="23895"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 05:26:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-drop-down-box-values/m-p/2618711#M601184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T05:26:47Z</dc:date>
    </item>
  </channel>
</rss>

