2006 Feb 09 9:35 PM
Hi there,
Does anyone knows if is posible to debug a subroutine pool?
I'm trying to print a smartform of a RFQ using the function ME_READ_PO_FOR_PRINTING, but the program prints a different requisition a not the one selected.
I want to capture the RFQ number and pass it as a parameter to the smartform but for any reason I can't get the correct number.
I put a break-point on the program but it doesn't work and I am unable to track and find the problem.
Any help will be appreciated.
Thanks,
Orlando
Hi there,
Does anyone knows if is posible to debug a subroutine pool?
I'm trying to print a smartform of a RFQ using the function ME_READ_PO_FOR_PRINTING, but the program prints a different requisition a not the one selected.
I want to capture the RFQ number and pass it as a parameter to the smartform but for any reason I can't get the correct number.
I put a break-point on the program but it doesn't work and I am unable to track and find the problem.
Any help will be appreciated.
Thanks,
Orlando
2006 Feb 09 9:43 PM
Hi Orlando,
Are you printing the RFQ from ME52N by assigning an O/P ?
If so then assign O/P to your RFQ and then set further data dispatch time as send as Period job.
Then use program RSNAST00 and you can debug .
If you are doing as a back ground job then :
type JDBG in the OK-code and press enter
Hope this may help you.
Lanka
Message was edited by: Lanka Murthy
2006 Feb 09 9:44 PM
Sounds like that subroutine is being fired in another process. If you can, start the debuggin during your dialog process, once inside the debugger, switch on the Update Debugging, by clicking "Settings" --> UPdate Debugging. Now hit F8 to get to your other breakpoint. Hopefully it will stop there.
Regards,
Rich Heilman
2006 Feb 10 1:30 AM
if Rich's suggestion doesn't work try "Settings" --> System Debugging instead.