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: 

Dubug in 7.4 SP 08

amol_samte
Contributor
0 Kudos


Hi Gurus,

I have 1000 records in my internal table, Inside loop I have to check 500th records processing. how to put break point or how can I achive this without processing single record.

Note :This is in production system so I can not modify the code.

Thanks,

Amol

1 ACCEPTED SOLUTION

Peter_Inotai
Active Contributor
0 Kudos

Hi Amol,

In the new debugger there is a skip number in the breapoint settings. There you can control, for example that the first 500 entries are skipped:

Peter

11 REPLIES 11

anubhab
Active Participant
0 Kudos

Hi,

    You can use conditional watch-point, where in condition you put the desired variable value. Hope it helps.

Thanks,

Anubhab Chirui

Peter_Inotai
Active Contributor
0 Kudos

Hi Amol,

In the new debugger there is a skip number in the breapoint settings. There you can control, for example that the first 500 entries are skipped:

Peter

0 Kudos

Hi Peter,

I follwed same procedure but it is not stopping.

Thanks,

Amol

0 Kudos

1. Open up Breakpoints/Watchpoints tab

2. Select breakpoint:

3. Set break point condition:

0 Kudos

Hi,

Same procedure I have followed but it is not stopping.

For your reference I am attaching SS.

After that i have pressed F8.

Same Thing I have done what Peter suggested but same result I am geting.

Regards,

Amol

0 Kudos

Hi Amol,

Just move your breakpoint inside the loop to "IF ..." instead of having it at LOOP. Then you'll have the counter trick working.

Cheers,

Peter

0 Kudos

‘SKIP’ not working? how it could be.

You should set a breakpoint in LOOP, then set 'SKIP' value.

regards,

Archer

0 Kudos

create the break-point one line after the LOOP statement, it is working.

former_member200338
Active Contributor
0 Kudos

in the debugger, click on watchpoint button.

1. In variable, enter sy-tabix or sy-index based upon the loop you use.

2. in free condition entry, enter = 500 and press green tick mark button.

your loop should stop at 500th record.

SharathSYM
Contributor
0 Kudos

Check out this post, http://scn.sap.com/docs/DOC-55236

using break-point condition.

vinodkumar_thangavel
Participant
0 Kudos

Hi,

You can create watch points and simply mention in the variable by providing the SY-TABIX = 500,so that that particular line gets triggered automatically.

Regards,

Vinodkumar.