<?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 Runtime analysis in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912534#M685389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to reduse ABAP and Database Execution Time in Runtime Analysis to increae Performance Issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2007 07:06:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-24T07:06:32Z</dc:date>
    <item>
      <title>Runtime analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912534#M685389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to reduse ABAP and Database Execution Time in Runtime Analysis to increae Performance Issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 07:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912534#M685389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T07:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912535#M685390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its depend on code to code basis.&lt;/P&gt;&lt;P&gt;If you paste your code and tell where its taking maximum time we may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 07:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912535#M685390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T07:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912536#M685391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear  Chaya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please  contact me on my contact no:-09930159222,09322129683 i will guide you what to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 07:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912536#M685391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T07:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912537#M685392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can calculate runtime like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: MARA.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Messungs von Laufzeiten zwischen Anweisungen.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: UZEIT             LIKE SY-UZEIT.&lt;/P&gt;&lt;P&gt;DATA: DATUM             LIKE SY-DATUM.&lt;/P&gt;&lt;P&gt;DATA: MMSEC             TYPE I.&lt;/P&gt;&lt;P&gt;DATA: LF_TIMESTAMP      TYPE TIMESTAMP.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Beim 1. Aufruf von get rfun time ist mmsec 0.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;GET RUN TIME FIELD MMSEC.&lt;/P&gt;&lt;P&gt;GET TIME STAMP FIELD LF_TIMESTAMP.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;CONVERT TIME STAMP LF_TIMESTAMP&lt;/P&gt;&lt;P&gt;        TIME ZONE  SY-ZONLO&lt;/P&gt;&lt;P&gt;        INTO&lt;/P&gt;&lt;P&gt;        DATE DATUM&lt;/P&gt;&lt;P&gt;        TIME UZEIT.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;WRITE: / DATUM, UZEIT, MMSEC.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;SELECT * FROM MARA.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;GET RUN TIME FIELD MMSEC.&lt;/P&gt;&lt;P&gt;GET TIME STAMP FIELD LF_TIMESTAMP.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;CONVERT TIME STAMP LF_TIMESTAMP&lt;/P&gt;&lt;P&gt;        TIME ZONE  SY-ZONLO&lt;/P&gt;&lt;P&gt;        INTO&lt;/P&gt;&lt;P&gt;        DATE DATUM&lt;/P&gt;&lt;P&gt;        TIME UZEIT.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;WRITE: / DATUM, UZEIT, MMSEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can get performance-examples:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE38-&amp;gt;ENVIRONMENT-&amp;gt;EXAMPLES-&amp;gt;PERFORMANCE EXAMPLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 07:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912537#M685392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T07:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912538#M685393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear  Chaya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please  contact me on my contact no:-09930159222,09322129683 i will guide you what to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 07:18:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912538#M685393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T07:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912539#M685394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the following links for code efficiency guidelines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/abap-4-development-code-efficiency-guidelines.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/abap-4-development-code-efficiency-guidelines.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/performance-tuning-in-programming-abap.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/performance-tuning-in-programming-abap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 07:22:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912539#M685394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T07:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912540#M685395</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;Some ways of Increasing Performance!!1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. try to avoid using select inside loop.&lt;/P&gt;&lt;P&gt;2. Read internal table with Binary Search&lt;/P&gt;&lt;P&gt;3. Instead of Inner Join Use For All entries&lt;/P&gt;&lt;P&gt;4. Try to give many fields in  where condition&lt;/P&gt;&lt;P&gt;U can check ST05 to see which select stmt taking more time and accordingly u can modify ur code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 08:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912540#M685395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T08:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912541#M685396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use se30 sto5 and slin tcodes for performance issues&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 08:11:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912541#M685396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T08:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912542#M685397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have any specific code, please send it to us, then we will review it and let you know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to consider the follwoing points..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You have to write a proper select statements using the possible index fields in the where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. you have to avoid the nested selects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3, you have to avoid the selects with in a loop..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please send us the code you have, we will do our analysis and let you know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward the points if it is helpful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 08:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912542#M685397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T08:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912543#M685398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have specific program , then the best way I know is just to test this program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will start as follows:&lt;/P&gt;&lt;P&gt;(1) execute program &lt;/P&gt;&lt;P&gt;(2) check STAD entries for this program - depending on the program you might have one or several entries (single records). It should be easy to find them&lt;/P&gt;&lt;P&gt;(3) check where is the problem --- general rules here: CPU &amp;lt; 40%, DB time &amp;lt;40%,  but it depends on what kind of transaction you execute&lt;/P&gt;&lt;P&gt;(4) When you detected where is the problem (SQL or CPU), then use proper tools to go into details--&amp;gt; ST05 for SQL problems, SE30 or ST12 for ABAP (high CPU)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not all performance problems are due to wrong coding! Some problems may happen because of the wrong or missing index on database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be some general rules how to write good programs (good performance), but there is no better way to verify than testing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rafal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 11:23:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-analysis/m-p/2912543#M685398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T11:23:03Z</dc:date>
    </item>
  </channel>
</rss>

