<?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: Execution duration in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047534#M88313</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;Try the FM's available in the Function Group SMON.&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;Lokesh&lt;/P&gt;&lt;P&gt;Pls. reward appropriate points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2005 13:42:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-14T13:42:35Z</dc:date>
    <item>
      <title>Execution duration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047529#M88308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to display the execution duration of some abap statement in abap program ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program started at .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program ended at ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is for performance issue thus MUST BE VERY PRECISE!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use of sy-uzeit only if no better solution!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:32:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047529#M88308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T13:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Execution duration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047530#M88309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I feel that is the Best solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:35:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047530#M88309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T13:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Execution duration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047531#M88310</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;Have you tried to check the std tools to show the performace (trx SE30)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047531#M88310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T13:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Execution duration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047532#M88311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes sy-uzeit is the best one which can alos minimize ur code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047532#M88311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T13:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Execution duration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047533#M88312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: f(8) type p.
get time stamp field f.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;f now contains current datum+time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead you can use:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: T1   TYPE I, 
      T2   TYPE I, 
      TMIN TYPE I. 

DATA: F1(4000), F2 LIKE F1. 

TMIN = 1000000. 
DO 10 TIMES. 
  GET RUN TIME FIELD T1. 
    MOVE F1 TO F2. 
  GET RUN TIME FIELD T2. 
  T2 = T2 - T1. 
  IF T2 &amp;lt; TMIN. 
    TMIN = T2. 
  ENDIF. 
ENDDO. 
WRITE: 'MOVE of 4000 byte:', TMIN, 'microseconds'. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This uses milliseconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember to reward points for useful answers and close post if your problem is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047533#M88312</guid>
      <dc:creator>manuel_bassani</dc:creator>
      <dc:date>2005-12-14T13:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Execution duration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047534#M88313</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;Try the FM's available in the Function Group SMON.&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;Lokesh&lt;/P&gt;&lt;P&gt;Pls. reward appropriate points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:42:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047534#M88313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T13:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Execution duration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047535#M88314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GET RUN TIME FIELD &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form 5 &lt;/P&gt;&lt;P&gt;GET RUN TIME FIELD f. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Relative runtime in microseconds. The first call sets (initializes) the field f to zero. For each subsequent call, f contains the runtime in microseconds since the first call. The field f should be of type I. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP statements that lie between two calls of the GET RUN TIME statement are known as the runtime. The time from the first to the second call is known as the measurement interval. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;Use SET RUN TIME CLOCK RESOLUTION to specify the precision with which the time is to be measured, before you call GET RUN TIME FIELD for the first time. The default setting is high precision. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Measuring Runtime for the MOVE Statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: T1   TYPE I, &lt;/P&gt;&lt;P&gt;      T2   TYPE I, &lt;/P&gt;&lt;P&gt;      TMIN TYPE I. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: F1(4000), F2 LIKE F1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TMIN = 1000000. &lt;/P&gt;&lt;P&gt;DO 10 TIMES. &lt;/P&gt;&lt;P&gt;  GET RUN TIME FIELD T1. &lt;/P&gt;&lt;P&gt;    MOVE F1 TO F2. &lt;/P&gt;&lt;P&gt;  GET RUN TIME FIELD T2. &lt;/P&gt;&lt;P&gt;  T2 = T2 - T1. &lt;/P&gt;&lt;P&gt;  IF T2 &amp;lt; TMIN. &lt;/P&gt;&lt;P&gt;    TMIN = T2. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;ENDDO. &lt;/P&gt;&lt;P&gt;WRITE: 'MOVE of 4000 byte:', TMIN, 'microseconds'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;SAP recommends that you measure the runtime several times and take the minimum result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Related &lt;/P&gt;&lt;P&gt;To perform runtime measurements of complex processes, use Runtime analysis (Transaction SE30). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Related &lt;/P&gt;&lt;P&gt;SET RUN TIME CLOCK RESOLUTION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional help &lt;/P&gt;&lt;P&gt;Measuring Runtimes of Program Segments&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:42:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047535#M88314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T13:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Execution duration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047536#M88315</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;Try the FM's available in the Function Group SMON.&lt;/P&gt;&lt;P&gt;Especially the FM GET_CPU_ALL&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;Lokesh&lt;/P&gt;&lt;P&gt;Pls. reward appropriate points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047536#M88315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-14T13:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Execution duration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047537#M88316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you choose to use GET RUN TIME FIELD statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2005 14:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execution-duration/m-p/1047537#M88316</guid>
      <dc:creator>manuel_bassani</dc:creator>
      <dc:date>2005-12-14T14:20:22Z</dc:date>
    </item>
  </channel>
</rss>

