Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Watch points

Former Member
0 Likes
532

Can any body please tell me what is watchpoint and how to set it.

please give me the the steps..

thanks in advance

kp

5 REPLIES 5
Read only

Former Member
0 Likes
510

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

Read only

Former Member
0 Likes
510

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

Read only

Former Member
0 Likes
510
Read only

abdul_hakim
Active Contributor
0 Likes
510

hi

watchpoints are breakpoints that are executed based on the field content.

Cheers,

Hakim

Read only

former_member187255
Active Contributor
0 Likes
510

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 !