<?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: Relationship between tables while using inner joins. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598075#M1568012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. Is it necessary that the tables on which im performing an inner join should have a parent-child/children relationship or is it enough that the tables just have a common field.&lt;/P&gt;&lt;P&gt;2. Also is it necessary that the master table should come first, (or can i use any child table from where i can fetch the records when there is a mater table in my report) as shown below.&lt;/P&gt;&lt;P&gt;Eg: select * &amp;lt;fields&amp;gt; from &amp;lt;master table&amp;gt; inner join &amp;lt;table&amp;gt; on &amp;lt;field&amp;gt; into &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ans:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 1 . You have to take every common fields not partial.&lt;/P&gt;&lt;P&gt;2. There is no such rule&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Dec 2010 08:27:56 GMT</pubDate>
    <dc:creator>anjan_paul</dc:creator>
    <dc:date>2010-12-27T08:27:56Z</dc:date>
    <item>
      <title>Relationship between tables while using inner joins.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598073#M1568010</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;I had a few clarifications on "inner joins", and as i was going through the forum, i came across two points,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In one of the threads it said " inner joins is applicable for tables that have a parent child relationship.&lt;/P&gt;&lt;P&gt;2. In another thread it said " inner join is established from master table (the table on the left) to the transcation table (the table on the right)".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two clarifications based on the above points.&lt;/P&gt;&lt;P&gt;1. Is it necessary that the tables on which im performing an inner join should have a parent-child/children relationship or is it enough that the tables just have a common field.&lt;/P&gt;&lt;P&gt;2.  Also is it necessary that the master table should come first, (or can i use any child table from where i can fetch the records when there is a mater table in my report) as shown below.&lt;/P&gt;&lt;P&gt;Eg: select * &amp;lt;fields&amp;gt; from &amp;lt;master table&amp;gt; inner join &amp;lt;table&amp;gt; on &amp;lt;field&amp;gt; into &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Narayananchandran on Dec 27, 2010 12:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 06:59:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598073#M1568010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-27T06:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between tables while using inner joins.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598074#M1568011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I have two clarifications based on the above points.&lt;/P&gt;&lt;P&gt;1. Is it necessary that the tables on which im performing an inner join should have a parent-child/children relationship or is it enough that the tables just have a common field.&lt;/P&gt;&lt;P&gt;2. Also is it necessary that the master table should come first, (or can i use any child table from where i can fetch the records when there is a mater table in my report) as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;1.Common field is enough.&lt;/P&gt;&lt;P&gt;2. There is no such rule.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 07:02:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598074#M1568011</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2010-12-27T07:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between tables while using inner joins.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598075#M1568012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. Is it necessary that the tables on which im performing an inner join should have a parent-child/children relationship or is it enough that the tables just have a common field.&lt;/P&gt;&lt;P&gt;2. Also is it necessary that the master table should come first, (or can i use any child table from where i can fetch the records when there is a mater table in my report) as shown below.&lt;/P&gt;&lt;P&gt;Eg: select * &amp;lt;fields&amp;gt; from &amp;lt;master table&amp;gt; inner join &amp;lt;table&amp;gt; on &amp;lt;field&amp;gt; into &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ans:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 1 . You have to take every common fields not partial.&lt;/P&gt;&lt;P&gt;2. There is no such rule&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 08:27:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598075#M1568012</guid>
      <dc:creator>anjan_paul</dc:creator>
      <dc:date>2010-12-27T08:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between tables while using inner joins.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598076#M1568013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt; have two clarifications based on the above points.
1. Is it necessary that the tables on which im performing an inner join should have a parent-child/children relationship or is it enough that the tables just have a common field.
2. Also is it necessary that the master table should come first, (or can i use any child table from where i can fetch the records when there is a mater table in my report) as shown below.
Eg: select * &amp;lt;fields&amp;gt; from &amp;lt;master table&amp;gt; inner join &amp;lt;table&amp;gt; on &amp;lt;field&amp;gt; into &amp;lt;itab&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;1) NO
                  2) NO&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 08:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598076#M1568013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-27T08:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between tables while using inner joins.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598077#M1568014</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;1. It is not necessary that the tables on which im performing an inner join should have a parent-child relationship. There is no such rule.&lt;/P&gt;&lt;P&gt;2. Also it is not necessary that the master table should come first. Tables can come in any sequence.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 09:34:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598077#M1568014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-27T09:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between tables while using inner joins.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598078#M1568015</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;Check the relation in SQVI transaction and check whether any join exists for the table you want to Join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your questions the SQVI transation will be the right Answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 09:38:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-between-tables-while-using-inner-joins/m-p/7598078#M1568015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-27T09:38:20Z</dc:date>
    </item>
  </channel>
</rss>

