Application Development 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: 

Breakpoint not working in invoice print program

Former Member
0 Kudos

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.

5 REPLIES 5

Former Member
0 Kudos

hi

try this

BREAK 'USER1'.

replace user1 with ur user id, n lemme know

~~Guduri

Former Member
0 Kudos

Hi. I already tried that but it still not working when in VF01. But when i try in VF02 or VF03, the breakpoint works.

0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

I did trial and error and got the solution after a few trials. I just cleared the field before the loop endloop.