Beruflich Dokumente
Kultur Dokumente
Steps:
1.
Set a debugging point at the loop statement of the internal table, once the debugging screen appears
then press F5, an entry would appear in the workarea LS_MARA.
2.
Now keep the cursor on the field to which we want to set the watchpoint. In this example we want to
set watchpoint for the LS_MARA-MATNR.
3.
Press Create watchpoint button on the toolbar of the debugger screen as below.
4.
We will automatically have the variable field populated with the desired field as shown below.
5.
Now enter the condition for which we want to set the watchpoint in the Free Condition Entry Field.
6.
7.
The watchpoint will be created and we will have below message appeared in the status bar.
8.
Now press F7 to reach your desired record. We will get below message at the status bar of the
debugger screen:
9.
Now we will have the LS_MARA-MATNR = 000000000000000599 value in the workarea. We can
analyze the contents of the workarea for this material number directly, without looking at all records in
the internal table.