<?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 Debugging background processes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228682#M770127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am testing a functionality in which data gets transferred from the CRM system to the ECC system. I suspect that this transfer is happening through a function module in a background process. Since it is a background process, I am unable to stop control at the function module through normal debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me how can I debug in such a situation. It's a kind request to please tell the steps in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Helpful answers will be rewarded!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 04:01:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-17T04:01:31Z</dc:date>
    <item>
      <title>Debugging background processes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228682#M770127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am testing a functionality in which data gets transferred from the CRM system to the ECC system. I suspect that this transfer is happening through a function module in a background process. Since it is a background process, I am unable to stop control at the function module through normal debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me how can I debug in such a situation. It's a kind request to please tell the steps in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Helpful answers will be rewarded!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 04:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228682#M770127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T04:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging background processes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228683#M770128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt; To debugg a background job , you need to go to transaction SM50 which shows the list of processes running the the system and from there select your process and debugg it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 04:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228683#M770128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T04:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging background processes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228684#M770129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&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;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;P&gt;&lt;/P&gt;&lt;P&gt;You can check this link as well for more details :&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;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 04:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228684#M770129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T04:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging background processes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228685#M770130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply. Is there any way to find out which process in SM50 is the one related to my functionality?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 04:09:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228685#M770130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T04:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging background processes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228686#M770131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you are in ECC 5.0 or high you have an option of external break points.. you can use that at the FM  and debug...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to debug background job use SM50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;to know that its your job,, ur user name will be displayed at the process..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 04:10:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228686#M770131</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-01-17T04:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging background processes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228687#M770132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt; In the list you get in SM50 , you can see the Report Name . cleint and the user . i feel from this you would be able to find out your process.&lt;/P&gt;&lt;P&gt;Once you indentify your process , select the process and in the Program menu you will find the option to debugg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel as suggested in one of the replies you can also try using external breakpoints , if if is possible to run the program in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 04:13:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228687#M770132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T04:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging background processes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228688#M770133</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;You can find the process by looking at the name of the process. It should have name of your program/FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 04:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-background-processes/m-p/3228688#M770133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T04:16:13Z</dc:date>
    </item>
  </channel>
</rss>

