<?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: Problem in Select options. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403245#M817229</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;&lt;/P&gt;&lt;P&gt;  Can u please write the code like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of  itab_vbak occurs 0 replace it with itab_vbak occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and u are taking all the fiedls with LIKE so u r refering to the field not the TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In select options if u give like this it may work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data  g_vbeln type vbeln_va.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_vbeln for g_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this by replacing all the fields....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is for practising u are doing it is ok, but better u start ur program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declaring TYPES :.....&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2008 07:44:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-08T07:44:48Z</dc:date>
    <item>
      <title>Problem in Select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403243#M817227</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;I couldnt able to select the values in select options. for the below code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anypne pls tell me what might be the error in generating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : vbak,vbap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab_vbak occurs 0,&lt;/P&gt;&lt;P&gt;       vbeln like vbak-vbeln,&lt;/P&gt;&lt;P&gt;       auart like vbak-auart,&lt;/P&gt;&lt;P&gt;       netwr like vbak-netwr,&lt;/P&gt;&lt;P&gt;       waerk like vbak-waerk,&lt;/P&gt;&lt;P&gt;       end of itab_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab_vbap occurs 0,&lt;/P&gt;&lt;P&gt;       zmeng like vbap-zmeng,&lt;/P&gt;&lt;P&gt;       zieme like vbap-zieme,&lt;/P&gt;&lt;P&gt;       posnr like vbap-posnr,&lt;/P&gt;&lt;P&gt;       matnr like vbap-matnr,&lt;/P&gt;&lt;P&gt;       end of itab_vbap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_vbeln for vbak-vbeln,&lt;/P&gt;&lt;P&gt;                 s_vkorg for vbak-vkorg,&lt;/P&gt;&lt;P&gt;                 s_vtweg for vbak-vtweg,&lt;/P&gt;&lt;P&gt;                 s_spart for vbak-spart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initialization.&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;select vbeln auart netwr waerk&lt;/P&gt;&lt;P&gt;into table itab_vbak&lt;/P&gt;&lt;P&gt;from vbak&lt;/P&gt;&lt;P&gt;where vbeln in s_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : /20 itab_vbak-vbeln,30 itab_vbak-auart,35 itab_vbak-netwr,&lt;/P&gt;&lt;P&gt;60 itab_vbak-waerk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stalin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 07:30:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403243#M817227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T07:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403244#M817228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stalin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code seems to be ok, probably there may be no entries for the selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you check the sy-subrc value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 07:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403244#M817228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T07:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403245#M817229</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;&lt;/P&gt;&lt;P&gt;  Can u please write the code like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of  itab_vbak occurs 0 replace it with itab_vbak occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and u are taking all the fiedls with LIKE so u r refering to the field not the TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In select options if u give like this it may work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data  g_vbeln type vbeln_va.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_vbeln for g_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this by replacing all the fields....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is for practising u are doing it is ok, but better u start ur program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declaring TYPES :.....&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 07:44:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403245#M817229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T07:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403246#M817230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after enetring values in selection-screen ,  start debugging by /h&lt;/P&gt;&lt;P&gt; and check select-option-low &amp;amp; select-option-high value by double clicking on that  and check whether all values entered by u have been populated in that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 11:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403246#M817230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T11:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403247#M817231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi buddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the code is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats the exact problem which u are facing ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 11:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403247#M817231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T11:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403248#M817232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there are no values in the table for the values which u are entering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So better check the tables first for some appropriate values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 11:13:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403248#M817232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T11:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403249#M817233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass that vbeln to vbak table and check whether any data exists..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 11:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403249#M817233</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-02-08T11:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403250#M817234</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 are not using the below select-options in your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_vkorg&lt;/P&gt;&lt;P&gt;s_vtweg&lt;/P&gt;&lt;P&gt;s_spart &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your query once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 11:59:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403250#M817234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T11:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403251#M817235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stalin , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had checked your program in my system , there is nothing wrong with that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting out put correctly &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there might be a sitvation where you don't get any out put &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e in your data base table you don't have data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please go through data base table and check weather there is data available for that table or not &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you had declared extra things but there won't be problem with that filds but in the point of performnce sap recomonds don't declare extra things&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 12:21:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select-options/m-p/3403251#M817235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T12:21:42Z</dc:date>
    </item>
  </channel>
</rss>

