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 of a subroutine pool.

Former Member
0 Likes
1,508

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

3 REPLIES 3
Read only

Former Member
0 Likes
845

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

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
845

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

Read only

0 Likes
845

if Rich's suggestion doesn't work try "Settings" --> System Debugging instead.