03-21-2011 6:27 AM
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
03-21-2011 6:36 AM
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
03-21-2011 6:41 AM
Modify your code before run,
Loop
When sy-index = 'XXXX'.
Break with your ID.
Endloop
03-21-2011 6:57 AM
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.
03-21-2011 7:24 AM
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
07-16-2014 2:26 PM