<?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 Select with Join in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098791#M437296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please tell me how i should correct this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;tdid b&lt;/SUB&gt;tdtext&lt;/P&gt;&lt;P&gt;       into corresponding fields of table i_text&lt;/P&gt;&lt;P&gt;       from scmgtextid as a&lt;/P&gt;&lt;P&gt;       inner join ttxit as b&lt;/P&gt;&lt;P&gt;       on a&lt;SUB&gt;tdid = b&lt;/SUB&gt;tdid and&lt;/P&gt;&lt;P&gt;         &amp;lt;b&amp;gt; a~NOT_EXT_VISIBLE = 'X' and&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;          b~tdobject = 'SCMG_CASE' and&lt;/P&gt;&lt;P&gt;          b~tdspras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is:&lt;/P&gt;&lt;P&gt;You cannot compare with "'X'".  Each comparison in the ON condition must contain a field from the RH table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2007 13:24:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-09T13:24:38Z</dc:date>
    <item>
      <title>Select with Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098791#M437296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please tell me how i should correct this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;tdid b&lt;/SUB&gt;tdtext&lt;/P&gt;&lt;P&gt;       into corresponding fields of table i_text&lt;/P&gt;&lt;P&gt;       from scmgtextid as a&lt;/P&gt;&lt;P&gt;       inner join ttxit as b&lt;/P&gt;&lt;P&gt;       on a&lt;SUB&gt;tdid = b&lt;/SUB&gt;tdid and&lt;/P&gt;&lt;P&gt;         &amp;lt;b&amp;gt; a~NOT_EXT_VISIBLE = 'X' and&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;          b~tdobject = 'SCMG_CASE' and&lt;/P&gt;&lt;P&gt;          b~tdspras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is:&lt;/P&gt;&lt;P&gt;You cannot compare with "'X'".  Each comparison in the ON condition must contain a field from the RH table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 13:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098791#M437296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T13:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select with Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098792#M437297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;where condition is missing.&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;tdid b&lt;/SUB&gt;tdtext&lt;/P&gt;&lt;P&gt;into corresponding fields of table i_text&lt;/P&gt;&lt;P&gt;from scmgtextid as a&lt;/P&gt;&lt;P&gt;inner join ttxit as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;tdid = b&lt;/SUB&gt;tdid where &lt;/P&gt;&lt;P&gt;a~NOT_EXT_VISIBLE = 'X' and&lt;/P&gt;&lt;P&gt;b~tdobject = 'SCMG_CASE' and&lt;/P&gt;&lt;P&gt;b~tdspras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ANJI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anji Reddy Vangala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 13:29:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098792#M437297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T13:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select with Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098793#M437298</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;instead of on use where&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;tdid b&lt;/SUB&gt;tdtext&lt;/P&gt;&lt;P&gt;into corresponding fields of table i_text&lt;/P&gt;&lt;P&gt;from scmgtextid as a&lt;/P&gt;&lt;P&gt;inner join ttxit as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;tdid = b&lt;/SUB&gt;tdid &lt;/P&gt;&lt;P&gt;*&amp;lt;b&amp;gt;and&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;where&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;a~NOT_EXT_VISIBLE = 'X' and&lt;/P&gt;&lt;P&gt;b~tdobject = 'SCMG_CASE' and&lt;/P&gt;&lt;P&gt;b~tdspras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sonika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 13:30:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098793#M437298</guid>
      <dc:creator>former_member632991</dc:creator>
      <dc:date>2007-04-09T13:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select with Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098794#M437299</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;compare it in WHERE clause..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;select a&lt;SUB&gt;tdid b&lt;/SUB&gt;tdtext&lt;/P&gt;&lt;P&gt;into corresponding fields of table i_text&lt;/P&gt;&lt;P&gt;from scmgtextid as a&lt;/P&gt;&lt;P&gt;inner join ttxit as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;tdid = b&lt;/SUB&gt;tdid &lt;/P&gt;&lt;P&gt;where NOT_EXT_VISIBLE = 'X' and&lt;/P&gt;&lt;P&gt;     b~tdobject = 'SCMG_CASE' and&lt;/P&gt;&lt;P&gt;      b~tdspras = sy-langu.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;** IN 'ON' clause u can compare onli the table fields which are included in JOIN..&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 13:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098794#M437299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T13:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select with Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098795#M437300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey kiret, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try &lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;tdid b&lt;/SUB&gt;tdtext&lt;/P&gt;&lt;P&gt;into corresponding fields of table i_text&lt;/P&gt;&lt;P&gt;from scmgtextid as a&lt;/P&gt;&lt;P&gt;inner join ttxit as b&lt;/P&gt;&lt;P&gt;on ( a&lt;SUB&gt;tdid = b&lt;/SUB&gt;tdid )&lt;/P&gt;&lt;P&gt;where a~NOT_EXT_VISIBLE = 'X' and&lt;/P&gt;&lt;P&gt;      b~tdobject = 'SCMG_CASE' and&lt;/P&gt;&lt;P&gt;      b~tdspras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should not use and after the join condition, instead use the where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if the answer provides any help.&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;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 13:35:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098795#M437300</guid>
      <dc:creator>former_member1195866</dc:creator>
      <dc:date>2007-04-09T13:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select with Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098796#M437301</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;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;tdid b&lt;/SUB&gt;tdtext into corresponding fields of table i_text from scmgtextid as a&lt;/P&gt;&lt;P&gt;inner join ttxit as b on a&lt;SUB&gt;tdid = b&lt;/SUB&gt;tdid &amp;lt;b&amp;gt;where&amp;lt;/b&amp;gt; a&lt;SUB&gt;NOT_EXT_VISIBLE = 'X' and b&lt;/SUB&gt;tdobject = 'SCMG_CASE' and b~tdspras = sy-langu.&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;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 13:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098796#M437301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T13:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select with Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098797#M437302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiret,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use ON clause on Joins the the left hand and right hand fields should be of tables used in Join condition but not with variables/constant values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the rest of the part in WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this code.&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;tdid b&lt;/SUB&gt;tdtext&lt;/P&gt;&lt;P&gt;into corresponding fields of table i_text&lt;/P&gt;&lt;P&gt;from scmgtextid as a&lt;/P&gt;&lt;P&gt;inner join ttxit as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;tdid = b&lt;/SUB&gt;tdid &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;WHERE&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;a~NOT_EXT_VISIBLE = 'X' and&lt;/P&gt;&lt;P&gt;b~tdobject = 'SCMG_CASE' and&lt;/P&gt;&lt;P&gt;b~tdspras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 13:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-with-join/m-p/2098797#M437302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T13:52:54Z</dc:date>
    </item>
  </channel>
</rss>

