‎2006 Mar 16 4:51 PM
Hi friends.
I am trying to debug PO print program, even after putting an endless loop.. it's not going to debug mode. Please help
Thanks
Lakhbir
‎2006 Mar 16 4:53 PM
Hi Lakhbir,
My suggestion is try to debug the SAP-layout form first(activate debugger),then find the elements which are getting triggered,then put a break-point in the print program at that write_form of the element & see.
‎2006 Mar 16 4:55 PM
‎2006 Mar 16 4:55 PM
‎2006 Mar 16 4:56 PM
Lakhbir,
I am not sure putting an endless loop will help you in debugging. Why don't you put a hard BREAK-POINT in the program?
Regards,
Ravi
‎2006 Mar 16 5:12 PM
Lakhbir,
There are several ways to keep breakpoints.
1. Get the Layout name. Go in SE71, give layout/form name and enter in display mode. Use menu path Form Check --> Texts. It will display all associated driver programs. If you know your driver program name, place a breakpoint from SE38. Usually there should be a FORM ENTRY routine call.
2. Go to program RSNAST00 -search for
PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE
US_SCREEN
IF FOUND.
PGNAM is program name, RONAM is Name of routine to be called up in the processing program.
Keep a break point. When you print from ME23N, control will come to this place in debugging mode.
Check form name, program name. Go to program and associated form and keep breakpoint.
Hope this will help you.
‎2006 Mar 16 5:12 PM
Hi friends .
I had tried all the options before posting the message.we are using Sap standard program SAPFM06P...the problem is i am not getting certain pricing conditions printed.. even they have Print indicator marked "X".
really don't know why?
‎2006 Mar 16 5:13 PM
Lakhbir,
Did you look at the conditions on which the Pricing conditions get printed?
regards,
Ravi
‎2006 Mar 16 5:14 PM
Hi Lakhbir,
First check whether the driver program attached is the SAP standard SAPFM06P or copied into a z program.
Go to NACE transaction & see this.
‎2006 Mar 16 6:10 PM
chk the print configuration in transaction NACE> EF>Output types>Processing routines> c the print program..if it is SAPFM06P, then goto function group MEDRUCK ( in SE80 )--> put a breakpoint in any of the function modules and try out..
Hope it helps,
Regards,
Bikash