<?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: how to debug in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug/m-p/1966128#M396774</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;When you are doing debugging a loop statement which is having 500 entries, and you want to see a 200th entry or you want to see ITAB-FIELD1 equals xx, then you need to create a watch point for that value and press F8, when that field will satisfy with that value then there the debug will be stopped, and you can see that row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F6 is, when debuggin a perform statment or a Call function statment occurs, and you do not want to debug that then press F6 then it wil bypass that one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F7, if you are debbugin a Perform statment or a Function module then you do not want to contine debuggng and come out from that one then press F7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SAP SCRIPT Debugging ..&lt;/P&gt;&lt;P&gt;/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For smartforms, you can put thebreak point in the Generated Function module and do the debugging, or you can put the break point in the Program lines of the smartform do the Debug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sudheer Junnuthula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Feb 2007 12:59:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-09T12:59:56Z</dc:date>
    <item>
      <title>how to debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug/m-p/1966127#M396773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friends , i want to know more about watchpoint and F6 , F7 for debug, &lt;/P&gt;&lt;P&gt;and how to debug sapscript and smartform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 12:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug/m-p/1966127#M396773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T12:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug/m-p/1966128#M396774</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;When you are doing debugging a loop statement which is having 500 entries, and you want to see a 200th entry or you want to see ITAB-FIELD1 equals xx, then you need to create a watch point for that value and press F8, when that field will satisfy with that value then there the debug will be stopped, and you can see that row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F6 is, when debuggin a perform statment or a Call function statment occurs, and you do not want to debug that then press F6 then it wil bypass that one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F7, if you are debbugin a Perform statment or a Function module then you do not want to contine debuggng and come out from that one then press F7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SAP SCRIPT Debugging ..&lt;/P&gt;&lt;P&gt;/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For smartforms, you can put thebreak point in the Generated Function module and do the debugging, or you can put the break point in the Program lines of the smartform do the Debug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sudheer Junnuthula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 12:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug/m-p/1966128#M396774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T12:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug/m-p/1966129#M396775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For script debugging refer this blog:&lt;/P&gt;&lt;P&gt;/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging&lt;/P&gt;&lt;P&gt;For smartform debugging, you need to go to the smartform. Then create a program lines element, in the place where you want to debug. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the statement&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Sorry ..repost..&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ravi Kanth Talagana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 13:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug/m-p/1966129#M396775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T13:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug/m-p/1966130#M396776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Watchpoints allow you the option of monitoring the content of individual variables.&lt;/P&gt;&lt;P&gt;The Debugger stops as soon as the value of the monitored variable changes.&lt;/P&gt;&lt;P&gt;In addition, conditions can be specified. The Debugger also checks whether such a condition is fulfilled.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/es/c6/617cdce68c11d2b2ab080009b43351/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/es/c6/617cdce68c11d2b2ab080009b43351/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debug SAPscripts&lt;/P&gt;&lt;P&gt;When we want to debug the SAPSCRIPT, we need to first activate the debugger, we have 2 ways to activate the Debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Execute the program RSTXDBUG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Go to SE71, from the initial screen enter the form name and press Utilities --&amp;gt; Activate Debugger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we are in the Debug screen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.1) F5 will be debug filed by field, that means if a single line is having 5 fields, if we press the F5 this will do field by field,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.2) F6 will be line by line, that means when we press the F6, it will debug the line and it will go to the next line. F7 also do the same way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.3) F8 will be very useful when we have any include statement in the SCRIPT, if any include is there and we press the F5 or F6 then this will go that Include (normally SO10 or any transaction text), then if we want line by line debugging then we can press the F5 or F6, or if you want to execute that in a single shot then press the F8, then the debugger will be executed that include and come back to the Script debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some times in the script, we may right lengthy lines, if we want to debug that whole line, we have an option called Left/Right, this we will find the Debug screen of the script, there is a Push button, we can make use this button to debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can put the breakpoints in the SCRIPT DEBUGGER also, just press the BREAKPOINT Pushbutton from the debugging screen or press EDIT --&amp;gt; Breakpoint&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we want to debug the print program from the SCRIPT DEBUGGER, just press SHIFT+F7 or EDIT --&amp;gt; ABAP Debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we want to see the Windows which are defined in the forms, just press the Go to --&amp;gt; Form --&amp;gt; Windows .if we want to see the pages go to --&amp;gt; Form --&amp;gt; pages. Here we have an option to see the page wise window also go to --&amp;gt; Form --&amp;gt; page Windows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we want to see the paragraphs which are defined in that script, press go to --&amp;gt; Styles --&amp;gt; paragraphs.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we want to see the Character formats which are defined in that script, press go to --&amp;gt; Styles --&amp;gt; Character Strings.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we want to see the Page formats which are defined in that script, press go to --&amp;gt; OTF --&amp;gt; Page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we want to see the Elements which are used in the Script, then press go to --&amp;gt; Text Elements --&amp;gt; Form Elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we want to see the commands which are used in the script, press go to --&amp;gt; Commands --&amp;gt; List&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, if we want to exit from the SCRIPT DEBUGING, simply press Debugger --&amp;gt; Exit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 13:08:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug/m-p/1966130#M396776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T13:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug/m-p/1966131#M396777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS TO ALL MY DEAR FRIENDS .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 13:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug/m-p/1966131#M396777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T13:22:17Z</dc:date>
    </item>
  </channel>
</rss>

