Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

stop methos execution at certain value of the record


I have to debug program.

I have to stop program execution within a loop if value of the field1 reaches XXX.

I wanted to use watchpoints but it doesnt accept variable like <FS>-field1. Infortunately , I am not able to put a condition like

IF <FS>-field1 = XXX then ....

as I am in production.

Any suggestions?

Thanks in advance.

Former Member
Former Member replied

Watch point on a field symbol can only be set if the field symbol is assigned. Loop through the first iteration or untill the field symbol is assigned. Once field symbol is assigned, you must be able to creat a watch point even with the field options <fs>-fld .

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question