<?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 Using join on pooled table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-join-on-pooled-table/m-p/2194432#M468208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai can any one tell how to use  sql statements on pooled tables like bseg,&lt;/P&gt;&lt;P&gt;can i use join on them if so how&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;afzal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2007 08:16:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-24T08:16:02Z</dc:date>
    <item>
      <title>Using join on pooled table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-join-on-pooled-table/m-p/2194432#M468208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai can any one tell how to use  sql statements on pooled tables like bseg,&lt;/P&gt;&lt;P&gt;can i use join on them if so how&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;afzal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 08:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-join-on-pooled-table/m-p/2194432#M468208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T08:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using join on pooled table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-join-on-pooled-table/m-p/2194433#M468209</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;We can't use join on Pooled table or cluster tables.  We need to use for all entries only.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if satisfied&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Krishna K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 08:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-join-on-pooled-table/m-p/2194433#M468209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T08:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using join on pooled table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-join-on-pooled-table/m-p/2194434#M468210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you should not use joins or atleast SELECT's on POOLED and CLUSTERED tables....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead you can use the realted transparent tables....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHeck the below details...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where possible, avoid select statements which read table BSEG. This is an enormous table and reading it can have major performance implications. An alternative is to use one of the index tables instead. These contain most of the fields from the accounting document (BKPF) and the document line (BSEG) and all of the fields are indexed giving major performance advantages. There are 6 index tables which between them cover all of the document lines in BSEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSIS G/L items (uncleared) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSAS G/L items (cleared) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSIK A/P items (uncleared) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSAK A/P items (cleared) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSID A/R items (uncleared) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSAD A/R items (cleared) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't know whether an item is cleared or not, it usually pays to do a select on the 'uncleared' table (eg BSIS for G/L lines) and if nothing is found then select from the 'cleared' table(in this case BSAS). This still has major performance advantages over a direct select on BSEG if you don't have the key fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the few occasions where a field is required which is not available in the index it will still usually be faster to read the index to find the Document and Line Item numbers and then read BKPF/BSEG with these key fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 08:18:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-join-on-pooled-table/m-p/2194434#M468210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T08:18:03Z</dc:date>
    </item>
  </channel>
</rss>

