<?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: Debugging a report on execution in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217837#M1206753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dilip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to &lt;STRONG&gt;ST05&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;put the trace on.&lt;/P&gt;&lt;P&gt;and execute your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the middle of that program go to ST05  and check with your program name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else you can do one thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put the infinte loop in the program.&lt;/P&gt;&lt;P&gt;set your program in the back ground process and go to the &lt;STRONG&gt;SM50&lt;/STRONG&gt; and check there your program will be at the infinete loop. break that loop and find the which loop  taking more time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prasanth on Feb 27, 2009 1:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Feb 2009 07:49:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-27T07:49:54Z</dc:date>
    <item>
      <title>Debugging a report on execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217835#M1206751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do i debug a report a  during execution?&lt;/P&gt;&lt;P&gt;1) I know we can do  this by putting a breakpoint in a Program before execution through se38.&lt;/P&gt;&lt;P&gt;2) Or it can be done by putting a /h before execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what  if i forget to  put break point and also forget  /h. Now during the execution,the program takes a long time in processing , so i want to know at which statement or loop is the processing going on.Is there any transaction or way how i can find this out and then put a break point there .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217835#M1206751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T07:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a report on execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217836#M1206752</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;U can not  put break in the execution in a way u want,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must put a break point or fire Tcode /h to debuge it ,,&lt;/P&gt;&lt;P&gt;So Stop he transaction &amp;amp; put breakpoint..&lt;/P&gt;&lt;P&gt;U will succeed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nishit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217836#M1206752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T07:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a report on execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217837#M1206753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dilip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to &lt;STRONG&gt;ST05&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;put the trace on.&lt;/P&gt;&lt;P&gt;and execute your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the middle of that program go to ST05  and check with your program name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else you can do one thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put the infinte loop in the program.&lt;/P&gt;&lt;P&gt;set your program in the back ground process and go to the &lt;STRONG&gt;SM50&lt;/STRONG&gt; and check there your program will be at the infinete loop. break that loop and find the which loop  taking more time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prasanth on Feb 27, 2009 1:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:49:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217837#M1206753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T07:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a report on execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217838#M1206754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think what you want is possible. But if you want to see what statments etc are taking a long time to execute, SAP has provided tools like ST05 ( SQL trace) and SE30 to analyse the program runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To  know more about ST05 and SE30 search on SCN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217838#M1206754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T07:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a report on execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217839#M1206755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;for running program you can turn on debugging in sm50 transaction ;&lt;/P&gt;&lt;P&gt;see menu command:program/session-program-debugging...&lt;/P&gt;&lt;P&gt;regards,darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217839#M1206755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T07:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a report on execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217840#M1206756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dilip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put hard breakpoint in your program before the statement where you want to stop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK-POINT .        -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;It will stop for every user&lt;/P&gt;&lt;P&gt;BREAK-POINT  DILIP.   -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;It will halt for only user Dilip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217840#M1206756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T07:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a report on execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217841#M1206757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do through transaction SM50, you will find active sessions select the one you want and in the Program Menu choose program -&amp;gt; debugging.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:50:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217841#M1206757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T07:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a report on execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217842#M1206758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dilip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In order to know which statement takes long time. you may use the "Trace Request" tool. (Transaction:ST05)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto transaction ST05&lt;/P&gt;&lt;P&gt;Select SQL trace &lt;/P&gt;&lt;P&gt;Put the Trace On.&lt;/P&gt;&lt;P&gt;Execute your report program&lt;/P&gt;&lt;P&gt;and then come back to ST05 screen and put the Trace Off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you may select the " List Trace" option in ST05 to see the execution time taken by each DB operation, and you will come to know the statements which take more time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217842#M1206758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T07:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a report on execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217843#M1206759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dilip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my understanding,implementing the Watch Points mechanism is the best solution for your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the watch points, we can came to know where exactly the problem is occuring if the execution is taking long hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I have 1- 10000 employee numbers and for each employee,I am handling some mechanism.&lt;/P&gt;&lt;P&gt;In this case suppose let assume EMP# 1024 is giving some problem.&lt;/P&gt;&lt;P&gt;By putting the Watching point as EMPNo = 00001024, directly we can go to that EMP# part and can observe the problematic statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got some idea if not please let me know so that I can provide more stuff with live examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreeram Kumar.Madisetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217843#M1206759</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2009-02-27T07:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a report on execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217844#M1206760</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;Good!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a hard coded BREAK-POINT if you know the place where the error may occur, otherwise its not possible to go to debug mode without using the methods you have mentioned in your post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 07:56:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217844#M1206760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T07:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a report on execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217845#M1206761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx guys the transaction SM50 worked perfectly as i wanted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 08:50:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-report-on-execution/m-p/5217845#M1206761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T08:50:28Z</dc:date>
    </item>
  </channel>
</rss>

