2020 May 23 10:58 AM
Hello Expert,
Is there any way to check the values of below code snipped for wa-matnr = '004'.

Your comment or answer will be highly appreciated.
Thanks a lot in advance!
Br,
Pankaj kumar
2020 May 23 11:07 AM
Hi
In debugger you have the watch point tab as below.
Create a watch point and put the condition there, it will stop at once the condition become true

2020 May 23 11:07 AM
Hi
In debugger you have the watch point tab as below.
Create a watch point and put the condition there, it will stop at once the condition become true

2020 May 23 11:33 AM
Dear Venkat,
Thank you so much for your promt reply.
I also found one option for step wise debugging.
If we enable the stepwise debugging option, then it will debug step by step.
Below is the illustration -

2020 May 23 12:24 PM
To clarify, it works whatever the step size is set to sub-statements before of after the watchpoint is reached, what is important is to set it before executing the code step by step.
Either after watchpoint is reached:
Or before:
2021 Jan 23 11:22 AM
If Field symbol is been used in for loop. how to create a watch point . How can you create watchpoint in the for loop
2020 May 23 11:23 AM
Please post the code as text instead of image, so that one can easily answer by testing your code.
2020 May 23 11:25 AM
Activate "step size" mode so that to stop at each iteration.
But debug should not be needed as code should be kept rather simple in constructor expressions.