<?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 the background job in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799482#M1679930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi venkateswaran,&lt;/P&gt;&lt;P&gt;Thank u very much, first i execute the job then it is showing the 'CANCEL'&amp;nbsp; the job? why ? what is the process &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2012 07:07:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-06-04T07:07:48Z</dc:date>
    <item>
      <title>how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799478#M1679926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one zreport is there for that background job is scheduled , now it is in production ......... in production database level the values are not properly stored, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope we need to check the validataion .. for that i want to debug the zreport but it is scheduled in backgroud job ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to Debug the zreport which is having background job?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 06:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799478#M1679926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T06:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799479#M1679927</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;JDBG - Job Debug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is basically for the job has finished execution. This will simulate the exact background scenario with the same selection screen values as used in the job and sy-batch set to 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use SM37 to get list of jobs, put the cursor on the job, type JDBG in the command line ( without '/' ), and press ENTER&lt;/LI&gt;&lt;LI&gt;You are in debug mode now. &lt;/LI&gt;&lt;LI&gt;Step through SAP program (press F7 couple of times) until you get to code you need.﻿&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 06:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799479#M1679927</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2012-06-04T06:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799480#M1679928</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;Unfortunately as far as I know you cannot debug a background job...Unless the background job fails or has errors then you can take a look at SM35. You can however run the app in foreground and debug it that way, this should give you your error. I would suggest you rather try doing the error tracing in your quality system and not on Production though, of course taking into account that the patch levels are the same on both systems and the quality system has the same version of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you could maybe give us a bit more info as to your problem that would help as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 06:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799480#M1679928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T06:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799481#M1679929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Venkat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just taught me something new as well.&lt;/P&gt;&lt;P&gt;Once again thanks for sharing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 06:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799481#M1679929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T06:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799482#M1679930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi venkateswaran,&lt;/P&gt;&lt;P&gt;Thank u very much, first i execute the job then it is showing the 'CANCEL'&amp;nbsp; the job? why ? what is the process &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 07:07:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799482#M1679930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T07:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799483#M1679931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you paste teh screen shot..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you press F7 is it continuing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 07:10:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799483#M1679931</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2012-06-04T07:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799484#M1679932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'no job matches the selection criteria'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this message is coming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 07:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799484#M1679932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T07:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799485#M1679933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SM37, for listing of jobs, it is based on User Id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Confirm which user scheduled the job&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, make sure that you selected the job in the checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thirdly, make sure JDBG in teh command line and Press Enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then Execute..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shoudl work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 07:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799485#M1679933</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2012-06-04T07:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799486#M1679934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;ABAP Program Name :&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;in this input box , whether it is zreport program name other wise is there any thing else we need to give?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 07:26:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799486#M1679934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T07:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799487#M1679935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SM37&lt;/P&gt;&lt;P&gt;-- Type * in the User ID&lt;/P&gt;&lt;P&gt;- Type * in Job Name&lt;/P&gt;&lt;P&gt;Exeture....&lt;/P&gt;&lt;P&gt;It will display all the Jobs....&lt;/P&gt;&lt;P&gt;Select your Job and check the check box&lt;/P&gt;&lt;P&gt;Then JDBG in command line and Enter&lt;/P&gt;&lt;P&gt;Press&amp;nbsp; Execute Again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 07:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799487#M1679935</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2012-06-04T07:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799488#M1679936</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; You can debug Background Job from SE37 after job is finished by using JDBG command...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same is discussed here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://answers.sap.com/thread/185784"&gt;http://scn.sap.com/thread/185784&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 08:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799488#M1679936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T08:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799489#M1679937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;if i execute the&amp;nbsp; background job more times is there any problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 08:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799489#M1679937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T08:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799490#M1679938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dependent on your program checks it might create duplicates...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 09:57:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799490#M1679938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T09:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799491#M1679939</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;To debug a job in background :&lt;/P&gt;&lt;P&gt;Stage 1:&lt;/P&gt;&lt;P&gt;goto sm37-&amp;gt; select job -&amp;gt; press F2 then job details button and check the WP/PID number of job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stage2:&lt;/P&gt;&lt;P&gt;Return back to SM37 -&amp;gt; select job -&amp;gt; press F9 -&amp;gt; select the PID number of the processes currently running -&amp;gt; at top select Program/Session -&amp;gt; Program (2 options : Debugging / cancel ) -&amp;gt; select debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will allow you the debug the program which is running as a background job. This will be similar to how we debug foreground jobs but the control will goto place where the job was already executed.&lt;/P&gt;&lt;P&gt;This is helpful when the job is running which i think is your case. &lt;/P&gt;&lt;P&gt;JDBG works when job is finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know of the program name and process then you can directly avoid first stage and goto debugging by selecting the correct process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 11:13:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799491#M1679939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T11:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the background job</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799492#M1679940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Frequently Asked Question. Locked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 11:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-background-job/m-p/8799492#M1679940</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2012-06-04T11:32:31Z</dc:date>
    </item>
  </channel>
</rss>

