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

Debugging skips breakpoints ?

Former Member
0 Likes
696

I am running Change Material Doc (tcode MB02) and creating a message output. I entered the output type (WA03) and language (EN) it run a Sapscript form (WASCHEIN) using driver program SAPM07DR. I have put breakpoints in SAPM07DR in all open forms and also in the form routine entry_wa03 and the execution does not stop at any of the breakpoints but still generates an output spool.

How do I debug this code ?

Desparately seeking help.

TIA.

Edited by: NewComer on Dec 20, 2007 12:22 AM

3 REPLIES 3
Read only

Former Member
0 Likes
545

Hi,

Wecome to SDN.

The driver program for the output gets triiggered in background and hence you do not see the control stopping at the output.

What you can do is to go to the output screen.

Go to further options.

Chose the dispatch option as send with periodically scheduled job.

Then save the document.

Put the break point in your driver programs.

Go to se38 and run the RSNAST00 program.

GIve the Material Document number in the Object value.

Then it will stop at the breakpoint.

Alternatively, you can try to toggle the check box for system debugging in debugger to ON. and try issue the output. I haven't tried this but it may worth a try.

Regards,

Ravi Kanth Talagana

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
545

Most likely the output is being fired in an update task, hence the reason why your breakpoints are not working. I would suggest trying to use the "Print Preview" button(if it is available) to force the output to fire in your dialog session.

Regards,

Rich Heilman

Read only

0 Likes
545

Thanks Ravi. I was able to debug the message output using RSNAST00 program.