<?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 Inner join Vs Outer join with ABAP code...? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-vs-outer-join-with-abap-code/m-p/2199636#M469820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inner join Vs Outer join with ABAP code...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2007 12:24:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-04T12:24:59Z</dc:date>
    <item>
      <title>Inner join Vs Outer join with ABAP code...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-vs-outer-join-with-abap-code/m-p/2199636#M469820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inner join Vs Outer join with ABAP code...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 12:24:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-vs-outer-join-with-abap-code/m-p/2199636#M469820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T12:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join Vs Outer join with ABAP code...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-vs-outer-join-with-abap-code/m-p/2199637#M469821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inner Join means, it will not select that recor at all, unless there is a matching entry in the second table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose table VBAK INNER join table VBAP on VBAK&lt;SUB&gt;VBELN = VBAP&lt;/SUB&gt;VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, if there are no entries in VBAP, the header entry also will not show up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in case of OUTER JOIN, even if there is no items, it will show the header entry(VBAK) with blank columns for fields  from item table.(VBAP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is one sample for inner join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT   A~EBELN&lt;/P&gt;&lt;P&gt;           A~EKORG&lt;/P&gt;&lt;P&gt;           A~EKGRP&lt;/P&gt;&lt;P&gt;           A~BSART&lt;/P&gt;&lt;P&gt;           A~LPONR&lt;/P&gt;&lt;P&gt;           A~LOEKZ&lt;/P&gt;&lt;P&gt;           A~LIFNR&lt;/P&gt;&lt;P&gt;           A~RESWK&lt;/P&gt;&lt;P&gt;           B~AEDAT&lt;/P&gt;&lt;P&gt;           B~WERKS&lt;/P&gt;&lt;P&gt;           B~MATNR&lt;/P&gt;&lt;P&gt;           B~MENGE&lt;/P&gt;&lt;P&gt;           B~EBELP&lt;/P&gt;&lt;P&gt;           B~ELIKZ&lt;/P&gt;&lt;P&gt;           B~PLIFZ&lt;/P&gt;&lt;P&gt;           B~PSTYP&lt;/P&gt;&lt;P&gt;           B~KNTTP&lt;/P&gt;&lt;P&gt;           B~MATKL&lt;/P&gt;&lt;P&gt;           B~ZZD_PLANT&lt;/P&gt;&lt;P&gt;           FROM EKKO AS A INNER JOIN EKPO AS B&lt;/P&gt;&lt;P&gt;           ON&lt;/P&gt;&lt;P&gt;           A&lt;SUB&gt;EBELN = B&lt;/SUB&gt;EBELN&lt;/P&gt;&lt;P&gt;           INTO CORRESPONDING FIELDS OF TABLE T_DATA&lt;/P&gt;&lt;P&gt;           FOR ALL ENTRIES IN T_EKET&lt;/P&gt;&lt;P&gt;           WHERE&lt;/P&gt;&lt;P&gt;           A~EBELN EQ T_EKET-EBELN AND&lt;/P&gt;&lt;P&gt;           A~BSART EQ C_UBSTO      AND&lt;/P&gt;&lt;P&gt;           A~EKORG IN S_EKORG      AND&lt;/P&gt;&lt;P&gt;           A~EKGRP IN S_EKGRP      AND&lt;/P&gt;&lt;P&gt;           A~BSTYP EQ C_BSTYP      AND&lt;/P&gt;&lt;P&gt;           A~LOEKZ EQ SPACE        AND " Order not deleted&lt;/P&gt;&lt;P&gt;           A~RESWK IN S_RESWK      AND&lt;/P&gt;&lt;P&gt;           B~EBELN EQ T_EKET-EBELN AND&lt;/P&gt;&lt;P&gt;           B~EBELP EQ T_EKET-EBELP AND&lt;/P&gt;&lt;P&gt;           B~WERKS IN S_WERKS      AND&lt;/P&gt;&lt;P&gt;           B~MATNR IN S_MATNR      AND&lt;/P&gt;&lt;P&gt;           B~MATKL IN S_MATKL      AND&lt;/P&gt;&lt;P&gt;           B~LOEKZ EQ SPACE.           " Line item not deleted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 12:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-vs-outer-join-with-abap-code/m-p/2199637#M469821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T12:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join Vs Outer join with ABAP code...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-vs-outer-join-with-abap-code/m-p/2199638#M469822</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;Go through the link,&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ec77446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ec77446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="75099"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azaz Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 14:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-vs-outer-join-with-abap-code/m-p/2199638#M469822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T14:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join Vs Outer join with ABAP code...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-vs-outer-join-with-abap-code/m-p/2199639#M469823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;Check this if is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN&lt;/P&gt;&lt;P&gt; With an inner join, you only get the records of the cross-product for which there is an entry in all tables used in the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTER JOIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; With an outer join, records are also selected for which there is no entry in some of the tables used in the view.&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;Dinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 05:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-vs-outer-join-with-abap-code/m-p/2199639#M469823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T05:16:25Z</dc:date>
    </item>
  </channel>
</rss>

