<?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: Problem with LEFT OUTER JOIN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-left-outer-join/m-p/994674#M74990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That you cannot have more than two tables in this select statement with outer join Try with two tables and see if you get this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2005 00:08:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-26T00:08:59Z</dc:date>
    <item>
      <title>Problem with LEFT OUTER JOIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-left-outer-join/m-p/994673#M74989</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;I am trying run the following query - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT RSECTAB~MANDT into (RSECTABMANDT) &lt;/P&gt;&lt;P&gt;FROM RSECTAB LEFT OUTER JOIN RSPSP ON RSECTAB&lt;SUB&gt;MANDT = RSPSP&lt;/SUB&gt;MANDT LEFT OUTER JOIN RSADD ON RSPSP&lt;SUB&gt;MANDT = RSADD&lt;/SUB&gt;MANDT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP Query failed to execute with the following error Unable to compare with "RSPSP~MANDT". A table can be joined with a maximum of one other table using LEFT OUTER JOIN..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does this error mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sheetal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 23:58:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-left-outer-join/m-p/994673#M74989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T23:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LEFT OUTER JOIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-left-outer-join/m-p/994674#M74990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That you cannot have more than two tables in this select statement with outer join Try with two tables and see if you get this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2005 00:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-left-outer-join/m-p/994674#M74990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-26T00:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LEFT OUTER JOIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-left-outer-join/m-p/994675#M74991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can not join the tables with "mandt" field.mandt field tells about the client number.&lt;/P&gt;&lt;P&gt;you have to use another field (Index or key) in the tables for join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2005 02:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-left-outer-join/m-p/994675#M74991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-26T02:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LEFT OUTER JOIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-left-outer-join/m-p/994676#M74992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;correction in the above statement:&lt;/P&gt;&lt;P&gt;mandt field is not a client number, but you can not join with that fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2005 02:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-left-outer-join/m-p/994676#M74992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-26T02:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LEFT OUTER JOIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-left-outer-join/m-p/994677#M74993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you can change original code like following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT RSECTAB~MANDT into (RSECTABMANDT) &lt;/P&gt;&lt;P&gt;FROM &amp;lt;b&amp;gt;RSPSP&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;LEFT OUTER JOIN &amp;lt;b&amp;gt;RSECTAB&amp;lt;/b&amp;gt; ON RSECTAB&lt;SUB&gt;MANDT = RSPSP&lt;/SUB&gt;MANDT &lt;/P&gt;&lt;P&gt;LEFT OUTER JOIN RSADD ON RSPSP&lt;SUB&gt;MANDT = RSADD&lt;/SUB&gt;MANDT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the left outer join can only from same table, E.G.&lt;/P&gt;&lt;P&gt;left outer join B to A&lt;/P&gt;&lt;P&gt;left outer join C to A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but can't &lt;/P&gt;&lt;P&gt;left outer join A to B&lt;/P&gt;&lt;P&gt;left outer join B to C&lt;/P&gt;&lt;P&gt;Only the inner join can do like above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And another point is  (RSECTABMANDT), what's it means?  a workarea?  if it is a workarea, you forget a SINGLE before RSECTAB~MANDT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will be helpful&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2005 02:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-left-outer-join/m-p/994677#M74993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-26T02:48:52Z</dc:date>
    </item>
  </channel>
</rss>

