Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Reg Watch point for internaltable

Former Member
0 Kudos

Hi,

In my Internal table, i have arround 30,000 records. I would like to go to 21,200 line directly. I have created Watch point with sy-tabix = '21200' inside the Loop. But the thing is that i could not able to go the line directly. I need to Press F8 severla times. Is there anyway to go to particlar line directly?

Regards

Srikanth

5 REPLIES 5

Former Member
0 Kudos

Hi

in debugger

just change the value of sy-tabix to the required value.

remember you can change the system variable during run time only in new debugger not in classic debugger.

hope this will work for you

Thanks

LG

Former Member
0 Kudos

Modify your code before run,

Loop

When sy-index = 'XXXX'.

Break with your ID.

Endloop

Former Member
0 Kudos

Ensure you dont have a break point set within your LOOP ENDLOOP. If so - then program control will stop at every loop iteration irrespective of the watch point set.

Hence set up watch point. Remove all break points. Then a single F8 will take you to he execution step required.

Former Member
0 Kudos

hi,

Put a break point inside or on the LOOP AT statement. Go to debugging mode in classic debugger. Go to the breakpoint tab. There is a column named 'count.' Put 21200. Press F8. This will stop at the particular record.

Refer the below link for more details.

http://help.sap.com/saphelp_nwes72/helpdata/en/c6/617cd6e68c11d2b2ab080009b43351/content.htm

Former Member
0 Kudos

Need a BP here