2016 Apr 20 8:27 AM
Hi, Expert,
Kindly, need your help regarding how to debug VF04 and stop at the breakpoints that have been set in the print program,
Currently, i want to change the logic for print program, but, even if I put an external breakpoints or tick on update debugging, it does not work.
It will run the program and direct send an email without enter and stops at the breakpoints
Please guide me how to debug VF04 to the print program.
Thanks and regards,
Liyana
2016 Apr 20 9:35 AM
It seems ur program is running in background , to debug this tcode ,
run that tcode and go to sm50 transaction , there will see jobs running .
select your job and see in menu bar there in program option u will find debugging .
Regards,
Sabir Shah.
2016 Apr 20 10:01 AM
May be you may have to try running RSNAST00 program with proper inputs invoice number. Here, if you have put any break-point in the ENTRY routine of print program, it will stop and there after you can make necessary changes at run time. Hope it helps.
If it says zero records processed, try to check 'resend' check box on RSNAST00 program selection screen.
Regards
2016 Apr 20 11:04 AM
Hi,
Find the output type triggered for your document, find a print program of that specific output type in transaction NACE, place a breakpoint in the print program and create a billing from transaction VI01 for that specific order.
2016 Apr 20 1:39 PM
If you want to just debug the output, then place a breakpoint in the output routine and use VF31 to output the message (or repeat the output). If you don't know how to use VF31, a SD functional consultant will be able to help you. When you process using this tcode, the debugger will stop at your breakpoint.
Thanks,
Juwin
2016 Apr 22 3:58 AM
Hi,
Thanks for your reply,
I know how to debug fro vf31,
but, i don't know how to debug print program from vf04,
Please advise,
Thanks and regards,
Liyana
2016 Apr 22 5:28 AM
set an 'external breakpoint' and this may get picked up in background.
sorry, I see you have already done that. Where did you put the external breakpoint.? You may need to set 'system' debugging on...settings->system debugging inside debugging.
Also maybe confirm that the print program is what you expect it to be!
2016 Apr 22 1:42 PM
Messages could be triggered in update tasks, when you work through VF04. Hence, debugging them through VF04 is tough - unless you activate update debugging and then go through the debugger step by step.
There is no difference between the output triggered through VF31 and VF04. Hence it shouldn't matter whether you do the debugging through VF31 or VF04.
If debugging the output program isn't your intention, please clarify.
Thanks,
Juwin