<?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: Join Statement require in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-statement-require/m-p/1936743#M387324</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 this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i see u dont need to have EQBS table in join to get SERGE values.. any way i coded with EQBS... if u feel u dont need u can take it out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assume u defined internal table with those fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ZGMARD&lt;SUB&gt;MATNR ZGMARD&lt;/SUB&gt;LGORT EQUI&lt;SUB&gt;EQUNR EQUI&lt;/SUB&gt;SERGE EQBS&lt;SUB&gt;WERKS INTO CORRESPONDING FIELDS OF TABLE ITAB FROM ZGMARD INNER JOIN EQUI ON ZGMARD&lt;/SUB&gt;MATNR = EQUI&lt;SUB&gt;MATNR INNER JOIN EQBS ON EQUI&lt;/SUB&gt;EQUNR = EQBS&lt;SUB&gt;EQUNR WHERE ZGMARD&lt;/SUB&gt;MATNR IN SO_MATNR AND EQBS~WERKS IN SO_WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_MATNR and SO_WERKS are select-options or parameters in selection screen. Provide some more condition in where clause for performace issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can add more conditions according to ur requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SAB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2007 20:16:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-06T20:16:25Z</dc:date>
    <item>
      <title>Join Statement require</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-statement-require/m-p/1936742#M387323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have three tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZGMARD&lt;/P&gt;&lt;P&gt;EQUI&lt;/P&gt;&lt;P&gt;EQBS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;ZGMARD tables has&amp;lt;/u&amp;gt; &lt;/P&gt;&lt;P&gt;MATNR&lt;/P&gt;&lt;P&gt;WERKS&lt;/P&gt;&lt;P&gt;LGORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;EQUI table has&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;EQUNR&lt;/P&gt;&lt;P&gt;MATNR&lt;/P&gt;&lt;P&gt;SERGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;EQBS table has&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;EQUNR&lt;/P&gt;&lt;P&gt;WERKS&lt;/P&gt;&lt;P&gt;PLANT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my requirement is I need a join statement where&lt;/P&gt;&lt;P&gt;dependeding on MATNR,WERKS and LGORT from ZGMARD I should be able to get the SERGE.(depending on tables EQUI and EQBS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 20:13:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-statement-require/m-p/1936742#M387323</guid>
      <dc:creator>former_member764673</dc:creator>
      <dc:date>2007-02-06T20:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Join Statement require</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-statement-require/m-p/1936743#M387324</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 this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i see u dont need to have EQBS table in join to get SERGE values.. any way i coded with EQBS... if u feel u dont need u can take it out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assume u defined internal table with those fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ZGMARD&lt;SUB&gt;MATNR ZGMARD&lt;/SUB&gt;LGORT EQUI&lt;SUB&gt;EQUNR EQUI&lt;/SUB&gt;SERGE EQBS&lt;SUB&gt;WERKS INTO CORRESPONDING FIELDS OF TABLE ITAB FROM ZGMARD INNER JOIN EQUI ON ZGMARD&lt;/SUB&gt;MATNR = EQUI&lt;SUB&gt;MATNR INNER JOIN EQBS ON EQUI&lt;/SUB&gt;EQUNR = EQBS&lt;SUB&gt;EQUNR WHERE ZGMARD&lt;/SUB&gt;MATNR IN SO_MATNR AND EQBS~WERKS IN SO_WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO_MATNR and SO_WERKS are select-options or parameters in selection screen. Provide some more condition in where clause for performace issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can add more conditions according to ur requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SAB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 20:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-statement-require/m-p/1936743#M387324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T20:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Join Statement require</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-statement-require/m-p/1936744#M387325</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;In real time generally we avoid the use of Inner Joins because of Performance Issue. Istead of joins you can go for SELECT FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashvender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 21:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-statement-require/m-p/1936744#M387325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T21:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Join Statement require</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-statement-require/m-p/1936745#M387326</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;Its giving me ALIAS name table error..&lt;/P&gt;&lt;P&gt;Is there any thing I can do..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 21:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-statement-require/m-p/1936745#M387326</guid>
      <dc:creator>former_member764673</dc:creator>
      <dc:date>2007-02-06T21:33:24Z</dc:date>
    </item>
  </channel>
</rss>

