<?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 for BDC and Sapscripts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-for-bdc-and-sapscripts/m-p/3351684#M803971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;First we need to put Break point in Print program where ever you want to stop the execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After in SE71 give your form name and go to Utilities--&amp;gt;Active De-bugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go to your transcation like VF03(for Invoice or Credit memo) etc to see the print preview or print the form execute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you execute it the the form Debugging will get activated and you can see your Form execution step by step.&lt;/P&gt;&lt;P&gt;&lt;/P&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, 30 Jan 2008 08:42:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-30T08:42:43Z</dc:date>
    <item>
      <title>Debugging for BDC and Sapscripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-for-bdc-and-sapscripts/m-p/3351682#M803969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai friends ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tell me the steps debugging for BDC and SAPSCRIPTS ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS IN ADVANCE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 10:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-for-bdc-and-sapscripts/m-p/3351682#M803969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T10:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging for BDC and Sapscripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-for-bdc-and-sapscripts/m-p/3351683#M803970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sap script u can debug in two ways&lt;/P&gt;&lt;P&gt;1) se71 &lt;DEL&gt;&amp;gt; utilities&lt;/DEL&gt;--&amp;gt; activate debugger&lt;/P&gt;&lt;P&gt;2)  execute program RSTXDBUG, it will activate debugger .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 10:11:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-for-bdc-and-sapscripts/m-p/3351683#M803970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T10:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging for BDC and Sapscripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-for-bdc-and-sapscripts/m-p/3351684#M803971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;First we need to put Break point in Print program where ever you want to stop the execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After in SE71 give your form name and go to Utilities--&amp;gt;Active De-bugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go to your transcation like VF03(for Invoice or Credit memo) etc to see the print preview or print the form execute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you execute it the the form Debugging will get activated and you can see your Form execution step by step.&lt;/P&gt;&lt;P&gt;&lt;/P&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, 30 Jan 2008 08:42:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-for-bdc-and-sapscripts/m-p/3351684#M803971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T08:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging for BDC and Sapscripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-for-bdc-and-sapscripts/m-p/3351685#M803972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2927746"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these documents.&lt;/P&gt;&lt;P&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_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm&lt;/A&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;A href="http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm&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;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3102666"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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;Look at the SAP help link below&lt;/P&gt;&lt;P&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 09:43:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-for-bdc-and-sapscripts/m-p/3351685#M803972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T09:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging for BDC and Sapscripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-for-bdc-and-sapscripts/m-p/3351686#M803973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Debugging the BDC program, use the mode as 'A' (ALL SCREEN) when you write the call transaction statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Scrict debugging go to transaction SE71--&amp;gt; Enter the Form Name then Utilities menu --&amp;gt;Click on Active Debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 21:53:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging-for-bdc-and-sapscripts/m-p/3351686#M803973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T21:53:22Z</dc:date>
    </item>
  </channel>
</rss>

