<?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: Run Time Analysis in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054109#M969110</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;Put a break point at the start and end of the loop. Now execute the program. When your program reaches at this point go to ST05 and activate the trace. Now press F7 in your program. When control goes to next break point deactivate the trace in ST05 and then you can analyze the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please remember to deactivate the trace once you are done as at one time only one person can activate the trace. So if you leave the same active no one else would be able to use trace .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be of some help!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2008 09:17:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-04T09:17:14Z</dc:date>
    <item>
      <title>Run Time Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054105#M969106</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;I am facing problem in writing the program.&lt;/P&gt;&lt;P&gt;here is the one ..can anyone help me..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Internal table with a strcuture of a Table.&lt;/P&gt;&lt;P&gt;In my tabel I have a field RECORD NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table is having one million records.&lt;/P&gt;&lt;P&gt;I need to know the performacne time of the loop and endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we will have to check the time before teh loop starting executing and after the end of the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KIndly check this and help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 09:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054105#M969106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T09:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Run Time Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054106#M969107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make use of st05..&lt;/P&gt;&lt;P&gt;U can analyse the performance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 09:13:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054106#M969107</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-07-04T09:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Run Time Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054107#M969108</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;Before LOOP,&lt;/P&gt;&lt;P&gt;use "get time" statement , and get the value of sy-uzeit to a &lt;/P&gt;&lt;P&gt;variable T1,&lt;/P&gt;&lt;P&gt;after LOOP, use the same way to get sy-uzeit value to T2,&lt;/P&gt;&lt;P&gt;Then (T2 - T1) to get the rum time.&lt;/P&gt;&lt;P&gt;Also, You can copy your code to SE30,paste in Tips&amp;amp;Tricks window to mesure the runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 09:16:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054107#M969108</guid>
      <dc:creator>pole_li</dc:creator>
      <dc:date>2008-07-04T09:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Run Time Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054108#M969109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use statement GET RUN TIME FIELD for this purpose.&lt;/P&gt;&lt;P&gt;With so many records, I recommend LOOP AT ... ASSIGNING as opposed to LOOP AT ... INTO, this will save some processing time.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. consider closing your previous questions, once you reach 10 open ones, you will not be able to open a new one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 09:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054108#M969109</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-07-04T09:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Run Time Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054109#M969110</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;Put a break point at the start and end of the loop. Now execute the program. When your program reaches at this point go to ST05 and activate the trace. Now press F7 in your program. When control goes to next break point deactivate the trace in ST05 and then you can analyze the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please remember to deactivate the trace once you are done as at one time only one person can activate the trace. So if you leave the same active no one else would be able to use trace .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be of some help!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 09:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054109#M969110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T09:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Run Time Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054110#M969111</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;sorry for troubling u..&lt;/P&gt;&lt;P&gt;actually i what i need is ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the internal tabel shud have teh strcuture of the table.&lt;/P&gt;&lt;P&gt;But internal tabel should be filled by 1 million records with teh same strcuture with a counter.&lt;/P&gt;&lt;P&gt;and then we need the run time for that internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my Test code..can someone..please make the chnages and reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  YRUNTIME_YRDOD0050.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :V_START_TIME type SY-UZEIT,&lt;/P&gt;&lt;P&gt;      V_END_TIME type SY-UZEIT,&lt;/P&gt;&lt;P&gt;      V_RUNTIME type SY-UZEIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: I_YRDOD0050 TYPE STANDARD TABLE OF YRDOD0050 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from YRDOD0050 into table I_YRDOD0050 .&lt;/P&gt;&lt;P&gt;SORT I_YRDOD0050 ascending by RECORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_START_TIME = SY-UZEIT.&lt;/P&gt;&lt;P&gt;Loop at I_YRDOD0050.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;V_END_TIME = SY-UZEIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_RUNTIME = V_END_TIME - V_START_TIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'RUNTIME is:',  V_RUNTIME.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 11:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054110#M969111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T11:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Run Time Analysis</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054111#M969112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert GET TIME before each of the two accesses to SY-UZEIT, otherwise it will show runtime of 0 seconds.&lt;/P&gt;&lt;P&gt;Or use the GET RUN TIME FIELD statement as I suggested above, this will measure in microseconds.&lt;/P&gt;&lt;P&gt;I'm sure you can work this out yourself after these hints.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 11:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-analysis/m-p/4054111#M969112</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-07-04T11:32:28Z</dc:date>
    </item>
  </channel>
</rss>

