Skip to Content
author's profile photo Former Member
Former Member

Breakpoint not working in invoice print program

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 25, 2007 at 02: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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Apr 25, 2007 at 02:53 AM

    hi

    try this

    BREAK 'USER1'.

    replace user1 with ur user id, n lemme know

    ~~Guduri

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 25, 2007 at 04: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 25, 2007 at 05:26 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.