<?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/1682815#M300891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First test your code with '/h' type in command window which shall take you to debug or by putting break points with F8. You test your program from code and then go to se30 performance analysis transaction and there you can know what are the drawbacks. Then go to SLIN transaction and do extended syntax check or from code in menu options where you have debugging -&amp;gt; extended check and the program id ready without error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tips by : Harichand Chandunair  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing your code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned above after doing syntax check and extended syntax check you have to create a TEST PLAN. You have  to  test all possible Postive &amp;amp; Negative test cases.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test for division by zero if it involves calculation or code accordingly.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to test for field overflows. If it involves sap script or smart forms  try to  print  outputs which have single page and also multiple page and which does not have any output at all.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test by leaving all parameters in selection screen blank.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test by  entering  wrong  values in selection screen and display a pop-up if the user enters wrong selection screen values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also do ABAP trace and SQL trace to make sure that your program is efficient. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging code/program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned above type /h in command line and try to execute the program. Another way is to set break-point at the function module or the required line and do single step execute or execute.  Once you finished debugging, you can select Delete to clear all the break points. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third option in certain  cases is to  check for sy-subrc &amp;lt;&amp;gt; 0  and proceed from there by  making it 0 by updating the sy-subrc in the debug editor  and  see how the program  behaves if the value is what  you enterd in the debug screen. For certain case  try to use WATCH POINT feature in debug  editor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2006 07:22:52 GMT</pubDate>
    <dc:creator>former_member283648</dc:creator>
    <dc:date>2006-11-15T07:22:52Z</dc:date>
    <item>
      <title>debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682810#M300886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;  i want the complete picture of debugging reports.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ratna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 12:58:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682810#M300886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T12:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682811#M300887</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;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;System Debugging&amp;lt;/i&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;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Update Debugging&amp;lt;/i&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;i&amp;gt;Normal Debugging&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normal debugging is the one we do it by the normal dynamic break points or by /H or by using stattic break points. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can switch to diffferent debuggin modes while processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For debugging tutorial:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/tips/debug/debughome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/tips/debug/debughome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapab002.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapab002.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 12:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682811#M300887</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-14T12:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682812#M300888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm&lt;/A&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>Tue, 14 Nov 2006 13:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682812#M300888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T13:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682813#M300889</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;again..some more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USE Breakpoints &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it can be of different types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hard Break-Points : written in the code like &lt;/P&gt;&lt;P&gt;'Break-point 'Login- User Name''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)Soft Breakpoints&lt;/P&gt;&lt;P&gt;This is placed by placing the cursor at the line required by u and click the 'STOP' button or Cntl&lt;EM&gt;Shift&lt;/EM&gt;F12 in the std. menu&lt;/P&gt;&lt;P&gt;while executing your report the execution will stop at your break-point and will execute statements one by one&lt;/P&gt;&lt;P&gt;by using F5,F6,F7 &amp;amp; F8 function keys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) By giving the command '/h' in the command box the debugging mode is opened from the starting of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u need further info u can go with these links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging Document.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc" target="test_blank"&gt;http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F5 is used to debug line by line code it will nevigate to each step wheter it is a method call or function it will go in side it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F6 u will move line by line but does now enter inside any function call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F7 will return u to the upper level &lt;/P&gt;&lt;P&gt;Ex if u are inside any method that is called from any other main method u will move to the main method &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 13:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682813#M300889</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-14T13:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682814#M300890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ratna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through these threads for more information on debugging,&lt;/P&gt;&lt;P&gt;1) &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2081337"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2) &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1573384"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3) &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1340392"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;4) &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2517280"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachidanand.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 13:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682814#M300890</guid>
      <dc:creator>former_member758419</dc:creator>
      <dc:date>2006-11-14T13:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682815#M300891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First test your code with '/h' type in command window which shall take you to debug or by putting break points with F8. You test your program from code and then go to se30 performance analysis transaction and there you can know what are the drawbacks. Then go to SLIN transaction and do extended syntax check or from code in menu options where you have debugging -&amp;gt; extended check and the program id ready without error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tips by : Harichand Chandunair  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing your code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned above after doing syntax check and extended syntax check you have to create a TEST PLAN. You have  to  test all possible Postive &amp;amp; Negative test cases.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test for division by zero if it involves calculation or code accordingly.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to test for field overflows. If it involves sap script or smart forms  try to  print  outputs which have single page and also multiple page and which does not have any output at all.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test by leaving all parameters in selection screen blank.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test by  entering  wrong  values in selection screen and display a pop-up if the user enters wrong selection screen values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also do ABAP trace and SQL trace to make sure that your program is efficient. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugging code/program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned above type /h in command line and try to execute the program. Another way is to set break-point at the function module or the required line and do single step execute or execute.  Once you finished debugging, you can select Delete to clear all the break points. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third option in certain  cases is to  check for sy-subrc &amp;lt;&amp;gt; 0  and proceed from there by  making it 0 by updating the sy-subrc in the debug editor  and  see how the program  behaves if the value is what  you enterd in the debug screen. For certain case  try to use WATCH POINT feature in debug  editor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 07:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682815#M300891</guid>
      <dc:creator>former_member283648</dc:creator>
      <dc:date>2006-11-15T07:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682816#M300892</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;Have a look on these links.&lt;/P&gt;&lt;P&gt;Very helpful links in understanding Debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc" target="test_blank"&gt;http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 11:55:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682816#M300892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T11:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682817#M300893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Introduction: &lt;A href="http://www.saplinks.net/index.php?option=com_content&amp;amp;task=view&amp;amp;id=24&amp;amp;Itemid=34" target="test_blank"&gt;http://www.saplinks.net/index.php?option=com_content&amp;amp;task=view&amp;amp;id=24&amp;amp;Itemid=34&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A &amp;lt;a href="http://www.sappro.com/downloads/Settings&amp;amp;SystemAreas.pdf"&amp;gt;PDF file&amp;lt;/a&amp;gt; to know knowledge about Debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some more links:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapab002.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapab002.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Debug Background Programs: &lt;A href="http://www.sapdevelopment.co.uk/tips/debug/debug_backjob.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/tips/debug/debug_backjob.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debugger: &lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm&lt;/A&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>Thu, 16 Nov 2006 11:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/1682817#M300893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T11:59:54Z</dc:date>
    </item>
  </channel>
</rss>

