<?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: Check Inner join in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-inner-join/m-p/4209766#M1005981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's pretty hard to say where the problem lies. As a start, try splitting up the SELECT. I'd see what happens without the JOIN on MBEW first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2008 14:13:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-17T14:13:27Z</dc:date>
    <item>
      <title>Check Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-inner-join/m-p/4209765#M1005980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please check below select statement because there are double records reasoning somethings . Shall I need to change order of joins ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT mara&lt;SUB&gt;matnr mara&lt;/SUB&gt;prdha marc&lt;SUB&gt;maabc mara&lt;/SUB&gt;meins&lt;/P&gt;&lt;P&gt;         makt&lt;SUB&gt;maktx marc&lt;/SUB&gt;trame mard~labst                        &lt;/P&gt;&lt;P&gt;         mbew&lt;SUB&gt;stprs mbew&lt;/SUB&gt;peinh&lt;/P&gt;&lt;P&gt;         INTO CORRESPONDING FIELDS OF gt_mara_itab&lt;/P&gt;&lt;P&gt;         FROM mara&lt;/P&gt;&lt;P&gt;         INNER JOIN makt&lt;/P&gt;&lt;P&gt;                    ON makt&lt;SUB&gt;matnr = mara&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;                    AND makt~spras = sy-langu&lt;/P&gt;&lt;P&gt;         INNER JOIN marc&lt;/P&gt;&lt;P&gt;                    ON marc&lt;SUB&gt;matnr = mara&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;         INNER JOIN mard&lt;/P&gt;&lt;P&gt;                    ON  mard&lt;SUB&gt;matnr = mara&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;                    AND mard&lt;SUB&gt;werks = marc&lt;/SUB&gt;werks&lt;/P&gt;&lt;P&gt;         LEFT OUTER JOIN mbew&lt;/P&gt;&lt;P&gt;                    ON mbew&lt;SUB&gt;matnr = marc&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;                    AND mbew&lt;SUB&gt;bwkey = marc&lt;/SUB&gt;werks.&lt;/P&gt;&lt;P&gt;            WHERE mara~matnr IN smal_tab&lt;/P&gt;&lt;P&gt;                AND mara~mtart IN s_mtart&lt;/P&gt;&lt;P&gt;                AND mara~matkl IN s_matkl&lt;/P&gt;&lt;P&gt;                AND marc~werks IN s_pplant&lt;/P&gt;&lt;P&gt;                AND mard~lgort NOT IN gr_lgort&lt;/P&gt;&lt;P&gt;                AND mara~lvorm = space&lt;/P&gt;&lt;P&gt;                AND marc~lvorm = space&lt;/P&gt;&lt;P&gt;                AND mard~lvorm = space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 13:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-inner-join/m-p/4209765#M1005980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T13:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Check Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-inner-join/m-p/4209766#M1005981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's pretty hard to say where the problem lies. As a start, try splitting up the SELECT. I'd see what happens without the JOIN on MBEW first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 14:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-inner-join/m-p/4209766#M1005981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T14:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Check Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-inner-join/m-p/4209767#M1005982</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;you'll have duplicates of material, its desceiption, but if u notice the quantity fields may not. thats because of data selection from marc and mard. jus delete the duplicates based on ur requirement. if u want unique entries at the time of selection itself, then use left outer join as u have used in the program for marc and mard. theres nothing wrong in your select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 14:14:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-inner-join/m-p/4209767#M1005982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T14:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Check Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-inner-join/m-p/4209768#M1005983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 14:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-inner-join/m-p/4209768#M1005983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T14:42:47Z</dc:date>
    </item>
  </channel>
</rss>

