Application Development and Automation 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: 
Read only

Reg Watch point for internaltable

Former Member
0 Likes
2,145

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

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
Read only

Former Member
0 Likes
1,529

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

Read only

Former Member
0 Likes
1,529

Modify your code before run,

Loop

When sy-index = 'XXXX'.

Break with your ID.

Endloop

Read only

Former Member
0 Likes
1,529

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.

Read only

Former Member
0 Likes
1,529

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

Read only

Former Member
0 Likes
1,529

Need a BP here