<?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 a report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872872#M674063</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;&amp;lt;b&amp;gt;ABAP Debugger&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP Debugger is an integrated test tool within the ABAP Workbench. You use it to check the program logic and to find errors in the source code of an ABAP program. In the Debugger, you can step through the source code of a program. The running program is interrupted after each step, allowing you to check its processing logic and the results of individual statements.&lt;/P&gt;&lt;P&gt;As of Release 6.10, you can also run Business Server Pages (BSP) in the debugging mode. You can also display and set breakpoints here. Business Server Pages can be displayed in the Object Navigator when you select an appropriate application under BSP Application. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Features&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;The Debugger provides an efficient means of identifying errors in ABAP programs. It contains the following functions:&lt;/P&gt;&lt;P&gt;&amp;#149;    Ways of starting the Debugger&lt;/P&gt;&lt;P&gt;&amp;#149;	Choosing different views &lt;/P&gt;&lt;P&gt;&amp;#149;	Choosing different execution options in the Debugger &lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying source code in the Debugger&lt;/P&gt;&lt;P&gt;&amp;#149;               Setting and deleting breakpoints&lt;/P&gt;&lt;P&gt;&amp;#149;               Setting and deleting watchpoints&lt;/P&gt;&lt;P&gt;&amp;#149;               Stopping a program at a particular statement or event&lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying and changing field contents at runtime &lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying ABAP Objects and references &lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying and positioning strings &lt;/P&gt;&lt;P&gt;&amp;#149;	Setting and deleting database locks &lt;/P&gt;&lt;P&gt;&amp;#149;	Opening the ABAP Editor, or Object Navigator &lt;/P&gt;&lt;P&gt;&amp;#149;	System settings and runtime warnings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Starting the Debugger&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;There are two possible strategies for starting the Debugger in the ABAP Workbench:&lt;/P&gt;&lt;P&gt;&amp;#149;	By setting breakpoints then running the program &lt;/P&gt;&lt;P&gt;&amp;#149;	By running the program in debugging mode.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Setting Breakpoints&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;A breakpoint is a signal in a line of code that tells the ABAP runtime processor to interrupt the program at that line and start the ABAP Debugger. A distinction is made between static and dynamic breakpoints. For further information about the different types of breakpoints and how to use them, refer to Breakpoints.&lt;/P&gt;&lt;P&gt;Running a Program in Debugging Mode&lt;/P&gt;&lt;P&gt;You can start the Debugger without previously having set breakpoints. This is the best procedure to use when you want to test a program right from the beginning. It is also useful if you do not know the program very well and therefore are not sure where best to set breakpoints. You can start the Debugger as follows:&lt;/P&gt;&lt;P&gt;From the Object Navigator	Select a report or transaction and program and choose Program &amp;amp;#61614;&amp;amp;#61472;Test &amp;amp;#61614;&amp;amp;#61472;Debugging.&lt;/P&gt;&lt;P&gt;From the ABAP Editor	Choose Program &amp;amp;#61614; Execute &amp;amp;#61614; Debugging (or the Debugging pushbutton).&lt;/P&gt;&lt;P&gt;From any screen	Choose System &amp;amp;#61614; Utilities &amp;amp;#61614; Debug ABAP.&lt;/P&gt;&lt;P&gt;From any screen	Enter " /h " in the command field.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Checking System Programs for Errors&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;To check a program or program component that is part of the ABAP Workbench (for example, the Screen Painter), you must use the system Debugger. To start the system Debugger, choose System &amp;amp;#61614; Utilities &amp;amp;#61614; Debug system from any screen. To stop the system Debugger, choose Debugger &amp;amp;#61614; Debugging off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Displaying Program Attributes&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;You can display the attributes Fixed point arithmetic, System program and Unicode checks active of the program that has just been executed by choosing Goto &amp;amp;#61614; Further Information &amp;amp;#61614; Program Attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Display Modes in the Debugger&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;When you are debugging a program, there are various display modes that you can use. All of the display modes have the same structure. The top part of the screen displays an extract of the program source code. The bottom part displays the information specifically available in that display mode. There are also pushbuttons on the screen allowing you to switch to the most frequently-used display modes.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to se38-&amp;gt;give ur program name-.execute-&amp;gt;give /h at command prompt-&amp;gt;execute-&amp;gt;now debugging will start-&amp;gt;&lt;/P&gt;&lt;P&gt;f5-used for line by line debugging&lt;/P&gt;&lt;P&gt;f6-used for directly executing function modules or performs i.e. control won't go into that block.&lt;/P&gt;&lt;P&gt;f7-run to cursor&lt;/P&gt;&lt;P&gt;f8-direct executing.&lt;/P&gt;&lt;P&gt;fileds: here we can check fild values.&lt;/P&gt;&lt;P&gt;click fileds option and double click on the filed or type the filen name beside filed&lt;/P&gt;&lt;P&gt;tables : here we can check the data in the internal table.&lt;/P&gt;&lt;P&gt;click tables option and double click on the internal table.&lt;/P&gt;&lt;P&gt;Break points:&lt;/P&gt;&lt;P&gt;if you want to debug a particulr part you can use this.&lt;/P&gt;&lt;P&gt;place the cursor at any perform click breakpoint or double click on that line.it will be set.&lt;/P&gt;&lt;P&gt;if /h from report statement it will debug,so for debugging from particular point we will use break points.use f7 to traverse between multiple break points.&lt;/P&gt;&lt;P&gt;Watch-points: In some cases we need to check the data populated in the internal table for eample if we want to check the data of internal table record belongs to 100th vendor we will create watch point for this goto-&amp;gt;breakpoints-&amp;gt;create watch points-&amp;gt;give filed itab-lifnr-&amp;gt;=-&amp;gt;100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;debugging procedure:&lt;/P&gt;&lt;P&gt;Use '/H' in the command line and execute the report/program, so that it goes to debugging mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. keep a hard coded break point in the code like BREAK-POINT and it stops there.&lt;/P&gt;&lt;P&gt;3.From the program Menu, Keep the Soft Break-points and do the debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the links&lt;/P&gt;&lt;P&gt;Refer to this thread&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappro.com/downloads/Settings&amp;amp;SystemAreas.pdf" target="test_blank"&gt;http://www.sappro.com/downloads/Settings&amp;amp;SystemAreas.pdf&lt;/A&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=3187106" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=3187106&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=850453" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=850453&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=1546485" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=1546485&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=2673628&amp;amp;messageID=2048883" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=2673628&amp;amp;messageID=2048883&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;A href="http://www.sap-img.com/abap/testing-and-debugging-abap-codes-functions.htm" target="test_blank"&gt;http://www.sap-img.com/abap/testing-and-debugging-abap-codes-functions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2007 06:56:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-05T06:56:49Z</dc:date>
    <item>
      <title>how to debug a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872866#M674057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to debug a report&lt;/P&gt;&lt;P&gt;i am new to ABAP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 06:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872866#M674057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T06:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872867#M674058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;four ways..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write break-point statement&lt;/P&gt;&lt;P&gt;write break username statement&lt;/P&gt;&lt;P&gt;or put break point using red buton in toolbar&lt;/P&gt;&lt;P&gt;put /u in command and then test it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F5- for step by step checking&lt;/P&gt;&lt;P&gt;F6- if you dont want to go insite a FM or Subroutine&lt;/P&gt;&lt;P&gt;F7- Back&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Madan Gopal Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 06:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872867#M674058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T06:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872868#M674059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cherry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press CTRL + SHIFT + F12 at the line where you want to debug and press F8.&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;Mukesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 06:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872868#M674059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T06:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872869#M674060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.  /H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in se38 click on the radiobutton debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. go inside the report and put a brakpoint on some line by clicking on stop button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. or else,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[FUNCTION] &lt;/P&gt;&lt;P&gt;Command=/H &lt;/P&gt;&lt;P&gt;Title=Debugger &lt;/P&gt;&lt;P&gt;Type=SystemCommand &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;copy the above code in atext file and drop it on any sap editor, it will go into debugging mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 06:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872869#M674060</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2007-10-05T06:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872870#M674061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;There are two possible strategies for starting the Debugger in the ABAP Workbench:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By setting breakpoints then running the program &lt;/P&gt;&lt;P&gt;By running the program in debugging mode.&lt;/P&gt;&lt;P&gt;Setting Breakpoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A breakpoint is a signal in a specific line of the program source code. This signal indicates to the ABAP runtime processor to stop the program at the relevant line and start the ABAP Debugger. A distinction is made between static and dynamic breakpoints. For further information about the different types of breakpoints and how to use them, refer to Breakpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct Processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can start the Debugger without previously having set breakpoints. This is the best procedure to use when you want to test a program right from the beginning. It is also a useful procedure if you are not overly familiar with the program and therefore are not sure where best to set breakpoints. You can start the Debugger as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the Object Navigator&lt;/P&gt;&lt;P&gt; Select a report or transaction and choose Program ® Test ® Debugging.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;From the ABAP Editor&lt;/P&gt;&lt;P&gt; Choose Program ® Execute ® Debugging (or the Debugging pushbutton).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;From any screen&lt;/P&gt;&lt;P&gt; Choose System ® Utilities ® Debug ABAP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;From any screen&lt;/P&gt;&lt;P&gt; Enter /h in the command field.&lt;/P&gt;&lt;P&gt;reward if u find useful&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nagesh.Paruchuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 06:30:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872870#M674061</guid>
      <dc:creator>paruchuri_nagesh</dc:creator>
      <dc:date>2007-10-05T06:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872871#M674062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi cherry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;welcome to the world of ABAP......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check out this link.....&lt;/P&gt;&lt;P&gt;it may help u.....all the best...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617cbee68c11d2b2ab080009b43351/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617cbee68c11d2b2ab080009b43351/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards..........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 06:52:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872871#M674062</guid>
      <dc:creator>harimanjesh_an</dc:creator>
      <dc:date>2007-10-05T06:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872872#M674063</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;&amp;lt;b&amp;gt;ABAP Debugger&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP Debugger is an integrated test tool within the ABAP Workbench. You use it to check the program logic and to find errors in the source code of an ABAP program. In the Debugger, you can step through the source code of a program. The running program is interrupted after each step, allowing you to check its processing logic and the results of individual statements.&lt;/P&gt;&lt;P&gt;As of Release 6.10, you can also run Business Server Pages (BSP) in the debugging mode. You can also display and set breakpoints here. Business Server Pages can be displayed in the Object Navigator when you select an appropriate application under BSP Application. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Features&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;The Debugger provides an efficient means of identifying errors in ABAP programs. It contains the following functions:&lt;/P&gt;&lt;P&gt;&amp;#149;    Ways of starting the Debugger&lt;/P&gt;&lt;P&gt;&amp;#149;	Choosing different views &lt;/P&gt;&lt;P&gt;&amp;#149;	Choosing different execution options in the Debugger &lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying source code in the Debugger&lt;/P&gt;&lt;P&gt;&amp;#149;               Setting and deleting breakpoints&lt;/P&gt;&lt;P&gt;&amp;#149;               Setting and deleting watchpoints&lt;/P&gt;&lt;P&gt;&amp;#149;               Stopping a program at a particular statement or event&lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying and changing field contents at runtime &lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying ABAP Objects and references &lt;/P&gt;&lt;P&gt;&amp;#149;	Displaying and positioning strings &lt;/P&gt;&lt;P&gt;&amp;#149;	Setting and deleting database locks &lt;/P&gt;&lt;P&gt;&amp;#149;	Opening the ABAP Editor, or Object Navigator &lt;/P&gt;&lt;P&gt;&amp;#149;	System settings and runtime warnings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Starting the Debugger&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;There are two possible strategies for starting the Debugger in the ABAP Workbench:&lt;/P&gt;&lt;P&gt;&amp;#149;	By setting breakpoints then running the program &lt;/P&gt;&lt;P&gt;&amp;#149;	By running the program in debugging mode.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Setting Breakpoints&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;A breakpoint is a signal in a line of code that tells the ABAP runtime processor to interrupt the program at that line and start the ABAP Debugger. A distinction is made between static and dynamic breakpoints. For further information about the different types of breakpoints and how to use them, refer to Breakpoints.&lt;/P&gt;&lt;P&gt;Running a Program in Debugging Mode&lt;/P&gt;&lt;P&gt;You can start the Debugger without previously having set breakpoints. This is the best procedure to use when you want to test a program right from the beginning. It is also useful if you do not know the program very well and therefore are not sure where best to set breakpoints. You can start the Debugger as follows:&lt;/P&gt;&lt;P&gt;From the Object Navigator	Select a report or transaction and program and choose Program &amp;amp;#61614;&amp;amp;#61472;Test &amp;amp;#61614;&amp;amp;#61472;Debugging.&lt;/P&gt;&lt;P&gt;From the ABAP Editor	Choose Program &amp;amp;#61614; Execute &amp;amp;#61614; Debugging (or the Debugging pushbutton).&lt;/P&gt;&lt;P&gt;From any screen	Choose System &amp;amp;#61614; Utilities &amp;amp;#61614; Debug ABAP.&lt;/P&gt;&lt;P&gt;From any screen	Enter " /h " in the command field.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Checking System Programs for Errors&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;To check a program or program component that is part of the ABAP Workbench (for example, the Screen Painter), you must use the system Debugger. To start the system Debugger, choose System &amp;amp;#61614; Utilities &amp;amp;#61614; Debug system from any screen. To stop the system Debugger, choose Debugger &amp;amp;#61614; Debugging off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Displaying Program Attributes&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;You can display the attributes Fixed point arithmetic, System program and Unicode checks active of the program that has just been executed by choosing Goto &amp;amp;#61614; Further Information &amp;amp;#61614; Program Attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Display Modes in the Debugger&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;When you are debugging a program, there are various display modes that you can use. All of the display modes have the same structure. The top part of the screen displays an extract of the program source code. The bottom part displays the information specifically available in that display mode. There are also pushbuttons on the screen allowing you to switch to the most frequently-used display modes.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to se38-&amp;gt;give ur program name-.execute-&amp;gt;give /h at command prompt-&amp;gt;execute-&amp;gt;now debugging will start-&amp;gt;&lt;/P&gt;&lt;P&gt;f5-used for line by line debugging&lt;/P&gt;&lt;P&gt;f6-used for directly executing function modules or performs i.e. control won't go into that block.&lt;/P&gt;&lt;P&gt;f7-run to cursor&lt;/P&gt;&lt;P&gt;f8-direct executing.&lt;/P&gt;&lt;P&gt;fileds: here we can check fild values.&lt;/P&gt;&lt;P&gt;click fileds option and double click on the filed or type the filen name beside filed&lt;/P&gt;&lt;P&gt;tables : here we can check the data in the internal table.&lt;/P&gt;&lt;P&gt;click tables option and double click on the internal table.&lt;/P&gt;&lt;P&gt;Break points:&lt;/P&gt;&lt;P&gt;if you want to debug a particulr part you can use this.&lt;/P&gt;&lt;P&gt;place the cursor at any perform click breakpoint or double click on that line.it will be set.&lt;/P&gt;&lt;P&gt;if /h from report statement it will debug,so for debugging from particular point we will use break points.use f7 to traverse between multiple break points.&lt;/P&gt;&lt;P&gt;Watch-points: In some cases we need to check the data populated in the internal table for eample if we want to check the data of internal table record belongs to 100th vendor we will create watch point for this goto-&amp;gt;breakpoints-&amp;gt;create watch points-&amp;gt;give filed itab-lifnr-&amp;gt;=-&amp;gt;100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;debugging procedure:&lt;/P&gt;&lt;P&gt;Use '/H' in the command line and execute the report/program, so that it goes to debugging mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. keep a hard coded break point in the code like BREAK-POINT and it stops there.&lt;/P&gt;&lt;P&gt;3.From the program Menu, Keep the Soft Break-points and do the debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the links&lt;/P&gt;&lt;P&gt;Refer to this thread&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappro.com/downloads/Settings&amp;amp;SystemAreas.pdf" target="test_blank"&gt;http://www.sappro.com/downloads/Settings&amp;amp;SystemAreas.pdf&lt;/A&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=3187106" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=3187106&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=850453" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=850453&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=1546485" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=2673672&amp;amp;messageID=1546485&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=2673628&amp;amp;messageID=2048883" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=2673628&amp;amp;messageID=2048883&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;A href="http://www.sap-img.com/abap/testing-and-debugging-abap-codes-functions.htm" target="test_blank"&gt;http://www.sap-img.com/abap/testing-and-debugging-abap-codes-functions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 06:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872872#M674063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T06:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to debug a report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872873#M674064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Open the program and enter /h in transaction code window  then execute the program.Your debugiing sessin will start now  and check..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreeja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 06:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-debug-a-report/m-p/2872873#M674064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T06:58:57Z</dc:date>
    </item>
  </channel>
</rss>

