<?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: debugging in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234933#M140475</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 will have to F5, F6, F7 and F8 carefully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F5 - Debugs and executes every statement of your code.&lt;/P&gt;&lt;P&gt;F6 - completes the execution of the current subroutine / function, without getting into it.&lt;/P&gt;&lt;P&gt;F7 - If you inside a sub routine / function, you want to get back to the place where you came from without continuing further, then use this.&lt;/P&gt;&lt;P&gt;F8 - Continue execution, without anymore debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even set a Break point at a specific statement like MESSAGE.&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;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers, and close your previous threads if the issues are resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ravikumar Allampallam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Apr 2006 12:17:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-18T12:17:48Z</dc:date>
    <item>
      <title>debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234931#M140473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when  doing function module debugging how to trace where the exact error is getting..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need not no some important points while doing the debugging.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 12:11:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234931#M140473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T12:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234932#M140474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;while in debugging mode,goto breakpoints&lt;DEL&gt;&amp;gt;Breakpoint at&lt;/DEL&gt;&amp;gt;Statement--- here write 'message' and press enter.. then press F8..it ll stop at the point of error..&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 12:16:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234932#M140474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T12:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234933#M140475</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 will have to F5, F6, F7 and F8 carefully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F5 - Debugs and executes every statement of your code.&lt;/P&gt;&lt;P&gt;F6 - completes the execution of the current subroutine / function, without getting into it.&lt;/P&gt;&lt;P&gt;F7 - If you inside a sub routine / function, you want to get back to the place where you came from without continuing further, then use this.&lt;/P&gt;&lt;P&gt;F8 - Continue execution, without anymore debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even set a Break point at a specific statement like MESSAGE.&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;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers, and close your previous threads if the issues are resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ravikumar Allampallam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 12:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234933#M140475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T12:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234934#M140476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI franklin, &lt;/P&gt;&lt;P&gt; define an exception in the EXCEPTION tab &lt;/P&gt;&lt;P&gt; use the RAISE statement..&lt;/P&gt;&lt;P&gt; put a breakpoint in this RAISE statement..&lt;/P&gt;&lt;P&gt; eg.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; if sy-subrc NE 0.
   RAISE not_found.
 ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; when you test it&lt;/P&gt;&lt;P&gt; this exception will be displayed in the output..&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 12:21:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234934#M140476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T12:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234935#M140477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Common tips for debugging specific errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--  Type /H in the command to set debugging mode before executing your function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;- Execute the function module.In the Breakpoints tab in the menu choose Breakpoint at&lt;/DEL&gt;&amp;gt;statement&lt;/P&gt;&lt;P&gt;    set breakpoint for statement message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--- If the function module is raising an exception then you have to copy all exception statements as declared in the FM and enter these through the above step&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--- If you still cannot figure out then in the debugging mode set the dump on warning in the settings.Read through the dump analysis and you will get the exact place of error .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's always the step-by-step execution i.e pressing F5 ..but if you want to save time then try the above&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;Cheers&lt;/P&gt;&lt;P&gt;Nishanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 12:31:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234935#M140477</guid>
      <dc:creator>nishanthbhandar</dc:creator>
      <dc:date>2006-04-18T12:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234936#M140478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Franklin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   While debugging the FM use F5 for a step-by-step &lt;/P&gt;&lt;P&gt;   debugging of the statements.&lt;/P&gt;&lt;P&gt;   Like this U can trace where UR getting out of the&lt;/P&gt;&lt;P&gt;   FM , I mean the exact error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;GSR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 12:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1234936#M140478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T12:31:11Z</dc:date>
    </item>
  </channel>
</rss>

