<?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: Left Out join..... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206769#M472185</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;Just use Inner Join as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A~ASSETNO INTO ASSETNO-ASSETNO FROM ZASSET_DETAILS AS A &amp;lt;b&amp;gt;INNER JOIN&amp;lt;/b&amp;gt; ZASSET_FLAG AS B&lt;/P&gt;&lt;P&gt;ON A&lt;SUB&gt;ASSETNO EQ B&lt;/SUB&gt;ASSETNO&lt;/P&gt;&lt;P&gt;WHERE A&lt;SUB&gt;ASSETYPE = 'Laptop' and B&lt;/SUB&gt;ASSETFLG eq '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2007 05:29:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-03T05:29:59Z</dc:date>
    <item>
      <title>Left Out join.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206766#M472182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi alll&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have written left out join coding &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zaset_details has 50 records.&lt;/P&gt;&lt;P&gt;zasset_flag has 5 records - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Primary key assetno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A~ASSETNO  INTO ASSETNO-ASSETNO FROM ZASSET_DETAILS AS A LEFT OUTER JOIN ZASSET_FLAG AS B&lt;/P&gt;&lt;P&gt;ON A&lt;SUB&gt;ASSETNO EQ B&lt;/SUB&gt;ASSETNO&lt;/P&gt;&lt;P&gt;          WHERE  A&lt;SUB&gt;ASSETYPE = 'Laptop' and B&lt;/SUB&gt;ASSETFLG eq '0'.&lt;/P&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; assetno-assetno.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while running that coding, following error occured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"No fields from the right-hand table of a LEFT OUTER JOIN may appear in&lt;/P&gt;&lt;P&gt;the WHERE condition: "B~ASSETFLG"."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 05:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206766#M472182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T05:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Left Out join.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206767#M472183</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;Donot give b~assetflg condition in where clause instead select it into ITAB and then filter it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 05:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206767#M472183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T05:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Left Out join.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206768#M472184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Going by the error you cannot use B~ASSETFLG eq '0'.  in the where condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with inner join&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 05:28:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206768#M472184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T05:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Left Out join.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206769#M472185</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;Just use Inner Join as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A~ASSETNO INTO ASSETNO-ASSETNO FROM ZASSET_DETAILS AS A &amp;lt;b&amp;gt;INNER JOIN&amp;lt;/b&amp;gt; ZASSET_FLAG AS B&lt;/P&gt;&lt;P&gt;ON A&lt;SUB&gt;ASSETNO EQ B&lt;/SUB&gt;ASSETNO&lt;/P&gt;&lt;P&gt;WHERE A&lt;SUB&gt;ASSETYPE = 'Laptop' and B&lt;/SUB&gt;ASSETFLG eq '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 05:29:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206769#M472185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T05:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Left Out join.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206770#M472186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the left outer join , u can not put condition on right hand table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A~ASSETNO INTO ASSETNO-ASSETNO FROM ZASSET_DETAILS AS A LEFT OUTER JOIN ZASSET_FLAG AS B&lt;/P&gt;&lt;P&gt;ON A&lt;SUB&gt;ASSETNO EQ B&lt;/SUB&gt;ASSETNO&lt;/P&gt;&lt;P&gt;WHERE A&lt;SUB&gt;ASSETYPE = 'Laptop' and &amp;lt;b&amp;gt;B&lt;/SUB&gt;ASSETFLG eq '0'.&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Soniks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 05:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206770#M472186</guid>
      <dc:creator>former_member632991</dc:creator>
      <dc:date>2007-05-03T05:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Left Out join.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206771#M472187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muthu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We cannot give the field for the right hand table in the condition. Because.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- left outer join will get everything which is on the left. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- where condition should be on left and table and on condition on right hand table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- on left outer join... if you have no entries in the right hand table matching to the left hand table then it joins the table but gives a null entry correpsong to d missg value... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, that is the reason you are getting that error... please read help on joins and will will get a pictorial solution to you problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please award if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 05:32:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-out-join/m-p/2206771#M472187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T05:32:47Z</dc:date>
    </item>
  </channel>
</rss>

