<?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/2537324#M576093</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;1. If you wants to debug any transection just open the transection first.&lt;/P&gt;&lt;P&gt;Then before executing it put '/H'  and press enter on same screen and then execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The whole program will execute in debugger mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Secondly if u are debugging Z program u can put break-point command anywhere in the program and then execute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sukhjinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2007 10:40:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-11T10:40:41Z</dc:date>
    <item>
      <title>debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537317#M576086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any body send the actual real time procedure  for debugging that will be exactly done by a  abap programmer.please send the exact step by step procedure ,not any links.I will be thankful for those who have done it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 09:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537317#M576086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T09:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537318#M576087</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;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;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 09:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537318#M576087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T09:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537319#M576088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go through the demo in the link it will show you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP Debugger - ECC 6.0 Please listen in SDN using head phones&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2ddd8361ac0" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2ddd8361ac0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please read below:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/af/0cb5403fd63426e10000000a1550b0/con" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/af/0cb5403fd63426e10000000a1550b0/con&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 09:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537319#M576088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T09:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537320#M576089</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;go through the following links...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for system debugging check the below link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/5f0640555ae369e10000000a155106/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/5f0640555ae369e10000000a155106/content.htm&lt;/A&gt;&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/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;/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;&lt;/P&gt;&lt;P&gt;****do rewards if usefull&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 09:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537320#M576089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T09:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537321#M576090</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;SAP FI, CO, MM, PP, SD, PM, PS, QM, SM, HR, WF, BW, APO, Basis,  ABAP/4, Certification, Books&lt;/P&gt;&lt;P&gt;Debugging Program with ABAP Debugger &lt;/P&gt;&lt;P&gt;Activate the Debugger before executing your ABAP program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System -&amp;gt; Utilities -&amp;gt; Debug ABAP/4 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The purpose of the debugger is to allow you to execute your program line by line.  It also allow you display the data as you execute the program. (double click on the varaible field name and it will be display) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or after program have been executed, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run transaction SM66 and find your work process. &lt;/P&gt;&lt;P&gt;Select the line of your work process and double click on it &lt;/P&gt;&lt;P&gt;Click the debugging option. &lt;/P&gt;&lt;P&gt;If this is a custom program, you can put a wait statement in the code to buy yourself some time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) To understand the Watchpoint, you have to play with it. &lt;/P&gt;&lt;P&gt;a) Debug your program. &lt;/P&gt;&lt;P&gt;b) Place your cursor on the field you want to watch &lt;/P&gt;&lt;P&gt;c) Press Shift+F8, or click the Create Watchpoint button &lt;/P&gt;&lt;P&gt;d) Select the LOCAL WATCHPOINT checkbox if you want the watchpoint to be active for the immediate program only (and not includes etc. By default, you want to leave this unchecked). &lt;/P&gt;&lt;P&gt;e) Drop down on the relational operator, and choose one. They are self-explanatory. (For this example, use '=') &lt;/P&gt;&lt;P&gt;f) Select the COMPARISON FIELD checkbox if you want to check the field against another field, else leave unchecked if you want to check your field against a static value. &lt;/P&gt;&lt;P&gt;g) Enter your comparison field (if you checked the previous box) or your check value in the last box. Once your selected field equals the selected value, the program will break as if a breakpoint was reached. It is possible that the program never breaks, meaning your watchpoint criteria was never satisfied (For example if you check Itab-Field = VALUEA, if Itab-field never have a value equal to VALUEA the program will NOT break.) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I use SQL Trace is used for analysis, then based on the information retrieved I do manual tuning. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sam Hearn - Business Analyst &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another tip for 1 which is very handy (I've been using it for several months). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create and save a file name AbapDebugParaPopUps.ini with the following contents using Notepad: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[System] &lt;/P&gt;&lt;P&gt;Name=MLP &lt;/P&gt;&lt;P&gt;Client=001 &lt;/P&gt;&lt;P&gt;Description=MLP &lt;/P&gt;&lt;P&gt;[User] &lt;/P&gt;&lt;P&gt;Name=D000328 &lt;/P&gt;&lt;P&gt;Language=D &lt;/P&gt;&lt;P&gt;Password= &lt;/P&gt;&lt;P&gt;[Function] &lt;/P&gt;&lt;P&gt;Command=/h &lt;/P&gt;&lt;P&gt;Title=/h in Popup aktivierbar &lt;/P&gt;&lt;P&gt;Type=SystemCommand &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Add a link to it in the start menu of windows (or in a place of your desk accesible from a modal window) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Whenever you need to debug a modal window in abap, you just drag and drop the file onto the modal window and press enter or a function code that completes the screen. After that you'll enter in debug mode.  &amp;lt;&amp;lt;AbapDebugparaPopUps.ini&amp;gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points for the useful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 09:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537321#M576090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T09:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537322#M576091</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;The Debugger is a programming tool that you can use to execute ABAP programs, by line or by section. With this tool, you can display data objects and check the flow logic of programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, two types of debugging are possible: Debugging with the classic Debugger for release levels prior to 6.40 or debugging with the new Debugger, which is available for all releases after 6.40. The main differences between the classic and the new ABAP Debuggers are described below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new ABAP Debugger is executed in its own external mode (Debugger), while the application to be analyzed (debuggee) uses a second external mode. So far, the application to be analyzed and the debugger itself shared the same roll area of an external mode. For this reason, each action of the Debugger could influence the program flow of the application. Therefore, the classic Debugger cannot use any ABAP statements for designing the user interface. The path for designing modern UI techniques is not available for it. &lt;/P&gt;&lt;P&gt;·         With the classic Debugger it is generally not possible to analyze programs in debugging mode that run in an ABAP processor unit and are called recursively from a subordinate unit. For example, a conversion exit cannot be analyzed using the Debugger if it runs within a WRITE statement. However, with the new Debugger this is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new Debugger provides the user with a flexible interface that can be configured as required and has more than eight desktops. Here it is possible to place and arrange up to four tools - depending on the user's selection. For example, it is possible to display source texts or structures. In this way, the user can design the Debugger interface according to his own individual requirements. &lt;/P&gt;&lt;P&gt;As of Release 6.40, you can select the debugging type as you wish by choosing the classic Debugger or the new Debugger in the ABAP Editor from the path Utilities  ® Settings. It is also possible to switch the debugger at any time during a session under the menu option Debugging. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are plans to make the new Debugger the default option as soon as it contains the following functions, which are currently not available:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watchpoints &lt;/P&gt;&lt;P&gt;Debugging special types (http, BSP, RFC, update task) &lt;/P&gt;&lt;P&gt;Display of memory consumption &lt;/P&gt;&lt;P&gt;Display of system areas &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to debug an abap program created in SE38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;follow this steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open your program&lt;/P&gt;&lt;P&gt;in command prompt type /h it will start your session in debugging mode.&lt;/P&gt;&lt;P&gt;press execute button now your program goes in debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;press following functional keys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;press key F5 which starts debugging code line by line debugging&lt;/P&gt;&lt;P&gt;press key F6 which starts debugging code directly multiple lines (ie.,executing a function blok at a time)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;press key F7 to run debugging mode including cursor to specify location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;press key F8 to execute the code with out debugging &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can please watch points &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watchpoints allow you the option of monitoring the content of individual variables.&lt;/P&gt;&lt;P&gt;&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;&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;/P&gt;&lt;P&gt;also can set break points &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from being able to execute an ABAP program in the Debugger, you can also start the Debugger call by the choosing a breakpoint. This is achieved by setting one or more of these breakpoints in the program. A breakpoint is a signal at a particular point in the program that tells the ABAP runtime processor to interrupt processing and start the Debugger. The Debugger is activated when the program reaches this point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**********&lt;STRONG&gt;please reward points if the information is helpful to you&lt;/STRONG&gt;*********************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 09:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537322#M576091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T09:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537323#M576092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sandeep , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Generally we do debugging for any program to check the steps and findout where is the problem in the program during runtime , which is one of the very essential part of programming . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You may get various materials on net for debugging, anyways below are some of the simple ways for the beginners .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE :You can put break points in an activated report .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   You can start debugging for a program in many ways. &lt;/P&gt;&lt;P&gt;for example : if u are debugging a report then open your report an put break-points in the areas you doubt to have the problem .By putting break points your program will stop in those areas and then you can check the values of the variables . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are few things to be remembered :&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;    The other way to start debugging is put /h and then execute your program , you will reach to the 1st step the system does for you and then you can continue to debug further taking help of the f5,f6,f7 and f8 function keys .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope these informatioons will be helpful to you !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 09:48:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537323#M576092</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-07-11T09:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537324#M576093</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;1. If you wants to debug any transection just open the transection first.&lt;/P&gt;&lt;P&gt;Then before executing it put '/H'  and press enter on same screen and then execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The whole program will execute in debugger mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Secondly if u are debugging Z program u can put break-point command anywhere in the program and then execute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sukhjinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 10:40:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537324#M576093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T10:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537325#M576094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Starting the Debugger &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;Setting Breakpoints&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;Checking System Programs for Errors&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 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting the Debugger &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;Setting Breakpoints&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;Checking System Programs for Errors&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 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display Modes Available Using Pushbuttons&lt;/P&gt;&lt;P&gt;Fields	The scrollable field display contains the contents of up to eight fields. The contents of the three most important system fields are always displayed. This is the default display mode in the Debugger. See also Processing Fields&lt;/P&gt;&lt;P&gt;Table	Displays the contents of an internal table. This mode allows you to display and edit the entries in an internal table. See also Processing Internal Tables&lt;/P&gt;&lt;P&gt;Breakpoints	A scrollable display containing up to 30 breakpoints. Next to each breakpoint is a counter. You can also delete breakpoints in this display. See also Managing Dynamic Breakpoints&lt;/P&gt;&lt;P&gt;Watchpoints	You can set a watchpoint for a field so that the program is interrupted whenever the value of that field changes. This display mode contains a list of watchpoints, the fields and programs to which they are assigned, the current values of the fields, and the conditions upon which the watchpoint is activated. See also Setting Watchpoints&lt;/P&gt;&lt;P&gt;Calls	This mode displays the current sequence of events, and the sequence of calls up to the current breakpoint. The last active call is displayed at the top of the list; previous calls are listed in reverse chronological order. When an event (for example, START-OF-SELECTION) concludes, it is deleted from the display.&lt;/P&gt;&lt;P&gt;Overview	This mode displays the structure of the program. It lists its events, subroutines, and modules, and shows which sections belong to which events. It also displays the section currently being processed.&lt;/P&gt;&lt;P&gt;Settings	This mode displays the current Debugger settings. You can change the settings by selecting or deselecting various options. For further information, refer to Settings and Warnings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 13:05:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debugging/m-p/2537325#M576094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T13:05:14Z</dc:date>
    </item>
  </channel>
</rss>

