<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076657#M729592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to inner join two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Ekpo : matnr, TXZ01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Mbew : STPRS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please send some suggestions on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Points Assured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2007 13:18:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-27T13:18:49Z</dc:date>
    <item>
      <title>Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076657#M729592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to inner join two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Ekpo : matnr, TXZ01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Mbew : STPRS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please send some suggestions on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Points Assured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 13:18:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076657#M729592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T13:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076658#M729593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;join EKPO MBEW on MATNR and BWTAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select ekpo&lt;SUB&gt;ebeln ekpo&lt;/SUB&gt;posnr&lt;/P&gt;&lt;P&gt; ekpo&lt;SUB&gt;matnr ekpo&lt;/SUB&gt;TXZ01 mbew~STPRS&lt;/P&gt;&lt;P&gt;into table tb_ekpo_mbew&lt;/P&gt;&lt;P&gt;from EKPO join MBEW&lt;/P&gt;&lt;P&gt;on EKPO&lt;SUB&gt;mantr = MBEW&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;and EKPO&lt;SUB&gt;BWTAR = MBEW&lt;/SUB&gt;BWTAR&lt;/P&gt;&lt;P&gt;where (your where condition)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 13:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076658#M729593</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2007-11-27T13:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076659#M729594</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;  Better to use FOR ALL ENTRIES it will be performance wise good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr txzo1 &lt;/P&gt;&lt;P&gt;          from EKPO &lt;/P&gt;&lt;P&gt;          into table it_ekpo&lt;/P&gt;&lt;P&gt;          where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not it_ekpo[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select stprs &lt;/P&gt;&lt;P&gt;          from mbew&lt;/P&gt;&lt;P&gt;          into tbale it_mbew&lt;/P&gt;&lt;P&gt;          for all entries in it_ekpo&lt;/P&gt;&lt;P&gt;          where matnr eq it_ekpo-matnr.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 13:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076659#M729594</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-11-27T13:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076660#M729595</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 tried with your code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it shows dump like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data that was read could not be written to the specified target field during a SELECT access. Either the conversion is not supported for the type of the target field, or the target field is too short to accept the value, or the data is not in the appropriateformat for the target field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 14:01:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076660#M729595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T14:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076661#M729596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jasmine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can you paste internal table declaration here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 14:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076661#M729596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T14:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076662#M729597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cleared that error and I used Prasanth code. But now it displays standars price only. Its not displaying the Matnr and  Description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr TXZ01&lt;/P&gt;&lt;P&gt; from EKPO into corresponding fields of table rep_search .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; if not rep_search is initial.&lt;/P&gt;&lt;P&gt; select stprs from mbew into corresponding fields of table rep_search for all entries in rep_search.&lt;/P&gt;&lt;P&gt;where matnr eq rep_search-matnr .&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 14:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076662#M729597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T14:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076663#M729598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select matnr TXZ01&lt;/P&gt;&lt;P&gt;from EKPO into corresponding fields of table rep_search .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not rep_search is initial.&lt;/P&gt;&lt;P&gt;select  mbew&lt;SUB&gt;matnr mbew&lt;/SUB&gt;stprs makt~maktx from mbew &lt;/P&gt;&lt;P&gt;join MAKTX on makt&lt;SUB&gt;matnr= mbew&lt;/SUB&gt;matnr and makt~spras = sy-langu into corresponding fields of table rep_search for all entries in rep_search.&lt;/P&gt;&lt;P&gt;where matnr eq rep_search-matnr .&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Jacek Slowikowski&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Jacek Slowikowski&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 14:28:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/3076663#M729598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T14:28:50Z</dc:date>
    </item>
  </channel>
</rss>

