<?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: The following sql stmt is giving syntax error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126469#M986641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;WHERE A~CARRID EQ CARRID&lt;/P&gt;&lt;P&gt;&amp;gt;AND A~CONNID EQ CONNID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add "A~" as above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2008 09:34:58 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2008-07-07T09:34:58Z</dc:date>
    <item>
      <title>The following sql stmt is giving syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126466#M986638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear abap experts,&lt;/P&gt;&lt;P&gt;The following sql stmt is givin me the followin error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incorrect expression "  A~CURRENCY" in WHERE condition.		&lt;/P&gt;&lt;P&gt;the sql stmt is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;FLDATE A&lt;/SUB&gt;PRICE A&lt;SUB&gt;CURRENCY B&lt;/SUB&gt;COUNTRYFR B&lt;SUB&gt;CITYFROM  B&lt;/SUB&gt;AIRPFROM B&lt;SUB&gt;COUNTRYTO B&lt;/SUB&gt;CITYTO B~AIRPTO&lt;/P&gt;&lt;P&gt;                        FROM SFLIGHT AS A INNER JOIN &lt;/P&gt;&lt;P&gt;                        SPFLI AS B&lt;/P&gt;&lt;P&gt;                        INTO CORRESPONDING FIELDS OF                  ITAB_ALV&lt;/P&gt;&lt;P&gt;                        ON A&lt;SUB&gt;CARRID = B&lt;/SUB&gt;CARRID&lt;/P&gt;&lt;P&gt;                        WHERE CARRID EQ CARRID&lt;/P&gt;&lt;P&gt;                        AND CONNID EQ CONNID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly tell me the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ansuman  Parhi on Jul 7, 2008 11:30 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 09:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126466#M986638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T09:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: The following sql stmt is giving syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126467#M986639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT A&lt;SUB&gt;FLDATE A&lt;/SUB&gt;PRICE A&lt;SUB&gt;CURRENCY B&lt;/SUB&gt;COUNTRYFR B&lt;SUB&gt;CITYFROM B&lt;/SUB&gt;AIRPFROM B&lt;SUB&gt;COUNTRYTO B&lt;/SUB&gt;CITYTO B~AIRPTO&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF ITAB_ALV&lt;/P&gt;&lt;P&gt;FROM SFLIGHT AS A INNER JOIN &lt;/P&gt;&lt;P&gt;SPFLI AS B&lt;/P&gt;&lt;P&gt;ON A&lt;SUB&gt;CARRID = B&lt;/SUB&gt;CARRID&lt;/P&gt;&lt;P&gt;WHERE CARRID EQ CARRID&lt;/P&gt;&lt;P&gt;AND CONNID EQ CONNID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rudra Prasanna Mohapatra on Jul 7, 2008 11:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 09:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126467#M986639</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-07-07T09:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: The following sql stmt is giving syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126468#M986640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry i had fixed it by own&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 09:34:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126468#M986640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T09:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: The following sql stmt is giving syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126469#M986641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;WHERE A~CARRID EQ CARRID&lt;/P&gt;&lt;P&gt;&amp;gt;AND A~CONNID EQ CONNID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add "A~" as above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 09:34:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126469#M986641</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-07-07T09:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: The following sql stmt is giving syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126470#M986642</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;SELECT A&lt;SUB&gt;FLDATE A&lt;/SUB&gt;PRICE A&lt;SUB&gt;CURRENCY B&lt;/SUB&gt;COUNTRYFR B&lt;SUB&gt;CITYFROM B&lt;/SUB&gt;AIRPFROM B&lt;SUB&gt;COUNTRYTO B&lt;/SUB&gt;CITYTO B~AIRPTO&lt;/P&gt;&lt;P&gt;FROM SFLIGHT AS A INNER JOIN &lt;/P&gt;&lt;P&gt;SPFLI AS B&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF ITAB_ALV&lt;/P&gt;&lt;P&gt;ON A&lt;SUB&gt;CARRID = B&lt;/SUB&gt;CARRID&lt;/P&gt;&lt;P&gt;WHERE CARRID EQ CARRID&lt;/P&gt;&lt;P&gt;AND CONNID EQ CONNID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above ur code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the where condition exactly mention carrid and connid for belongs to which table. mean check it elow code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE A&lt;SUB&gt;CARRID = CARRID(PARAMETER NAME)  AND A&lt;/SUB&gt;CONNID = CONNID(PARAMETER NAME).&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;sriarm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 09:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126470#M986642</guid>
      <dc:creator>venkatasriram_mygapula</dc:creator>
      <dc:date>2008-07-07T09:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: The following sql stmt is giving syntax error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126471#M986643</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;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;FLDATE A&lt;/SUB&gt;PRICE A&lt;SUB&gt;CURRENCY B&lt;/SUB&gt;COUNTRYFR B&lt;SUB&gt;CITYFROM B&lt;/SUB&gt;AIRPFROM B&lt;SUB&gt;COUNTRYTO B&lt;/SUB&gt;CITYTO B~AIRPTO&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF ITAB_ALV&lt;/P&gt;&lt;P&gt;FROM SFLIGHT AS A INNER JOIN &lt;/P&gt;&lt;P&gt;SPFLI AS B&lt;/P&gt;&lt;P&gt;ON A&lt;SUB&gt;CARRID = B&lt;/SUB&gt;CARRID&lt;/P&gt;&lt;P&gt;WHERE A~CARRID EQ CARRID&lt;/P&gt;&lt;P&gt;AND A~CONNID EQ CONNID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In WHERE Condition You have to Mention Carrid or Connid From Which Table.Metion the alias.&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;Sujit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 09:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-following-sql-stmt-is-giving-syntax-error/m-p/4126471#M986643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T09:37:40Z</dc:date>
    </item>
  </channel>
</rss>

