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

Stop printing cancelled invoices..

Hi,

Some how the cancelled invoices are getting printed in the batch job. Can you please guide me on how to prevent this situation? Is there any place where we can check for the status of invoice whether it is cancelled or not?

Thank you,

Samay

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2006 at 04:12 PM

    Hey,

    This is probably due to the routine that this is happening.

    You could check the status of the billing document through the table VBAK.. it is E for cancelled invoices.

    If the message output is automated , it is due to the routine and it needs to be changed by your technical counterpart

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2006 at 05:22 PM

    Hi Samay

    In the routine for the invoice output put a check like

    if vbrk-fksto = 'X'.

    Sy-subrc = 4.

    Endif.

    If vbrk-fksto = x then the invoice has been cancelled.

    Hope this helps.

    Thanks

    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.