<?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: Debugiing a BackGround Job. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugiing-a-background-job/m-p/1749239#M324863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Goutham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, by the time you go for debugging job is already finished. So go for the option i have mentioned with SM37 that i have given above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to go by SM50 option in this case, proceed as below:&lt;/P&gt;&lt;P&gt;Place an infinite loop in the program, execute in background. Go to SM50, select the process. Go to menu Program/Mode -&amp;gt; Program -&amp;gt; Debugging. Which will open your program in debugging mode, change the value to exit  the infinite loop and proceed with other steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Dec 2006 06:39:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-02T06:39:18Z</dc:date>
    <item>
      <title>Debugiing a BackGround Job.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugiing-a-background-job/m-p/1749235#M324859</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; I am facing a problem when my program is being run in the Background. As far as i know Background Jobs can be debugged by using transaction SM50. But i am unable to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Could anyone please provide me pointers on this or could guide me on how to debug a background job. Thanks in advance for tour replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Goutham.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Points will be definitely awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Dec 2006 05:34:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugiing-a-background-job/m-p/1749235#M324859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-02T05:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Debugiing a BackGround Job.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugiing-a-background-job/m-p/1749236#M324860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Debug program running in background   &lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Dec 2006 05:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugiing-a-background-job/m-p/1749236#M324860</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-02T05:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Debugiing a BackGround Job.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugiing-a-background-job/m-p/1749237#M324861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Goutham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Anversha has already mentioned, we can perform the debugging from SM50 transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;1. Go to Transaction SM50.&lt;/P&gt;&lt;P&gt;2. &amp;lt;b&amp;gt;Select the process(check box) where your job is executing&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;3. Use Menupath: Program/Mode -&amp;gt; Program -&amp;gt; Debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing this it will open a new session in debugging mode of your current execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Also make sure that you havent occupied all sessions permitted so that the debugging window can open a new session.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the job has already finished, use transaction SM37. Display the job. Select the &lt;/P&gt;&lt;P&gt;job, execute command JDBG in command field. A series of &lt;/P&gt;&lt;P&gt;F7 need to be done until you reach your program. From &lt;/P&gt;&lt;P&gt;then you can debug to see how the commands are executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the info helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Dec 2006 06:04:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugiing-a-background-job/m-p/1749237#M324861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-02T06:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Debugiing a BackGround Job.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugiing-a-background-job/m-p/1749238#M324862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Here is my detailed question: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In the transaction SE38: i have entered the program name, say ZTEST which has a simple WRITE stmt with 'Hello World'. In SE38, i have entered the program name and i said Program -&amp;gt; Execute -&amp;gt; background, and selected Execute Immediately. After this in SM37 i can see the job status finished. In SM50, there is no entry for my background job. Only one Dialog WP is running under my name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Could anyone please give me detailed way of debugging like any settings or options to be set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Dec 2006 06:13:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugiing-a-background-job/m-p/1749238#M324862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-02T06:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Debugiing a BackGround Job.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugiing-a-background-job/m-p/1749239#M324863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Goutham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, by the time you go for debugging job is already finished. So go for the option i have mentioned with SM37 that i have given above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to go by SM50 option in this case, proceed as below:&lt;/P&gt;&lt;P&gt;Place an infinite loop in the program, execute in background. Go to SM50, select the process. Go to menu Program/Mode -&amp;gt; Program -&amp;gt; Debugging. Which will open your program in debugging mode, change the value to exit  the infinite loop and proceed with other steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Dec 2006 06:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugiing-a-background-job/m-p/1749239#M324863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-02T06:39:18Z</dc:date>
    </item>
  </channel>
</rss>

