<?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: Function BERECHNEN_BESTAND performance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338028#M1638849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2011 16:24:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-09T16:24:25Z</dc:date>
    <item>
      <title>Function BERECHNEN_BESTAND performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338023#M1638844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus.&lt;/P&gt;&lt;P&gt;I'm writing a report that creates an extract file from Function BERECHNEN_BESTAND  (used in Transaction MC49 etc).&lt;/P&gt;&lt;P&gt;The requirement is to run it for all materials in several plants. This will have a long background run time of +2 hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Presently the program builds up a large 10,000 row table of Plant/Materials and loops at BERECHNEN_BESTAND 10,000 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I could improve performance by Calling BERECHNEN_BESTAND once with 10,000 Plant/materials (or calling it 10 times with 1000 plant/materials, etc).&lt;/P&gt;&lt;P&gt;This did not work as I expected, and actually made performance much worse!   I guess it's a memory issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any comments/suggestions.&lt;/P&gt;&lt;P&gt;Zenon K.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s.  (I found note 457615 that adds an index to MSEG. This did improve performance when running BERECHNEN_BESTAND 10,000 times)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 16:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338023#M1638844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-05T16:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Function BERECHNEN_BESTAND performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338024#M1638845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More to the point; What is faster?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) To Call a Function 1 time with a very large table as an input parameter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Call the Function in a loop thousands of times with 1 line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 18:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338024#M1638845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T18:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Function BERECHNEN_BESTAND performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338025#M1638846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Too many unknown variables to say for sure. Why don't you try both and get back to the forum with your 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 Dec 2011 18:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338025#M1638846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T18:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Function BERECHNEN_BESTAND performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338026#M1638847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For BERECHNEN_BESTAND it's much faster (at least twice) to call it in a loop with 1 line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wondered if there was anything I can do outside of Abap code that would help give better performance.&lt;/P&gt;&lt;P&gt;I'm running SAP ECC on WIndows NT with MS SQL database.&lt;/P&gt;&lt;P&gt;Are there any changes I can make or check on the database, memory, basis components?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 18:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338026#M1638847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T18:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Function BERECHNEN_BESTAND performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338027#M1638848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zenon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running a ST05 trace could give you additional information on needed index.  Also since this is a read intensive process placing the table into a tablespace located on a Enterprise Flash Drive (Memory drive) would certainly help.  EMC Fully Automated storage tiering puts highly active blocks on the top tier automatically but unless all this data is accessed often you would need to place it there yourself or with a DBA.  Unless you really need faster performance that may be overkill but if there were several applications that together could be justified then it may make sense.  Good Luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allan Stone&lt;/P&gt;&lt;P&gt;SAP Solutions Architect&lt;/P&gt;&lt;P&gt;EMC Solutions Design Center&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 20:49:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338027#M1638848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-06T20:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function BERECHNEN_BESTAND performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338028#M1638849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 16:24:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-berechnen-bestand-performance/m-p/8338028#M1638849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-09T16:24:25Z</dc:date>
    </item>
  </channel>
</rss>

