<?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: debug in background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-in-background/m-p/3079064#M730221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to debug background jobs? In SM37: Select the job, type JDBG in the OK-code and press enter. This can be used for both completed jobs and jobs to be processed (just make sure you have enough time to debug before the job actually starts). Breakpoints set in the job flow works. This method has been successfully used in R/3 4.6C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2007 02:52:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-29T02:52:23Z</dc:date>
    <item>
      <title>debug in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-in-background/m-p/3079061#M730218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i use dubug in a program which runs in background?if can,can anyone tell me how to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Aiolos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 02:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-in-background/m-p/3079061#M730218</guid>
      <dc:creator>Aiolos</dc:creator>
      <dc:date>2007-11-29T02:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: debug in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-in-background/m-p/3079062#M730219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at the following Thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4502191"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 02:39:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-in-background/m-p/3079062#M730219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T02:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: debug in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-in-background/m-p/3079063#M730220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look the following thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4474545"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 02:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-in-background/m-p/3079063#M730220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T02:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: debug in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-in-background/m-p/3079064#M730221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to debug background jobs? In SM37: Select the job, type JDBG in the OK-code and press enter. This can be used for both completed jobs and jobs to be processed (just make sure you have enough time to debug before the job actually starts). Breakpoints set in the job flow works. This method has been successfully used in R/3 4.6C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 02:52:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-in-background/m-p/3079064#M730221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T02:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: debug in background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-in-background/m-p/3079065#M730222</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;There a no. of ways to debug the background job as mentioned in above posts. 1 more way is to go to SM50 Txn and find your background job of Type 'BGD'. Check that process and go to Program/Session -&amp;gt;Program -&amp;gt; Debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can not debug a program which is running in background but once the job is completed in sm37 select the job and type JDBG at command box, the job will go in debug mode and show you how it was executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BACKGROND PROGRAMS:you can debug the background jobs, use the command BDUG&lt;/P&gt;&lt;P&gt;One way of debuging programs which are already running in background is via transaction SM50. This displays a &lt;/P&gt;&lt;P&gt;list of process running in the server. In order to debug the program go to Menu option:&lt;/P&gt;&lt;P&gt;Program/Mode&lt;DEL&gt;&amp;gt;Program&lt;/DEL&gt;&amp;gt;Debugging.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 06:11:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-in-background/m-p/3079065#M730222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T06:11:20Z</dc:date>
    </item>
  </channel>
</rss>

