<?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: joining 5 tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685269#M620967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi,&lt;/P&gt;&lt;P&gt;           SAP limited joining of 3 tables maximum,and also avoid using joining fro that use for all entries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2007 17:04:47 GMT</pubDate>
    <dc:creator>suredarreddy_pulimamidi</dc:creator>
    <dc:date>2007-08-28T17:04:47Z</dc:date>
    <item>
      <title>joining 5 tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685265#M620963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anybody  tell how to join 5 tables .....if u have coding plz send me ........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 13:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685265#M620963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T13:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: joining 5 tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685266#M620964</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;Joining 5 tables will give performance issue...if u r very sure then only go ahead..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Dhananjay Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 13:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685266#M620964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T13:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: joining 5 tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685267#M620965</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 dont you create Views and then use the view in your SELECT query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generic example of JOINING 5 tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT FLD1 FLD2 FLD3 FLD4 FLD5 INTO CORRESPONDING FIELDS OF TABLE ITAB FROM TABLE1 &amp;lt;b&amp;gt;INNER JOIN&amp;lt;/b&amp;gt; TABLE2 ON TABLE1&lt;SUB&gt;FLD1 = &amp;lt;b&amp;gt;TABLE2&lt;/SUB&gt;FLD1&amp;lt;b&amp;gt; INNER JOIN&amp;lt;/b&amp;gt; TABLE3 ON TABLE2&lt;SUB&gt;FLD2 = TABLE3&lt;/SUB&gt;FLD2 INNER JOIN&amp;lt;/b&amp;gt; TABL4 ON TABLE3&lt;SUB&gt;FLD3 = TABLE4&lt;/SUB&gt;FLD3 &amp;lt;b&amp;gt;INNER JOIN&amp;lt;/b&amp;gt; TABLE5 ON TABLE4&lt;SUB&gt;FLD4 = TABLE5&lt;/SUB&gt;FLD5 WHERE FLD1 = 'AA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 13:29:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685267#M620965</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-28T13:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: joining 5 tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685268#M620966</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; There is no difference in joining 2 tables are 5 tables.. the systax goes like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select table1&lt;SUB&gt;field table2&lt;/SUB&gt;field table3~field..... from table1 &lt;/P&gt;&lt;P&gt;                            join table2 on table1&lt;SUB&gt;field = table2&lt;/SUB&gt;field&lt;/P&gt;&lt;P&gt;                            join table3 on table2&lt;SUB&gt;field = table3&lt;/SUB&gt;field........&lt;/P&gt;&lt;P&gt;                            where &amp;lt;your condiation&amp;gt; ex... table~field in s_field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 13:57:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685268#M620966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T13:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: joining 5 tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685269#M620967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi,&lt;/P&gt;&lt;P&gt;           SAP limited joining of 3 tables maximum,and also avoid using joining fro that use for all entries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 17:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685269#M620967</guid>
      <dc:creator>suredarreddy_pulimamidi</dc:creator>
      <dc:date>2007-08-28T17:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: joining 5 tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685270#M620968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont use joins on five tables, it will impact the performence very badly.. instead use FOR ALL ENTRIES..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proceed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT xxxx&lt;/P&gt;&lt;P&gt;FROM xxxx&lt;/P&gt;&lt;P&gt;INTO tab1&lt;/P&gt;&lt;P&gt;WHERE selection condtions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0&lt;/P&gt;&lt;P&gt;AND NOT tab1[] IS INITIAl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT yyyy&lt;/P&gt;&lt;P&gt;FROM yyyy&lt;/P&gt;&lt;P&gt;INTO tab2&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN tab1&lt;/P&gt;&lt;P&gt;WHERE xxx EQ tab1-xxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on.. for all the 5 tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Vikas Bittera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Points for useful answers&lt;/STRONG&gt;**&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 17:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-5-tables/m-p/2685270#M620968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T17:13:38Z</dc:date>
    </item>
  </channel>
</rss>

