<?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: Join Command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879912#M932591</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;Join Explain .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;JH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 May 2008 11:14:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-29T11:14:02Z</dc:date>
    <item>
      <title>Join Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879910#M932589</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;What is Purpose of Joint Command Using  Internal Table. how many type in join. briefly  Explain.&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;&lt;/P&gt;&lt;P&gt;JH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 09:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879910#M932589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T09:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Join Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879911#M932590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming that Joint was a typo.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never seen or heard of a JOIN command used on an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However it is used frequently in a SELECT statement for reading DB Tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT * INTO CORRESPONDING FIELDS OF TABLE it_mska
  FROM mara AS a
  JOIN marc AS b ON a~matnr = b~matnr.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 11:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879911#M932590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T11:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Join Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879912#M932591</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;Join Explain .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;JH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 11:14:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879912#M932591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T11:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Join Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879913#M932592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;v use join to club the data into one internal table from multiple tables..&lt;/P&gt;&lt;P&gt;but using join is not a performance intensive...so we use it if we are to join 2 or max 3 tables...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;simply its a cartesian product which joins the two tables...based on  a key.&lt;/P&gt;&lt;P&gt;for example, we fetch the data from iflot and iflo tables and put into out_tab say then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  i~tplnr&lt;/P&gt;&lt;P&gt;                 f~pltxt&lt;/P&gt;&lt;P&gt;                  i~invnr&lt;/P&gt;&lt;P&gt;                  i~objnr&lt;/P&gt;&lt;P&gt;                  i~erdat&lt;/P&gt;&lt;P&gt;                   i~fltyp&lt;/P&gt;&lt;P&gt;                   i~iwerk&lt;/P&gt;&lt;P&gt;                              &lt;/P&gt;&lt;P&gt;           INTO TABLE out_tab&lt;/P&gt;&lt;P&gt;            FROM ( ( (  iflot AS i INNER JOIN iflo AS f ON f&lt;SUB&gt;tplnr = i&lt;/SUB&gt;tplnr  )&lt;/P&gt;&lt;P&gt;                                       WHERE i&lt;SUB&gt;tplnr IN s_tplnr AND i&lt;/SUB&gt;fltyp IN s_fltyp AND i~objnr IN s_objnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz revert if any clarifications required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 11:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879913#M932592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T11:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Join Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879914#M932593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table joins are 2 types:&lt;/P&gt;&lt;P&gt;1. Inner join&lt;/P&gt;&lt;P&gt;2.Left Outer Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joins r used to take the data from tables....max is 3.&lt;/P&gt;&lt;P&gt;but these r not used because of performance &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 tables having data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emp table:                                              Dept.Table:&lt;/P&gt;&lt;P&gt;ID    NAME                                          ID        DEPT&lt;/P&gt;&lt;P&gt;1        A                                                1          D1&lt;/P&gt;&lt;P&gt;2        B                                                1          D2&lt;/P&gt;&lt;P&gt;3        C                                                3          D1&lt;/P&gt;&lt;P&gt;4        D                                                4          D1&lt;/P&gt;&lt;P&gt;                                                            4          D3&lt;/P&gt;&lt;P&gt;SELECT A~ID&lt;/P&gt;&lt;P&gt;             A~NAME&lt;/P&gt;&lt;P&gt;             B~DEPT&lt;/P&gt;&lt;P&gt;FROM EMP as A INNERJOIN DEPT as B&lt;/P&gt;&lt;P&gt;            on A&lt;SUB&gt;ID = B&lt;/SUB&gt;ID&lt;/P&gt;&lt;P&gt;INTO table ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNERJOIN:((ONLY MATCHING ENTRIES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-A-D1&lt;/P&gt;&lt;P&gt;1-A-D2&lt;/P&gt;&lt;P&gt;3-C-D1&lt;/P&gt;&lt;P&gt;4-D-D1&lt;/P&gt;&lt;P&gt;4-D-D3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTERJOIN:(ALL ENTRIES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-A-D1&lt;/P&gt;&lt;P&gt;1-A-D2&lt;/P&gt;&lt;P&gt;2-B-&lt;/P&gt;&lt;P&gt;3-C-D1&lt;/P&gt;&lt;P&gt;4-D-D1&lt;/P&gt;&lt;P&gt;4-D-D3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;GIRI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 12:11:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879914#M932593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T12:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Join Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879915#M932594</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;Why not try to use help.sap.com or your F1 online help to read about the SELECT statement and JOIN statement.  Or search the forums as these questions have been asked over and over and over before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 12:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-command/m-p/3879915#M932594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T12:19:33Z</dc:date>
    </item>
  </channel>
</rss>

