<?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: How to debug a report when it is executing back ground. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350388#M803632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2014 16:41:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-01-29T16:41:24Z</dc:date>
    <item>
      <title>How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350375#M803619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;How to debug a report when it is executing back ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx &amp;amp; Regrds.&lt;/P&gt;&lt;P&gt;Venky.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 09:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350375#M803619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T09:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350376#M803620</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;As far as I know you can't. You can debug background processes such as the update proces, by activating the update debugger.&lt;/P&gt;&lt;P&gt;If you want to test screen validations, you can overwrite sy-batch, which is flagged in background processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 09:43:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350376#M803620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T09:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350377#M803621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to play with Evil, make a wait .. go in SM50 select the process, and ask for debugging (in the menu)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 09:44:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350377#M803621</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2008-02-07T09:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350378#M803622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goto SM50 .. select your program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program/Mode --&amp;gt; Program --&amp;gt; Debugging ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 09:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350378#M803622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T09:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350379#M803623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can debug the program put /h after selection screen and execute the program ]&lt;/P&gt;&lt;P&gt;and change systum variable sy-batch = space in debugging mode and do the debugging&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 09:49:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350379#M803623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T09:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350380#M803624</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;&lt;/P&gt;&lt;P&gt;Have you ever been in a situation where you want to debug a program but the darn thing runs in background? Here is a tip that will solve all your background debugging problems. There's only one condition: You have to be able to edit the coding. Enter an endless loop at the point you want to start debugging and start the program. Go to SM50. Wait till your process will seem to be "hanging". In the menu goto Program -&amp;gt; debugging. You will get into your program at the code you just entered. Change variable w_flag = 'X'. Continue debugging. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sriram Ponna on Feb 7, 2008 3:25 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 09:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350380#M803624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T09:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350381#M803625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sriram...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write code for endless loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx &amp;amp; Regds..&lt;/P&gt;&lt;P&gt;Venky..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 05:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350381#M803625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T05:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350382#M803626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if 1 = 2.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;move ' ' to itab.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is be an endless loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 05:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350382#M803626</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-02-08T05:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350383#M803627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this loop will never be executed bcoz 1 will never be equal to 2..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF 1 = 2 is used for message handling in the maintenance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Sid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 11:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350383#M803627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T11:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350384#M803628</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;Create a background job and specify the program to be executed in background. &lt;/P&gt;&lt;P&gt;We can debug the job. in Sm37 choose the job, type JDBG in command window and the debugging mode will be switched on. It will take you to the report program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Lakshmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 11:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350384#M803628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T11:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350385#M803629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Tip ever looked at&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;SPAN class="L0S33"&gt;'C160_HOLD_FOR_DEBUG'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Endless loop entered if value for user Param ESN = X&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Dirk&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:00:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350385#M803629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T15:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350386#M803630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your zprogram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;data: var type c.&lt;/P&gt;&lt;P&gt;Do&lt;/P&gt;&lt;P&gt;if var = 'X'.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;Enddo.&lt;/P&gt;&lt;P&gt;{code} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you go to SM50 and select debugging,it will stop at the above piece of code.To exit the endless loop set the variable var to 'X' during the iteration and then continue with your debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350386#M803630</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2014-01-29T15:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350387#M803631</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; In sm37 select the program and give JDBGit will take to debug mode&amp;nbsp; or&amp;nbsp; in SM50 you can see the all programs list running inn background, here u can change the mode to debugging(menu--&amp;gt; options)&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;Charan M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:50:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350387#M803631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T15:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug a report when it is executing back ground.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350388#M803632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report-when-it-is-executing-back-ground/m-p/3350388#M803632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-29T16:41:24Z</dc:date>
    </item>
  </channel>
</rss>

