<?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 function module? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376613#M527052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go to SE37 and enter your function module. Press execute(test). You can find a push button "debugging". Fill in the data and press debugging. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if ithelps&lt;/P&gt;&lt;P&gt;Krisna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2007 08:22:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-19T08:22:11Z</dc:date>
    <item>
      <title>how to debug the function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376610#M527049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;how to debug the function module? either sap std., or our own fm?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 08:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376610#M527049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T08:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376611#M527050</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 try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Put an endless loop into the coding of your function module where you want to start debugging, e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;lx_exit_loop(1) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lx_exit_loop = ' '.&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;IF ( lx_exit_loop = 'X' ).&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) Call your function module in background task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) Call transaction SM50 and search for the background process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) Choose from menu Program/Mode -&amp;gt; Program -&amp;gt; Debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you the debugger should bring you right to your endless loop. Set lx_loop_exit = 'X' in the debugger and continue (F5 or F6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 08:21:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376611#M527050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T08:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376612#M527051</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;Go to se37,&lt;/P&gt;&lt;P&gt;Enter F.M name and execute it...then u will get the values screen where u have to provide the inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And on the application toolbar u can see two buttons exceute and execute with debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the second button and then proceed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 08:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376612#M527051</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-06-19T08:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376613#M527052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go to SE37 and enter your function module. Press execute(test). You can find a push button "debugging". Fill in the data and press debugging. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if ithelps&lt;/P&gt;&lt;P&gt;Krisna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 08:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376613#M527052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T08:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376614#M527053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murthy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put break point in Source code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other wise Press F8 button twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;reward If Helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Viji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 08:22:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376614#M527053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T08:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376615#M527054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;open the FM and press F8 (execute)&lt;/P&gt;&lt;P&gt; there, u will see that debug button. u can press this and do the debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 08:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376615#M527054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T08:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376616#M527055</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;From the Debugger, you can set the debugging mode and the system behavior in the event of a kernel warning by choosing Settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;System Debugging&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;If you set this option, the Debugger is also activated for system programs (programs with status S in their program attributes). When you save breakpoints, the System Debugging setting is also saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Update Debugging&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Update function modules do not run in the same user session as the program that is currently running in the ABAP Debugger. These function modules are therefore not included in debugging. Only if you select the Update Debugging option can you display and debug them after the COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;In Background Task: Do not Process&amp;lt;/b&amp;gt;&lt;/P&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;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 08:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376616#M527055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T08:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376617#M527056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi  there,&lt;/P&gt;&lt;P&gt;just go to se37 put your fuction module name goto change or display mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set a breake point in the source code(pressing stop red color buttom)&lt;/P&gt;&lt;P&gt;then exicute and you  are into debug mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;choose field or table as per your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this might hellp you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 14:02:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376617#M527056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T14:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug the function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376618#M527057</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;1.run Functional module.&lt;/P&gt;&lt;P&gt;2.give input &lt;/P&gt;&lt;P&gt;3. /H in transaction code input.&lt;/P&gt;&lt;P&gt;5.excute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward all helpfull answers.&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 14:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-the-function-module/m-p/2376618#M527057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T14:09:04Z</dc:date>
    </item>
  </channel>
</rss>

