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

Watch Points while Debugging

Former Member
0 Likes
1,344

Hi All,

I am debugging a loop of an internal table.

The internal table is having 4000 entris. Now i would like to debug 3450th line of that internal table.

I am using ECC 6.0 version and unable to set the watchpoint to debug that particular line.

Can anyone help me out how exactly to set the watch point and to debug that line?

Please help me out......

Regards

Pavan

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
1,101

set watch point either on wa_line-fieldx (hopefully this is unique) else watch point on SY_TABIX = 3450.

4 REPLIES 4
Read only

Sm1tje
Active Contributor
0 Likes
1,102

set watch point either on wa_line-fieldx (hopefully this is unique) else watch point on SY_TABIX = 3450.

Read only

former_member673464
Active Contributor
0 Likes
1,101

hi,

you put a watch-point on system field sy-tabix.As the loop on internal table takes place sy-tabix contains the number of the record which it is processing.Put a watch-point on sy-tabix .

regards,

Veeresh

Read only

Former Member
0 Likes
1,101

hi

in ecc 6.0 go to the debugging screen

then clik on watc points in the toll bar

then one popup screen will appear

give the variable name where to give the watch points

for ex...

itabb-lifnr = '3000'.

then press enter.

now watch point is created.

rewards if helpful

sachhidananda

Read only

Former Member
0 Likes
1,101

Thanks....