<?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: please help - error: JOIN IS NOT ALLOWED in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-error-join-is-not-allowed/m-p/4612882#M1086897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there are three types of Database Tables.&lt;/P&gt;&lt;P&gt;1. Transperant Table&lt;/P&gt;&lt;P&gt;2. cluster table&lt;/P&gt;&lt;P&gt;3. pooled table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN in select query is allowed only in case of transperant table.&lt;/P&gt;&lt;P&gt;As REGUP is a Cluster Table, you cannot write INNER JOIN with this table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Oct 2008 07:30:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-27T07:30:40Z</dc:date>
    <item>
      <title>please help - error: JOIN IS NOT ALLOWED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-error-join-is-not-allowed/m-p/4612879#M1086894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guyz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im new to ABAP and i try query REGUP table using this code:&lt;/P&gt;&lt;P&gt;i try to run this code but it always prompt, FOR POOLED TABLES, CLUSTER TABLES, AND PROJECTION VIEWS, JOIN IS NOT ALLOWED: "REGUP"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;    READ TABLE I_EDID4 INDEX 1.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE itab-MGSTYP  "insert msgtyp&lt;/P&gt;&lt;P&gt;                  A~BUKRS      "Company Code&lt;/P&gt;&lt;P&gt;                  A~LIFNR      "Vendor&lt;/P&gt;&lt;P&gt;                  B~XEDIP      "Registered or Not&lt;/P&gt;&lt;P&gt;    INTO (I_COUNT-BSART, I_COUNT-BUKRS, I_COUNT-LIFNR, I_COUNT-XEDIP)&lt;/P&gt;&lt;P&gt;    FROM REGUP as A&lt;/P&gt;&lt;P&gt;      INNER JOIN LFB1 as B&lt;/P&gt;&lt;P&gt;      ON A&lt;SUB&gt;LIFNR EQ B&lt;/SUB&gt;LIFNR&lt;/P&gt;&lt;P&gt;      WHERE A~VBLNR = I_EDID4-SDATA+21(10).&lt;/P&gt;&lt;P&gt;      I_COUNT-DOCNUM = ITAB-DOCNUM.&lt;/P&gt;&lt;P&gt;    APPEND I_COUNT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the best alternative way for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 06:40:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-error-join-is-not-allowed/m-p/4612879#M1086894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T06:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: please help - error: JOIN IS NOT ALLOWED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-error-join-is-not-allowed/m-p/4612880#M1086895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from the message it is very clear that it is not possible to use joins, so use separate selects and use for all entries for second select using the first selected data. read the help on selecting the data using various ways from database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 06:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-error-join-is-not-allowed/m-p/4612880#M1086895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T06:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: please help - error: JOIN IS NOT ALLOWED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-error-join-is-not-allowed/m-p/4612881#M1086896</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; The best possible way is to select the desired data from tables &lt;/P&gt;&lt;P&gt; into the internal table respectively and then read internal tables as per your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg : select * from mara into itab1 where cond(if applicable)&lt;/P&gt;&lt;P&gt;      select * from makt into itab2 where cond(if applicable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;l_tabix  sy-tabix.&lt;/P&gt;&lt;P&gt;read table itab2 with key matnr = itab1-matnr.&lt;/P&gt;&lt;P&gt;modify itab1 index l_tabix transporting maktx.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Ruchi Tiwari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 07:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-error-join-is-not-allowed/m-p/4612881#M1086896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T07:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: please help - error: JOIN IS NOT ALLOWED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-error-join-is-not-allowed/m-p/4612882#M1086897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there are three types of Database Tables.&lt;/P&gt;&lt;P&gt;1. Transperant Table&lt;/P&gt;&lt;P&gt;2. cluster table&lt;/P&gt;&lt;P&gt;3. pooled table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN in select query is allowed only in case of transperant table.&lt;/P&gt;&lt;P&gt;As REGUP is a Cluster Table, you cannot write INNER JOIN with this table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 07:30:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-error-join-is-not-allowed/m-p/4612882#M1086897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T07:30:40Z</dc:date>
    </item>
  </channel>
</rss>

