‎2007 Feb 16 7:09 PM
Can any body please tell me what is watchpoint and how to set it.
please give me the the steps..
thanks in advance
kp
‎2007 Feb 16 7:14 PM
Hi,
Watch point are used to put logical break point for a certain condition..Example..If you want to know when the internal table is getting append..Then you have to give the program name and the internal table in the watch point..
<b>Steps to create a watch point.</b>
Start debugging '/H'.
In the debugging screen press the create watch point button in the application tool bar..
In the program give the program name..
in the field give the field name.
In the relational operator given '='
In the comp. field/value give the value ..
Hope this helps..
Thanks,
Naren
‎2007 Feb 16 7:15 PM
Hi,
Just select the create watchpoint when you enter the debugging mode.
Here you can enter the variable for which you want to monitor the value during the course of execution of the program.
Enter the relational operator and the value to be checked against.
Whenever the variable reaches that value the program will stop.
For eg: u can set like, sy-subrc <> 0.
or itab-matnr = '00001545800'
Regards
Subramanian
‎2007 Feb 16 7:22 PM
Hi
Check the below links
Setting Watchpoints
http://help.sap.com/saphelp_erp2005/helpdata/en/c6/617cdce68c11d2b2ab080009b43351/frameset.htm
Changing Watchpoints
http://help.sap.com/saphelp_erp2005/helpdata/en/c6/617ce2e68c11d2b2ab080009b43351/frameset.htm
If u find it useful mark the points
~~Guduri
‎2007 Feb 16 7:22 PM
hi
watchpoints are breakpoints that are executed based on the field content.
Cheers,
Hakim
‎2007 Feb 16 7:24 PM
1. go in debugging mode, (/h)
2. BREAKPOINTS -
> CREATRE WATCHPOINT
3. a new window will come
4. in field name , enter your field (eg. matnr)
5. in relation operator, enter =
6. in comparison value , enter 00010 (your field value u want to check)
thats all !