<?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: A016 &amp; KAPOL Performance Tuning in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a016-kapol-performance-tuning/m-p/3485415#M837981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We finally figure it out... instead of using kschl IN r_kschl, we changed it to kschl = 'xxxx' and added a second select with the other conditon type with an APPENDING.  That reduced the time spent parsing through the pooled table (ie. from 2 hours to 2 minutes).  Woohoo!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps anyone if the same situation in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2008 19:12:01 GMT</pubDate>
    <dc:creator>dean_hinson2</dc:creator>
    <dc:date>2008-03-06T19:12:01Z</dc:date>
    <item>
      <title>A016 &amp; KAPOL Performance Tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a016-kapol-performance-tuning/m-p/3485413#M837979</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;We have a custom program that extracts all the pricing conditions for all applicable contracts. &lt;/P&gt;&lt;P&gt;We are using table A016 whch is a pooled table. During the performance trace, we noticed that the system use KAPOL instead the A016. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that that access to that table is very slow, and the program run for more that 8 hours. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Do you know some method to optimize the performances of the access in this A016/KAPOL? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Or maybe there's some call function to be used to extract contracts &amp;amp; condition without doing the classic select from A016 and then the KONP? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is our current code snippet..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT * FROM a016 INTO TABLE g_t_a016&lt;/P&gt;&lt;P&gt;       FOR ALL ENTRIES IN t_ekpo&lt;/P&gt;&lt;P&gt;     WHERE kappl =  'M'&lt;/P&gt;&lt;P&gt;       AND kschl IN r_kschl&lt;/P&gt;&lt;P&gt;       AND evrtn =  t_ekpo-ebeln&lt;/P&gt;&lt;P&gt;       AND evrtp =  t_ekpo-ebelp&lt;/P&gt;&lt;P&gt;       AND datbi &amp;gt;= date_beg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 12:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a016-kapol-performance-tuning/m-p/3485413#M837979</guid>
      <dc:creator>dean_hinson2</dc:creator>
      <dc:date>2008-03-06T12:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: A016 &amp; KAPOL Performance Tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a016-kapol-performance-tuning/m-p/3485414#M837980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SELECT on A016 in actuals fetches data from KAPOL pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try fetching data using each Condition type one at a time if the number of condition types is less.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For POOL tables that contain large amounts of data and are highly accessed, convert the pooled table into a transparent table and add an index. POOLED tables are supposed to be collections of smaller tables that are quickly accessed from the database or are completely buffered in memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooled tables containing more than a few hundred rows and are accessed many times in a report or transaction are candidates for POOL to TRANSPARENT Conversion. For example, table A053 contains tax jurisdiction condition information and are accessed more than ten times in the sales order create transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the entire United States tax codes are loaded into these condition tables, the time to save a sales order increases to unacceptable levels. Converting the tax condition table to transparent and creating an index based upon the key fields, decreases processing time from minutes to seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for all helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 15:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a016-kapol-performance-tuning/m-p/3485414#M837980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T15:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: A016 &amp; KAPOL Performance Tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a016-kapol-performance-tuning/m-p/3485415#M837981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We finally figure it out... instead of using kschl IN r_kschl, we changed it to kschl = 'xxxx' and added a second select with the other conditon type with an APPENDING.  That reduced the time spent parsing through the pooled table (ie. from 2 hours to 2 minutes).  Woohoo!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps anyone if the same situation in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 19:12:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a016-kapol-performance-tuning/m-p/3485415#M837981</guid>
      <dc:creator>dean_hinson2</dc:creator>
      <dc:date>2008-03-06T19:12:01Z</dc:date>
    </item>
  </channel>
</rss>

