<?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: Conditioins in outer join in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditioins-in-outer-join/m-p/7064292#M1503748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you encounter syntax errors or short dumps, please decribe these in all detail to put people in the position to help you. Also provide actual code and not place holders, which might not contain the actual cause of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding WHERE-conditions for outer joined tables, only those fields are not allowed in the WHERE-condition that you already use in the ON-condition to link the two tables. For background, see&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_70/en/ABAPSELECT_JOIN.htm" target="test_blank"&gt;http://help.sap.com/abapdocu_70/en/ABAPSELECT_JOIN.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jun 2010 15:30:27 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2010-06-30T15:30:27Z</dc:date>
    <item>
      <title>Conditioins in outer join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditioins-in-outer-join/m-p/7064291#M1503747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to put codition on outer joined table? In where it's not possible, cause I'm getting syntax error. With puting it under HAVING I'm able to go pass syntax check, but I'm getting short dump during execution. It looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;  FROM tab1 LEFT JOIN tab2 ON ....&lt;/P&gt;&lt;P&gt;  WHERE...&lt;/P&gt;&lt;P&gt;  GROUP BY...&lt;/P&gt;&lt;P&gt;  HAVING tab2~field1 IS NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how it can be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Marcin Cholewczuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 14:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditioins-in-outer-join/m-p/7064291#M1503747</guid>
      <dc:creator>marcin_cholewczuk</dc:creator>
      <dc:date>2010-06-30T14:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Conditioins in outer join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditioins-in-outer-join/m-p/7064292#M1503748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you encounter syntax errors or short dumps, please decribe these in all detail to put people in the position to help you. Also provide actual code and not place holders, which might not contain the actual cause of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding WHERE-conditions for outer joined tables, only those fields are not allowed in the WHERE-condition that you already use in the ON-condition to link the two tables. For background, see&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_70/en/ABAPSELECT_JOIN.htm" target="test_blank"&gt;http://help.sap.com/abapdocu_70/en/ABAPSELECT_JOIN.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 15:30:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditioins-in-outer-join/m-p/7064292#M1503748</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-06-30T15:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conditioins in outer join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditioins-in-outer-join/m-p/7064293#M1503749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not possible to use any field from right table when I use LEFT JOIN in WHERE condition. I'm always getting syntax error "No fields from the right-hand table of a LEFT OUTER JOIN may appear in the WHERE condition: &amp;lt;field name&amp;gt;.". However it looks like I can move this condition to ON condition in JOIN. Not sure if it will work how I want, but at least I'm not getting syntax errors or short dumps (DBIF_RSQL_SQL_ERROR - SQL error in the database when accessing a table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Marcin Cholewczuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 07:32:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditioins-in-outer-join/m-p/7064293#M1503749</guid>
      <dc:creator>marcin_cholewczuk</dc:creator>
      <dc:date>2010-07-01T07:32:12Z</dc:date>
    </item>
  </channel>
</rss>

