<?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: watchpoint in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855967#M926890</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) Watchpoints are the BREAKPOINTS which trigger when the &lt;STRONG&gt;FIELD VALUE changes&lt;/STRONG&gt; in the debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)Example program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab TYPE TABLE OF sflight,&lt;/P&gt;&lt;P&gt;           wa LIKE LINE OF itab.&lt;/P&gt;&lt;P&gt;SELECT * FROM sflight INTO TABLE itab.&lt;/P&gt;&lt;P&gt;LOOP AT itab INTO wa.&lt;/P&gt;&lt;P&gt;  WRITE:/ wa-carrid,  wa-connid, wa-fldate.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)Suppose that there are 10 carrier id eg  'AA',  'AZ' 'DL', 'JL', 'KA',' &lt;STRONG&gt;LH'&lt;/STRONG&gt;, 'IA' , 'QF' , 'SQ', 'UA'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)I want to check the value of LH in debugger which is 6th carrier id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Set a watchpoint in debugger:--&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Program name : Zdemo.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field name : wa-carrid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Relational operator  : =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Comp.fiel/Value : LH&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Press Enter.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NOTICE on STATUS BAR that &lt;STRONG&gt;One watchpoint is Created&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;5)Now press &lt;STRONG&gt;F8&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;6)Observer the variables in &lt;STRONG&gt;"FIELD NAME&lt;/STRONG&gt;". Directly system will take you to the LH Field value with the pressing of one F8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, watchpoints works when the &lt;STRONG&gt;FIELD VALUE changes&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Rupinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jul 2008 12:19:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-08T12:19:49Z</dc:date>
    <item>
      <title>watchpoint</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855960#M926883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii,&lt;/P&gt;&lt;P&gt;How to set watchpoint in the debugging mode.actually i have set watchpoint on one of the field  but my program is not stopping if the value of the fields ( in which i have set watchpoint) changes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 11:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855960#M926883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T11:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: watchpoint</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855961#M926884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Did  your watch point got created or not???... Which you can view by pressing the watch point button on the application tool bar while debugging .... I feel it might not have got created or ay be you are passing an incorrect value ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 11:04:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855961#M926884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T11:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: watchpoint</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855962#M926885</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 purpose of watchpoint is to stop the program at particular position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex u hav 1000 records in ur table.if u want to check some&lt;/P&gt;&lt;P&gt;X record thn u can create a watchpoint in debuggung mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in debugging mode click watchpoint,thn u get option for watchpoint create ,give ur intrenal table fldname ,its value and enter. it will be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: itab-matnr&lt;/P&gt;&lt;P&gt;     =&lt;/P&gt;&lt;P&gt;    100023765.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if hlpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 11:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855962#M926885</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-05-12T11:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: watchpoint</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855963#M926886</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;I think mostly that field that u have set watchpoint may not be chaging thats y the  program is not  stoppin at pt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 11:06:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855963#M926886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T11:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: watchpoint</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855964#M926887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi priya ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think  may  be some problem with your logic so the debugger is not reaching that point . Check your logic once and then try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward ponit if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regard ,&lt;/P&gt;&lt;P&gt;sandeep patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 11:09:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855964#M926887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T11:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: watchpoint</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855965#M926888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;priya,&lt;/P&gt;&lt;P&gt;        mostly ur watch point should not have been created or may you had given some other fields by mistake..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to debugging mode  you can see a button for viewing all the watch points set for the prg..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 11:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855965#M926888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T11:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: watchpoint</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855966#M926889</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 will give you the explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If our code is like the following...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   LOOP AT it_tab INTO wa_tab.&lt;/P&gt;&lt;P&gt;       IF wa_tab-matnr is not initial.&lt;/P&gt;&lt;P&gt;        ...&lt;/P&gt;&lt;P&gt;        ...&lt;/P&gt;&lt;P&gt;       ENDIF.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First click the &lt;STRONG&gt;Create Watchpoint&lt;/STRONG&gt; button in the debugger session or  Shift+F4 (New Abap Debugger).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will show the create watchpoint screen.&lt;/P&gt;&lt;P&gt;In the &lt;STRONG&gt;variable&lt;/STRONG&gt; field, type the variable name that you want the watchpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example in our case : wa_tab-matnr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then click the &lt;STRONG&gt;No Additional Condition&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In there type your condition.&lt;/P&gt;&lt;P&gt;For Eg : wa_tab-matnr = '100120130'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now test your program.Your program will stop at that condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Senthil Kumar Anantham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 11:10:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855966#M926889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T11:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: watchpoint</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855967#M926890</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) Watchpoints are the BREAKPOINTS which trigger when the &lt;STRONG&gt;FIELD VALUE changes&lt;/STRONG&gt; in the debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)Example program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab TYPE TABLE OF sflight,&lt;/P&gt;&lt;P&gt;           wa LIKE LINE OF itab.&lt;/P&gt;&lt;P&gt;SELECT * FROM sflight INTO TABLE itab.&lt;/P&gt;&lt;P&gt;LOOP AT itab INTO wa.&lt;/P&gt;&lt;P&gt;  WRITE:/ wa-carrid,  wa-connid, wa-fldate.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)Suppose that there are 10 carrier id eg  'AA',  'AZ' 'DL', 'JL', 'KA',' &lt;STRONG&gt;LH'&lt;/STRONG&gt;, 'IA' , 'QF' , 'SQ', 'UA'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)I want to check the value of LH in debugger which is 6th carrier id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Set a watchpoint in debugger:--&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Program name : Zdemo.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field name : wa-carrid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Relational operator  : =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Comp.fiel/Value : LH&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Press Enter.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NOTICE on STATUS BAR that &lt;STRONG&gt;One watchpoint is Created&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;5)Now press &lt;STRONG&gt;F8&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;6)Observer the variables in &lt;STRONG&gt;"FIELD NAME&lt;/STRONG&gt;". Directly system will take you to the LH Field value with the pressing of one F8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, watchpoints works when the &lt;STRONG&gt;FIELD VALUE changes&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Rupinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 12:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/watchpoint/m-p/3855967#M926890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T12:19:49Z</dc:date>
    </item>
  </channel>
</rss>

