Start of Content Area

Function documentation    Watchpoints  Locate the document in its SAP Library structure

Like a breakpoint, a watchpoint is an indicator in a program that tells the ABAP runtime processor to interrupt the program at a particular point. Unlike breakpoints, however, watchpoints are not activated until the contents of a specified field change. Watchpoints, like dynamic breakpoints, are user-specific, and so do not affect other users running the same program. You can only define watchpoints in the Debugger.

Use

You set watchpoints in the Debugger to monitor the contents of specific fields. They inform you when the value of a field changes. When the value changes, the Debugger interrupts the program.

Features

·        You can set up to five watchpoints in a program.
See also Setting Watchpoints
.

·        You can also specify the conditions under which a watchpoint is to become active.

·        You can specify a logical link for up to five (conditional) watchpoints.
See also Specifying Logical Links.

·        You can define watchpoints as either local or global. If you define a global watchpoint, it is active in all called programs. Local watchpoints are only active in the specified program.

·        You can change and delete watchpoints.
See Changing Watchpoints

·        You can use watchpoints to display changes to the references of strings, data and object references, and internal tables.
See Memory Monitoring with Watchpoints

 

End of Content Area