<?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: debugging from background mode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616878#M600690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When report is executing in background, then you can debugg in SM50.&lt;/P&gt;&lt;P&gt;Just select the report name which is executing in background. Go to Menu Program/Session - &amp;gt; Debugging.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2007 07:21:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-31T07:21:24Z</dc:date>
    <item>
      <title>debugging from background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616875#M600687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone explain me how to bebug the program when it's been scheduled in background mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 07:14:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616875#M600687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T07:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: debugging from background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616876#M600688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pleaze try to use command JDBG( Job Debugging). Plenty of help and doc already on SDN. pls reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ganesh.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 07:18:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616876#M600688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T07:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: debugging from background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616877#M600689</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;It can be if for example a background job is triggered by another program. SO a foreground report triggers an event and a job is scheduled on event so when the event is triggerd the background job runs. This is useful for example in user exits where a commit work is required but not permitted.&lt;/P&gt;&lt;P&gt;To debug you need to capture the job. This is not always possible but if it is a custom program one option is to put a wait statement in temporarily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 07:20:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616877#M600689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T07:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: debugging from background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616878#M600690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When report is executing in background, then you can debugg in SM50.&lt;/P&gt;&lt;P&gt;Just select the report name which is executing in background. Go to Menu Program/Session - &amp;gt; Debugging.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 07:21:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616878#M600690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T07:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: debugging from background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616879#M600691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try to create endless loop in your program. go and check in sm50.&lt;/P&gt;&lt;P&gt;it will take you to debugging mode of abap prg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points. if any doubts plz feel free to ask.&lt;/P&gt;&lt;P&gt;Bohra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 07:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616879#M600691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T07:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: debugging from background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616880#M600692</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;(SM37)&lt;/P&gt;&lt;P&gt;To debug an active job, choose Job -&amp;gt; Capture: active job". Only a single selection is allowed. If an active job seems to be running incorrectly (e.g., running for an excessively long time), you can interrupt and analyze it in debugging mode in a background process, and then either release it again or stop it altogether.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;You will be able to capture a background job only if you are logged on to the SAP server on which the job is running. To find server information in the Job Overview, select and mark the job, then choose Job ® Job details. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1 : First put breakpoint in report..&lt;/P&gt;&lt;P&gt;Step 2: Goto transaction SM37&lt;/P&gt;&lt;P&gt;Step 3 : Select you job there&lt;/P&gt;&lt;P&gt;Step 4: Put JDBG in command field ( where we enter transaction - top left) and press enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 5: Now press F8 it will stop at break point which u created in report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this links too&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/EN/c4/3a8009505211d189550000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/EN/c4/3a8009505211d189550000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/EN/c4/3a7ed1505211d189550000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/EN/c4/3a7ed1505211d189550000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 07:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616880#M600692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T07:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: debugging from background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616881#M600693</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;In transaction SM50, you can choose the background process running this program and cleck the menu item Program/Mode --&amp;gt; Program --&amp;gt; Debugging...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a Z-Program write an endless loop(at the start of the program) with an exit condition(which does not exit normally)...so that the background process will be stuck in this loop...Then choose debugging as mentioned...then change the exit condition correctly in debugging so that you are out of the endless loop...This is for making sure that the by the time you get to SM50 the execution is not over....&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>Tue, 31 Jul 2007 07:25:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616881#M600693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T07:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: debugging from background mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616882#M600694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;More vaugeness for my ealier ans is like this&lt;/P&gt;&lt;P&gt;                                                .&lt;/P&gt;&lt;P&gt;DATA: c TYPE i VALUE 1.&lt;/P&gt;&lt;P&gt;WHILE c = 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; BREAK-POINT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDWHILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create endlessloop like this and go to sm50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont forget to reward full points.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bohra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 07:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-from-background-mode/m-p/2616882#M600694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T07:28:58Z</dc:date>
    </item>
  </channel>
</rss>

