<?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: query, where clause not working. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-where-clause-not-working/m-p/3345472#M802147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;VBELN is the 10 charecters field, so whenever you use the where clause you need to provide the total length, so use the ZEROS before that number to execute that query&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jan 2008 14:21:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-30T14:21:46Z</dc:date>
    <item>
      <title>query, where clause not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-where-clause-not-working/m-p/3345470#M802145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Query is:&lt;/P&gt;&lt;P&gt;select vbeln posnr matnr&lt;/P&gt;&lt;P&gt;from vbap&lt;/P&gt;&lt;P&gt;into table it_ivbap.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;it_ivbap is internal table. i got records when i executed this query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gave  a where clause &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln posnr matnr&lt;/P&gt;&lt;P&gt;from vbap&lt;/P&gt;&lt;P&gt;into table it_ivbap&lt;/P&gt;&lt;P&gt;where vbeln = '5049'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is not returning any records. i tried with all the possile values of vbeln&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what I am doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 14:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-where-clause-not-working/m-p/3345470#M802145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T14:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: query, where clause not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-where-clause-not-working/m-p/3345471#M802146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select vbeln posnr matnr
from vbap
into table it_ivbap
where vbeln = '0000005049'. " Check here

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 14:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-where-clause-not-working/m-p/3345471#M802146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T14:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: query, where clause not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-where-clause-not-working/m-p/3345472#M802147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;VBELN is the 10 charecters field, so whenever you use the where clause you need to provide the total length, so use the ZEROS before that number to execute that query&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 14:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-where-clause-not-working/m-p/3345472#M802147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T14:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: query, where clause not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-where-clause-not-working/m-p/3345473#M802148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 14:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-where-clause-not-working/m-p/3345473#M802148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T14:22:39Z</dc:date>
    </item>
  </channel>
</rss>

