<?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: syntax error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768280#M906748</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;REFER NOTE 1088403 FOR MORE DETAILS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2008 13:08:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-30T13:08:51Z</dc:date>
    <item>
      <title>syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768272#M906740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT baugr&lt;/P&gt;&lt;P&gt;  FROM resb&lt;/P&gt;&lt;P&gt;  INTO TABLE it_resb&lt;/P&gt;&lt;P&gt;  FOR ALL ENTRIES IN it_afko&lt;/P&gt;&lt;P&gt;  WHERE rsnum EQ it_afko-rsnum AND&lt;/P&gt;&lt;P&gt;        werks = 4090           AND&lt;/P&gt;&lt;P&gt;        bwart = 216.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m getting error as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field bwart used in the where condition may contain null values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 12:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768272#M906740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T12:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768273#M906741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT baugr
  FROM resb
  INTO TABLE it_resb
  FOR ALL ENTRIES IN it_afko
  WHERE rsnum EQ it_afko-rsnum 
    AND werks = '4090'
    AND bwart = '216'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 12:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768273#M906741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T12:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768274#M906742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI that is not syntax error it is a warning message.even i used the code which u provided it is giving the same thing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 12:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768274#M906742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T12:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768275#M906743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Great name,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just ignore the warning message and enjoy your report...no probs..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 12:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768275#M906743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T12:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768276#M906744</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;In my case, it occurred just a warning and the select worked fine.&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;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 12:42:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768276#M906744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T12:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768277#M906745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the database table field contains the value NULL, the evaluation of the condition is neither "true" nor "false", but "unknown". Here this table RESB contains NULL values for BWART field. Hence that is the warning message you have got.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out below help for SELECT statement:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3a1f358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3a1f358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it says that - The conditions cond in the WHERE clause are often like logical expressions, but not identical, since the syntax and semantics follow that of Standard SQL. In the conditions in the WHERE clause, you name columns using a field name as in the SELECT clause. In the following descriptions, s always represents a column of one of the database tables named in the FROM clause. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The result of a condition may be true, false, or unknown. A line is only selected if the condition is true for it. A condition is unknown if one of the columns involved contains a null value.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&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;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 30, 2008 5:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 12:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768277#M906745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T12:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768278#M906746</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;When u r using For All Entries, the pre-requisites you need to check is, first sort the Internal Table you are using f or  For all entries and secondly this Internal table should be checked for not initial. Then you can avoid such errors and also use single ' ' for char.values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort it_afko[].&lt;/P&gt;&lt;P&gt;If not it_afko[] is initial.&lt;/P&gt;&lt;P&gt;SELECT baugr&lt;/P&gt;&lt;P&gt;FROM resb&lt;/P&gt;&lt;P&gt;INTO TABLE it_resb&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN it_afko&lt;/P&gt;&lt;P&gt;WHERE rsnum EQ it_afko-rsnum AND&lt;/P&gt;&lt;P&gt;werks = ' 4090 ' AND&lt;/P&gt;&lt;P&gt;bwart = ' 216 '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reena.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 12:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768278#M906746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T12:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768279#M906747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close the thread if your query is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 12:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768279#M906747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T12:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768280#M906748</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;REFER NOTE 1088403 FOR MORE DETAILS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 13:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error/m-p/3768280#M906748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T13:08:51Z</dc:date>
    </item>
  </channel>
</rss>

