<?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: Inner Join in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487802#M227352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this code instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: VBRP, LIPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM VBRP.&lt;/P&gt;&lt;P&gt;SELECT * FROM LIPS WHERE vbeln = VBRP-vgbel and&lt;/P&gt;&lt;P&gt; POSNR = VBRP-vgpos  OR &lt;/P&gt;&lt;P&gt;UECHA = VBRP-vgpos.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jul 2006 10:34:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-26T10:34:08Z</dc:date>
    <item>
      <title>Inner Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487797#M227347</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;&lt;/P&gt;&lt;P&gt;I have problem in inner joins&lt;/P&gt;&lt;P&gt;My query is &lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;vbeln b&lt;/SUB&gt;vgbel from vbrp as a inner join lips as b on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vgbel and ( a&lt;SUB&gt;vgpos = b&lt;/SUB&gt;posnr OR a&lt;SUB&gt;vgpos = b&lt;/SUB&gt;uecha)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is we cannot use OR in inner joins&lt;/P&gt;&lt;P&gt;Please let me know  any alternative&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neha Kapoor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 10:17:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487797#M227347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-26T10:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Inner Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487798#M227348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take all records as,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;vbeln b&lt;/SUB&gt;vgbel from vbrp as a inner join lips as b on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vgbel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;into internal table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then delete based on your &lt;SUB&gt;vgpos = b&lt;/SUB&gt;posnr OR a&lt;SUB&gt;vgpos = b&lt;/SUB&gt;uecha condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 10:23:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487798#M227348</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-07-26T10:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Inner Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487799#M227349</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 have to populate the values in the ranges table and pass the ranges table in the where condition with 'in' parameter, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 10:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487799#M227349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-26T10:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inner Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487800#M227350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try following query..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;vbeln b&lt;/SUB&gt;vgbel &lt;/P&gt;&lt;P&gt;  from vbrp as a &lt;/P&gt;&lt;P&gt;  inner join lips as b &lt;/P&gt;&lt;P&gt;     on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vgbel &lt;/P&gt;&lt;P&gt;where a&lt;SUB&gt;vgpos = b&lt;/SUB&gt;posnr OR a&lt;SUB&gt;vgpos = b&lt;/SUB&gt;uecha..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 10:30:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487800#M227350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-26T10:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Inner Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487801#M227351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select a~vbeln b~vgbel 
       from vbrp as a inner join 
            lips as b 
             on a~vbeln = b~vgbel and 
                a~vgpos = b~posnr OR 
                a~vgpos = b~uecha.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 10:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487801#M227351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-26T10:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Inner Join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487802#M227352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this code instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: VBRP, LIPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM VBRP.&lt;/P&gt;&lt;P&gt;SELECT * FROM LIPS WHERE vbeln = VBRP-vgbel and&lt;/P&gt;&lt;P&gt; POSNR = VBRP-vgpos  OR &lt;/P&gt;&lt;P&gt;UECHA = VBRP-vgpos.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2006 10:34:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/1487802#M227352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-26T10:34:08Z</dc:date>
    </item>
  </channel>
</rss>

