<?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 Response time of a function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/response-time-of-a-function-module/m-p/6190651#M1374548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I'm creating a cutom program where i was using a BAPI ,which exist in other server.&lt;/P&gt;&lt;P&gt;   Now i want to record the response time of the BAPI , after placing the  request in it and display the Time for the  &lt;/P&gt;&lt;P&gt;   corresponding record in output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Is there any procedure to record the response time in the program / I'm not asking the transactions where we can   &lt;/P&gt;&lt;P&gt;  measure the performances.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Moderator message - please do not ask for or promise rewards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Warm Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Oct 1, 2009 8:50 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2009 11:04:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-01T11:04:19Z</dc:date>
    <item>
      <title>Response time of a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/response-time-of-a-function-module/m-p/6190651#M1374548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I'm creating a cutom program where i was using a BAPI ,which exist in other server.&lt;/P&gt;&lt;P&gt;   Now i want to record the response time of the BAPI , after placing the  request in it and display the Time for the  &lt;/P&gt;&lt;P&gt;   corresponding record in output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Is there any procedure to record the response time in the program / I'm not asking the transactions where we can   &lt;/P&gt;&lt;P&gt;  measure the performances.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Moderator message - please do not ask for or promise rewards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Warm Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Oct 1, 2009 8:50 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 11:04:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/response-time-of-a-function-module/m-p/6190651#M1374548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T11:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Response time of a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/response-time-of-a-function-module/m-p/6190652#M1374549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;use ABAP command GET RUN TIME, see example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
GET RUN TIME FIELD t1. 
call function .....
GET RUN TIME FIELD t2. 
xresponseTime = t2 - t1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 11:10:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/response-time-of-a-function-module/m-p/6190652#M1374549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T11:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Response time of a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/response-time-of-a-function-module/m-p/6190653#M1374550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use ABAP Command GET RUN Time as what Dariusz Sobczak said to know the response time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If u r BAPI is not waiting for further operations, use  BAPI_TRANSACTION_COMMIT after ur BAPI FM and enable the wait parameter eq 'X'.&lt;/P&gt;&lt;P&gt;So that BAPI will wait untill the operation is going to be complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Pydi Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 07:10:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/response-time-of-a-function-module/m-p/6190653#M1374550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-12T07:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Response time of a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/response-time-of-a-function-module/m-p/6190654#M1374551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what should it be good for to display the runtime ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I does not help, if a poor operation needs 3min and after waiting 3 min it is displayed that it was 3min.&lt;/P&gt;&lt;P&gt;I  have never seen GET RUNTIME in productive use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 07:18:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/response-time-of-a-function-module/m-p/6190654#M1374551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-12T07:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Response time of a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/response-time-of-a-function-module/m-p/6190655#M1374552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct method, as pointed out in previous posts, is with GET RUN TIME. Note that this returns time in microseconds, so you may want to scale this up to a larger unit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to the usefulness: it is perfectly legitimate to include time measurements in your program as long as this has a clear purpose, e.g. comparing response times between different remote systems, identifying erratic response times, etc. In that case I would advise you to also include some other measurement, e.g. the amount of data processed (whether you can do this and how depends on the BAPI, e.g. you could use the number of lines in the returned internal tables as a metric). If your time measurement creates separate log/trace records, then it would also be a good idea to have the option to enable and disable the time measurement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 13:10:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/response-time-of-a-function-module/m-p/6190655#M1374552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-14T13:10:29Z</dc:date>
    </item>
  </channel>
</rss>

