<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime/m-p/1435186#M207572</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;I wrote a program to retrieve data  from three different master data tables and put it into an internal table.&lt;/P&gt;&lt;P&gt;I got an error message saying - 'Maximum Runtime Exceeded.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does it mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2006 04:23:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-03T04:23:07Z</dc:date>
    <item>
      <title>Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime/m-p/1435186#M207572</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;I wrote a program to retrieve data  from three different master data tables and put it into an internal table.&lt;/P&gt;&lt;P&gt;I got an error message saying - 'Maximum Runtime Exceeded.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does it mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 04:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime/m-p/1435186#M207572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T04:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime/m-p/1435187#M207573</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;Check the following SAP note 740648...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Symptom&lt;/P&gt;&lt;P&gt;A work process can exceed the maximum runtime (specified by the "rdisp/max_wprun_time" profile parameter) without being cancelled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other terms&lt;/P&gt;&lt;P&gt;COMMIT WORK, TH_REDISPATCH, maximum runtime, WP_HOLD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reason and Prerequisites&lt;/P&gt;&lt;P&gt;The reason for this is that the maximum runtime of a work process is not only reset to the value of rdisp/max_wprun_time if a new user (or more generally: a new task) is dispatched into the work process, but also if the current user performs actions that are associated with communication with the message server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the case with enqueue operations, for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution&lt;/P&gt;&lt;P&gt;As of the patch level mentioned below, there is a profile parameter for Releases 46D, 620 and 640 that you can use to change the behavior of the timer in these cases: If you set the "rdisp/hold_keeps_time_slice" profile parameter to the "TRUE" value, then, after communication with the message server, the timer is set to the value rdisp/max_wprun_time minus the time that the process consumed for this task up to now. This solves the problem in most cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, since the explosion of the measurement of time is in the area of seconds, operations that occur between message server operations and require less than one second may lead to an extension of the overall runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters Values Default &lt;/P&gt;&lt;P&gt;rdisp/hold_keeps_time_slice FALSE, TRUE FALSE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of Basis Release 7.0, the behavior described above is standard behavior and can no longer be changed. The parameter exists in other releases with the following patch levels:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;46D: 1848&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;620: 1502&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;640:   18&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Bharat Kumar Reddy.V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 04:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime/m-p/1435187#M207573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T04:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime/m-p/1435188#M207574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to tune your program so that it doesn't take so much time to execute, there will be a limit set by the BASIS team for each program to execute. Check you SELECT statemenets / loops to decrease the execution time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 04:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime/m-p/1435188#M207574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T04:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime/m-p/1435189#M207575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your program is going to short dump due to lack of proper code optimization and performance issues as others have also stated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to do the runtime analysis , you can make use of following also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You can make use of SAP Code Inspector ( transaction code : SCI) to check your program. It will give you an idea how to optimize your select queries and detailed analysis of other errors/ warnings whihc will help you to fine tune your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The runtime analysis is also a good option because it will tell you which table is highly being used and then accordingly you can optimize your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Select single is always a better option than using select *. Moreover if you know which data actuallu to retreive , you should use obly those fields yto retreive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Avoid using nested select statements and nested loops as far as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope these points help you analyze your program in a better way and give you a certain solution to optimize your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Updation of the timeout limit is task of BASIS.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;In Tcode : RZ10, you can maintain systme parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter name is rdisp/max_wprun_time. If it not maintained in the profile it will be default 10 mins(600 seconds) as SAP has recommended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure about your system before changing that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALSO CHECK OUT WITH THESE LINKS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/SAP-R3-DEV/timeout-in-abap-debugger-560635" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/SAP-R3-DEV/timeout-in-abap-debugger-560635&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/SAP-R3-DEV/timeout-in-abap-debugger-560756" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/SAP-R3-DEV/timeout-in-abap-debugger-560756&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 04:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime/m-p/1435189#M207575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T04:50:34Z</dc:date>
    </item>
  </channel>
</rss>

