04-25-2007 3:49 AM
I need to debug the print program the first time the invoice is printed. We are having problems with one of the field the first time the sapscript is generated. This is done thru VF01 with output type ZJIN (customized). But when I try to reprint it using VF02 or VF03 the data is already correct. I really need to set the breakpoint when I create billing document in VF01 but the program is not stopping where i put the breakpoint. How will i going to debug the program? Please help.
04-25-2007 3:53 AM
hi
try this
BREAK 'USER1'.
replace user1 with ur user id, n lemme know
~~Guduri
04-25-2007 3:54 AM
Hi. I already tried that but it still not working when in VF01. But when i try in VF02 or VF03, the breakpoint works.
04-25-2007 3:59 AM
hi,
I guess its not passing through the code where u have set the break point.
Its just skipping the code because of the check conditions before the code.
(i.e. if and other control statements).
Put breakpoint at the check condition before your code.And check whether it is reaching your code.
~~Guduri
04-25-2007 5:23 AM
hi Katchak ,
u cannt set break-point in this driver programs, better to go thru the program and try to understand the flow.
Regards
Prabhu
04-25-2007 6:26 AM
I did trial and error and got the solution after a few trials. I just cleared the field before the loop endloop.