<?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: select querry in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580447#M261907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the vbtyp_v = 'J'&lt;/P&gt;&lt;P&gt;AND vbtyp_n = 'M' values.There may not be any data for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2006 12:14:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-12T12:14:31Z</dc:date>
    <item>
      <title>select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580445#M261905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends &lt;/P&gt;&lt;P&gt;Can any one tell me what is wrong in the select querry, its not picking the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbelv&lt;/P&gt;&lt;P&gt;         posnv&lt;/P&gt;&lt;P&gt;         vbeln&lt;/P&gt;&lt;P&gt;         posnn&lt;/P&gt;&lt;P&gt;         FROM vbfa INTO TABLE lt_vbfa&lt;/P&gt;&lt;P&gt;         FOR ALL ENTRIES IN lt_lips&lt;/P&gt;&lt;P&gt;                         WHERE vbelv = lt_lips-vbeln&lt;/P&gt;&lt;P&gt;                           AND posnv = lt_lips-posnr&lt;/P&gt;&lt;P&gt;                           AND vbtyp_v = 'J'&lt;/P&gt;&lt;P&gt;                           AND vbtyp_n = 'M'.&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;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 12:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580445#M261905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T12:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580446#M261906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the table VBFA is having data for these where conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 12:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580446#M261906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T12:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580447#M261907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the vbtyp_v = 'J'&lt;/P&gt;&lt;P&gt;AND vbtyp_n = 'M' values.There may not be any data for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 12:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580447#M261907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T12:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580448#M261908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nothing wrong in the select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before writing the select query with for all entries &lt;/P&gt;&lt;P&gt;Check, if not lt_lips[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the internal table lt_lips contains data also check the database for the condtion you have given in the select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 12:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580448#M261908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T12:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580449#M261909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check in Debug, wheather PosNR having leading ZERO...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 12:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580449#M261909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T12:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580450#M261910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First check whether data is present in VBFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing that you need to keep in mind that before using the table in select query with FOR ALL ENTRIES chcek whether that table is initial or not. If its initial whole data from database table will be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in your case no data is selectd. So the reason might be data is not present in VBFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 12:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580450#M261910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T12:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580451#M261911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this also,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbelv&lt;/P&gt;&lt;P&gt;posnv&lt;/P&gt;&lt;P&gt;vbeln&lt;/P&gt;&lt;P&gt;posnn&lt;/P&gt;&lt;P&gt;FROM vbfa INTO TABLE lt_vbfa&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN lt_lips&lt;/P&gt;&lt;P&gt;WHERE vbelv = lt_lips-vbeln&lt;/P&gt;&lt;P&gt;AND posnv = lt_lips-posnr&lt;/P&gt;&lt;P&gt;AND ( vbtyp_v = 'J'&lt;/P&gt;&lt;P&gt;OR vbtyp_n = 'M' ).  (use of AND is correct..?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 12:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580451#M261911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T12:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580452#M261912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Venu,&lt;/P&gt;&lt;P&gt;  there is nothing wrong with your select statement .. in debug mode check whether data is getting populated in to it_lips for that data check whether the data is available in vbfa ... i feel that your select statement is failing as it is not satisfying all the criteria that you have in where statement ... so it is data in sufficiency problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 12:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1580452#M261912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T12:18:19Z</dc:date>
    </item>
  </channel>
</rss>

