Skip to Content
Former Member
Jan 24, 2006 at 10:57 AM

debugging problem with field symbol.. cannot create a watchpoint.


Hi All , I was debugging a program where I have used LOOP AT IT_TAB ASSIGNING <FS> ... ENDLOOP.

Here I wanted to put a WATCHPOINT for <FS>-MATNR = 'XYZ'. In the debugger mode I did create a LOCAL WATCHPOINT.

However my processor did not STOP at particular record saying 'WATCHPOINT REACHED'. It just moved ahead and showed me


In Contrast If I change the code as LOOP AT IT_TAB INTO W_TAB (work area) and create a watchpoint at W_TAB-MATNR = 'XYZ'

it works fine. Why does it happening that way. Can't we create a watchpoint in a FIELD SYMBOL loop.