<?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: Error in Syntax check in code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-syntax-check-in-code/m-p/7033874#M1499752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;        &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;If lv_first = "X".                                            "1&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;You are using double quotes (") rather than single quotes (').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next time, do more desk checking before posting here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jun 2010 22:02:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-18T22:02:08Z</dc:date>
    <item>
      <title>Error in Syntax check in code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-syntax-check-in-code/m-p/7033873#M1499751</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;We are developing a report, where we have written the following piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT lt_kondd2.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;      DO.&lt;/P&gt;&lt;P&gt;       If lv_first = "X".                                            "1&lt;/P&gt;&lt;P&gt;          READ TABLE lt_kotd2 WITH KEY knumh = lt_kondd2-knumh.&lt;/P&gt;&lt;P&gt;       Else.                                                         "1&lt;/P&gt;&lt;P&gt;          READ TABLE lt_kotd2 WITH KEY knumh = lv_smatn.&lt;/P&gt;&lt;P&gt;       Endif.       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Some Statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Enddo.&lt;/P&gt;&lt;P&gt;    Some statements&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During syntax check the above code is giving the following error:&lt;/P&gt;&lt;P&gt;Field "READ" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help point out what could be wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 21:24:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-syntax-check-in-code/m-p/7033873#M1499751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-18T21:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Syntax check in code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-syntax-check-in-code/m-p/7033874#M1499752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;        &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;If lv_first = "X".                                            "1&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;You are using double quotes (") rather than single quotes (').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next time, do more desk checking before posting here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 22:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-syntax-check-in-code/m-p/7033874#M1499752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-18T22:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Syntax check in code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-syntax-check-in-code/m-p/7033875#M1499753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dont worry ...... Things like these keep happening&lt;/P&gt;&lt;P&gt;Anyways dont 4get the " " nxt time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jun 2010 18:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-syntax-check-in-code/m-p/7033875#M1499753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-19T18:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Syntax check in code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-syntax-check-in-code/m-p/7033876#M1499754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob and Amit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob your suggestion was correct and it solved the problem. Need to check more thoroughly next time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 16:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-syntax-check-in-code/m-p/7033876#M1499754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-21T16:35:27Z</dc:date>
    </item>
  </channel>
</rss>

