<?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: Performance issue - Pricing Report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-pricing-report/m-p/5057720#M1175492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would not sign a lot of the recommendations going around here. Seems like a complex report you are doing there, so here is my personal generic recommendations:&lt;/P&gt;&lt;P&gt;- always use index when selecting from database tables&lt;/P&gt;&lt;P&gt;- avoid redundant database accesses to unbuffered tables, only read fields you really need for processing&lt;/P&gt;&lt;P&gt;- use sorted or hashed tables for reads or loops and access them by key&lt;/P&gt;&lt;P&gt;- use ASSIGNING rather than INTO when reading or looping (small gain)&lt;/P&gt;&lt;P&gt;- use SE30 and if necessary ST05 to fine tune if not yet satisfied with the runtime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2009 14:31:02 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2009-01-06T14:31:02Z</dc:date>
    <item>
      <title>Performance issue - Pricing Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-pricing-report/m-p/5057717#M1175489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed an ALV report and I need to improve the performance in production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a relatively complex issue here. I have to fetch data for pricing from a pricing condition from all the respective underlying condition tables (AXXX). Then for every material, I have to display the material class classification characteristics and their values maintained in the material master as well as batch classification characteristics and their corresponding values maintained for every batch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;In this way, if the condition is having 10 materials, every material has say 10 material class characteristic and 12 batch class characteristics then the total number of rows in the out put should be 130 (one for material and 12 rows for classifications).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I optimize the output so that the performance is optimized. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also fetching other data for the output like stock and sales order quantity against every material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried minimizing loops and used select for all entries(I have read a few threads which suggests otherwise). Read statements use binary search. No select * queries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Abdullah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 13:59:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-pricing-report/m-p/5057717#M1175489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T13:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - Pricing Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-pricing-report/m-p/5057718#M1175490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What analysis have you done and what were the results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 14:11:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-pricing-report/m-p/5057718#M1175490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - Pricing Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-pricing-report/m-p/5057719#M1175491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried runtime analysis, and it shows database access slightly higher than system access. But the number of records being fetched in the first query itself is above a quarter million.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 14:26:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-pricing-report/m-p/5057719#M1175491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T14:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - Pricing Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-pricing-report/m-p/5057720#M1175492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would not sign a lot of the recommendations going around here. Seems like a complex report you are doing there, so here is my personal generic recommendations:&lt;/P&gt;&lt;P&gt;- always use index when selecting from database tables&lt;/P&gt;&lt;P&gt;- avoid redundant database accesses to unbuffered tables, only read fields you really need for processing&lt;/P&gt;&lt;P&gt;- use sorted or hashed tables for reads or loops and access them by key&lt;/P&gt;&lt;P&gt;- use ASSIGNING rather than INTO when reading or looping (small gain)&lt;/P&gt;&lt;P&gt;- use SE30 and if necessary ST05 to fine tune if not yet satisfied with the runtime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 14:31:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-pricing-report/m-p/5057720#M1175492</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-01-06T14:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - Pricing Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-pricing-report/m-p/5057721#M1175493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone. I have tried all that. I am awarding points and closing the thread. I believe the complexity and the number of tables(28 - pricing and master data and classification characteristic related tables) involved and the type of layout required will affect performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 14:37:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-pricing-report/m-p/5057721#M1175493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T14:37:30Z</dc:date>
    </item>
  </channel>
</rss>

