<?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: CALL FUNCTION STARTING NEW TASK Debug in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283230#M1219245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use BREAK-POINT command in your function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;~Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Mar 2009 06:48:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-08T06:48:44Z</dc:date>
    <item>
      <title>CALL FUNCTION STARTING NEW TASK Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283226#M1219241</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;How can you debug a function module which is called with an add on 'STARTING NEW TASK' ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 14:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283226#M1219241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T14:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION STARTING NEW TASK Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283227#M1219242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 15:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283227#M1219242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T15:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION STARTING NEW TASK Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283228#M1219243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; the only way i know is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create an endless loop in the FM like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear x.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
do.
 if x = 1. exit. endif.
enddo.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now run the program. If you call the sm50 trx you'll see a new task : your function module. Now get the session in debug (Menu Program/Sessio -&amp;gt; Program -&amp;gt; Debugging) and change the x value to exit form the loop. Continue with the debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 15:47:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283228#M1219243</guid>
      <dc:creator>andrea_galluccio2</dc:creator>
      <dc:date>2009-03-06T15:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION STARTING NEW TASK Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283229#M1219244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the input. What if I plan to do the debugging in a non development box. Is there a way to directly trigger the debugger screen once you call the function module ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2009 06:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283229#M1219244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-08T06:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION STARTING NEW TASK Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283230#M1219245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use BREAK-POINT command in your function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;~Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2009 06:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283230#M1219245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-08T06:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION STARTING NEW TASK Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283231#M1219246</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;Try to turn on the system and update debugging and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too had the problem and i used the same to debug the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debugger screen, Goto settings -&amp;gt; Display/change debugger settings -&amp;gt; check on System and update debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanga Prakash T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 14:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283231#M1219246</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2013-06-25T14:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION STARTING NEW TASK Debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283232#M1219247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep a session break point before the function module call and and external break point inside the fm.&lt;/P&gt;&lt;P&gt;Then once the debugger starts,check the flag 'Block TRFC Sending / TRFC: Block Sending' in the debugger(Go to settings -&amp;gt;change debugger settings, this flag should be under Debug type if i remember correctly). &lt;/P&gt;&lt;P&gt;Then execute the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SM58, press F8, the fm should be visible there. Select the FM, go to edit and select 'debug luw'...Here you will have to go through some std. sap code before the FM and this is where the 2nd break point comes into play,Press F8, it will go right into your fm and you can debug from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 18:35:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-starting-new-task-debug/m-p/5283232#M1219247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-25T18:35:56Z</dc:date>
    </item>
  </channel>
</rss>

