<?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 how to debug in back ground in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021760#M714404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm running a bdc in back ground , how to debug it in back ground is there any transaction is there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2007 05:35:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-12T05:35:19Z</dc:date>
    <item>
      <title>how to debug in back ground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021760#M714404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm running a bdc in back ground , how to debug it in back ground is there any transaction is there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 05:35:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021760#M714404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T05:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug in back ground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021761#M714405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check below links&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/tips/debug/debug_backjob.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/tips/debug/debug_backjob.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://jplamontre.free.fr/SAP/Debug%20background%20process.htm" target="test_blank"&gt;http://jplamontre.free.fr/SAP/Debug%20background%20process.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 05:38:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021761#M714405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T05:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug in back ground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021762#M714406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To debug a background job in SM37: &lt;/P&gt;&lt;P&gt;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;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vasudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 05:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021762#M714406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T05:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug in back ground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021763#M714407</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;try like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can debug batch jobs by going to 'SM37', type in 'JDBG' in the &lt;/P&gt;&lt;P&gt;command line ( no '/' ), put the cursor on the job and press enter - will &lt;/P&gt;&lt;P&gt;take you to the job in debug mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this only after the job has finished execution. This will simulate the exact background scenario with the same selection screen values as used in the job also sy-batch will set to 'X'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So type in the transaction code 'JDBG' and place your cursor on the job after It has finished. It will take you to a SAP program in debug mode. Step through this program which is about 10 lines, after this your program will be executed in the debug mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps &lt;/P&gt;&lt;P&gt;1. Create variant called BACKGROUND for program to be debugged. &lt;/P&gt;&lt;P&gt;2. Execute ZDEBUGBG (pgm code below) in background for immediate processing. &lt;/P&gt;&lt;P&gt;3. Execute transaction SM50. &lt;/P&gt;&lt;P&gt;4. Select process that runs ZDEBUGBG. &lt;/P&gt;&lt;P&gt;5. Goto 'Program/Session' 'Program' 'Debugging'. &lt;/P&gt;&lt;P&gt;A se80 debug session will open. &lt;/P&gt;&lt;P&gt;6. Change variable W_EXIT to 'E'. &lt;/P&gt;&lt;P&gt;7. Step thru (F6) until ZWBTEST comes up. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to Transaction SM66 and find your work porocess. &lt;/P&gt;&lt;P&gt;Select the line work process is on and click on the Debugging button. &lt;/P&gt;&lt;P&gt;If this is a custom program, you can put a wait statement in the code to buy yourself sometime. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Go to Transaction SM50. From the tool bar "Program/session"-&amp;gt;Program-&amp;gt;Debugging. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto SM37 and from Program menu(not sure.. try other menu's) &lt;/P&gt;&lt;P&gt;--&amp;gt;Catchjob . it will goto the active job in debugging mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 05:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021763#M714407</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-11-12T05:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug in back ground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021764#M714408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Debug background Job.&lt;/P&gt;&lt;P&gt;, Transaction &amp;#150; JDBG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debug Program scheduled Background&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="2739614"&gt;&lt;/A&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;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 05:44:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021764#M714408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T05:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug in back ground</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021765#M714409</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;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;P&gt;&lt;/P&gt;&lt;P&gt;Reward ifusefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 05:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-in-back-ground/m-p/3021765#M714409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-12T05:55:43Z</dc:date>
    </item>
  </channel>
</rss>

