<?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: query error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-error/m-p/2604165#M596690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have closed all threads and given points also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Rajaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Aug 2007 05:03:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-04T05:03:30Z</dc:date>
    <item>
      <title>query error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-error/m-p/2604163#M596688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abapers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        When i compile this query, am getting the following error, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For pooled tables, cluster tables, and projection views, JOIN is not allowd "BSEG"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i want form the query like this condition, what can i do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A~BELNR&lt;/P&gt;&lt;P&gt;       A~VALUT&lt;/P&gt;&lt;P&gt;       A~EBELN&lt;/P&gt;&lt;P&gt;       A~EBELP&lt;/P&gt;&lt;P&gt;       A~LIFNR&lt;/P&gt;&lt;P&gt;       A~MATNR&lt;/P&gt;&lt;P&gt;       A~WERKS&lt;/P&gt;&lt;P&gt;       A~MENGE&lt;/P&gt;&lt;P&gt;       A~MEINS&lt;/P&gt;&lt;P&gt;       A~GJAHR&lt;/P&gt;&lt;P&gt;       A~DMBTR&lt;/P&gt;&lt;P&gt;       B~BLART&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE IT_BSEG1&lt;/P&gt;&lt;P&gt;FROM BSEG AS A&lt;/P&gt;&lt;P&gt;INNER JOIN BSIK AS B ON A&lt;SUB&gt;BELNR = B&lt;/SUB&gt;BELNR&lt;/P&gt;&lt;P&gt;for all entries in it_bseg2&lt;/P&gt;&lt;P&gt;WHERE A~EBELN = IT_BSEG2-EBELN and&lt;/P&gt;&lt;P&gt;      A~GJAHR = IT_BSEG2-GJAHR and&lt;/P&gt;&lt;P&gt;      B~BLART = 'RE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance..&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 04:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-error/m-p/2604163#M596688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T04:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: query error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-error/m-p/2604164#M596689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can not perform JOIN on Cluster tables as BSEG is a Cluster table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use FOR ALL ENTRIES instead of JOINs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Friendly Note:&amp;lt;/b&amp;gt; You have many open threads and Plz close the threads if they are answered/solved and reward points to the people who are helping you by taking their valuable time apart from their regular activities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 04:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-error/m-p/2604164#M596689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T04:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: query error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-error/m-p/2604165#M596690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have closed all threads and given points also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Rajaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 05:03:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-error/m-p/2604165#M596690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T05:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: query error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-error/m-p/2604166#M596691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Rightly said you can not use joins in cluster tables such as BSEG and KONV in joins instead you will have to use your own query using either for all entries or first moving all values from bseg into an internal table and all values from the other table into another table and then using the read with key statement to update the values in one IT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2007 05:13:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-error/m-p/2604166#M596691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-04T05:13:26Z</dc:date>
    </item>
  </channel>
</rss>

