<?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 a FM! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525767#M1262652</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;Can anyone tell, how to debugg a FM called in a BACKGROUND TASK ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vishy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2009 10:09:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-27T10:09:28Z</dc:date>
    <item>
      <title>Debugging a FM!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525767#M1262652</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;Can anyone tell, how to debugg a FM called in a BACKGROUND TASK ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vishy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 10:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525767#M1262652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T10:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a FM!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525768#M1262653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Introduce an infinite loop in the called FM.&lt;/P&gt;&lt;P&gt;Then go to SM50 transaction and debug,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 10:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525768#M1262653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T10:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a FM!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525769#M1262654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to sm37 and select your JOB and type JDBG in the command line press enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jyo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 10:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525769#M1262654</guid>
      <dc:creator>jyotheswar_p2</dc:creator>
      <dc:date>2009-04-27T10:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a FM!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525770#M1262655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you search in SCN with &lt;STRONG&gt;debug the background job&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 10:17:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525770#M1262655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T10:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a FM!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525771#M1262656</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;The FM is used in an include program which has not been scheduled to run as a job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ways to  stop there w/o the need to change the piece of code inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vishy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 10:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525771#M1262656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T10:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging a FM!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525772#M1262657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;If its a Z - function module and then put the endless loop like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : lv_cnt type char01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;if  not lv_cnt is initial.&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;Run the transaction  or whatever, go in sm50 - you process would be in running mode - select the row and then &lt;/P&gt;&lt;P&gt;select program/session -&amp;gt; program -&amp;gt; debugging -&amp;gt; it would stop at do in debugging mode and then put some value for lv_cnt to come out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 2. Else /h and then enter from where you want to start the debugging - &amp;gt; it would go in debugging - put the function module at breakpoint -&amp;gt; click the box - in update task..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy the debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 10:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-a-fm/m-p/5525772#M1262657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T10:37:16Z</dc:date>
    </item>
  </channel>
</rss>

