<?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: Detect DEBUG mode in ABAP code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933420#M61369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use fm SYSTEM_DEBUG_BREAKPOINTS with your prog. (sy-repid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2005 08:36:42 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2005-07-19T08:36:42Z</dc:date>
    <item>
      <title>Detect DEBUG mode in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933419#M61368</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;Is there a way to detect that we are in DEBUGGING mode in ABAP code.&lt;/P&gt;&lt;P&gt;I need to determine this, because we have function modules that will be runned in a separate process in the background. If i could detect DEBUG mode, i could choose not to run these modules in the background, making debugging them possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2005 08:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933419#M61368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-19T08:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Detect DEBUG mode in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933420#M61369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use fm SYSTEM_DEBUG_BREAKPOINTS with your prog. (sy-repid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2005 08:36:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933420#M61369</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-07-19T08:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Detect DEBUG mode in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933421#M61370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are in debug mode, then you will be doing an online execution of the program, isn't it? In that case, you can very well use the &amp;lt;b&amp;gt;sy-batch&amp;lt;/b&amp;gt; variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think there's a separate variable available to detect the debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if I have not addressed your problem sufficiently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2005 08:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933421#M61370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-19T08:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Detect DEBUG mode in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933422#M61371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's another (better as my 1st) possibility:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use structure ABDBG  and have a look to that link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://www.abapforum.com/forum/viewtopic.php?t=97&amp;amp;highlight=debug+mode"&amp;gt;debug mode&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2005 08:50:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933422#M61371</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-07-19T08:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Detect DEBUG mode in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933423#M61372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you debug a program that calls function modules using the IN BACKGROUND TASK addition, they are processed in a background work process (additional internal session). If you set the In background task: Do not process option, the system collects the function calls, but does not start the background work process. The Debugger assigns a transaction ID, which identifies the background work process uniquely. You can now start the Debugger for the background work process using transaction SM58. You can select the function module concerned here, and then execute it via the Edit menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c6/617d0ce68c11d2b2ab080009b43351/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c6/617d0ce68c11d2b2ab080009b43351/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a system variable SY-DEBUG, not sure if it works, though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2005 09:20:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933423#M61372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-19T09:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Detect DEBUG mode in ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933424#M61373</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;Thanx Andreas, your solution is simple and works very fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also thanx to Poornanand (SY-BATCH is not usable here, because the actual program is a dialog program, but it will work for background processes)&lt;/P&gt;&lt;P&gt;and thanx to Subramania (SY-DEBUG does not work always, hence my question).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2005 10:03:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/detect-debug-mode-in-abap-code/m-p/933424#M61373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-19T10:03:20Z</dc:date>
    </item>
  </channel>
</rss>

