<?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: innerjoin ON eina and eine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/innerjoin-on-eina-and-eine/m-p/2306266#M504564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT &lt;/P&gt;&lt;P&gt;a~infrn &lt;/P&gt;&lt;P&gt;a~matnr &lt;/P&gt;&lt;P&gt;a~lifnr &lt;/P&gt;&lt;P&gt;b~ekorg &lt;/P&gt;&lt;P&gt;b~werks&lt;/P&gt;&lt;P&gt;INTO TABLE ITAB1&lt;/P&gt;&lt;P&gt;FROM &lt;/P&gt;&lt;P&gt;eina AS a&lt;/P&gt;&lt;P&gt;INNER JOIN &lt;/P&gt;&lt;P&gt;eine AS b &lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;infnr = b&lt;/SUB&gt;infnr " This is Inner Join condition&lt;/P&gt;&lt;P&gt;WHERE " Some where conditions ifyou wish to add.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2007 04:17:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-16T04:17:12Z</dc:date>
    <item>
      <title>innerjoin ON eina and eine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/innerjoin-on-eina-and-eine/m-p/2306264#M504562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all ,&lt;/P&gt;&lt;P&gt;i need to do a inner join on eina and eine table to pull lifnr,matnr,infnr,ekorg and werks.&lt;/P&gt;&lt;P&gt;how to write a innerjoin for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;deepthi.n&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 00:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/innerjoin-on-eina-and-eine/m-p/2306264#M504562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T00:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: innerjoin ON eina and eine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/innerjoin-on-eina-and-eine/m-p/2306265#M504563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say you have an internal table as below -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN of tb_purinfo OCCURS 0,
         infnr type eina-infnr,
         matnr type eina-matnr,
         lifnr type eina-lifnr,
         ekorg type eine-ekorg,
	 werks type eine-werks,
      END of tb_purinfo.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your query would be -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT a~infrn a~matnr a~lifnr b~ekorg b~werks
INTO TABLE tb_purinfo
FROM eina AS a
INNER JOIN eine AS b on a~infnr = b~infnr
WHERE a~infnr = some restricting condition&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above query, eina is represented as 'a' and eine is represented as 'b' and then both of them are joined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if I can be of further assistance &amp;amp; reward points if this is helpful.&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>Wed, 16 May 2007 01:12:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/innerjoin-on-eina-and-eine/m-p/2306265#M504563</guid>
      <dc:creator>former_member214288</dc:creator>
      <dc:date>2007-05-16T01:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: innerjoin ON eina and eine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/innerjoin-on-eina-and-eine/m-p/2306266#M504564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT &lt;/P&gt;&lt;P&gt;a~infrn &lt;/P&gt;&lt;P&gt;a~matnr &lt;/P&gt;&lt;P&gt;a~lifnr &lt;/P&gt;&lt;P&gt;b~ekorg &lt;/P&gt;&lt;P&gt;b~werks&lt;/P&gt;&lt;P&gt;INTO TABLE ITAB1&lt;/P&gt;&lt;P&gt;FROM &lt;/P&gt;&lt;P&gt;eina AS a&lt;/P&gt;&lt;P&gt;INNER JOIN &lt;/P&gt;&lt;P&gt;eine AS b &lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;infnr = b&lt;/SUB&gt;infnr " This is Inner Join condition&lt;/P&gt;&lt;P&gt;WHERE " Some where conditions ifyou wish to add.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 04:17:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/innerjoin-on-eina-and-eine/m-p/2306266#M504564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T04:17:12Z</dc:date>
    </item>
  </channel>
</rss>

