Skip to Content

Cancellation doc. is not released to accounts. New billing doc. should not be created

Hi All,

Posting this question after searching through the forums and not finding any relevant threads.

There is a requirement from the client wherein:

A billing document was created with reference to a delivery document and was posted to accounts automatically. Due to some reasons, this billing document was cancelled. This created a cancellation document but it was not automatically released to accounts (posting block is set in customizing for the cancellation billing type).

Now, the new requirement from the client is that, the system should not allow the creation of new billing document (reference to delivery document) using VF01/VF04 transactions if the cancellation document of the previous billing document is not released to accounts (which is the case here).

Is there any customizing setting/SAP Note for this? If not, can anyone guide with the custom development here?

Warm Regards,

Laxmy

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Feb 27 at 11:00 AM

    Hello,

    This is not possible with SAP Standard settings. You will have to go for a Custom development which will check for document flow and necessary status before allowing to create a New Invoice.

    However, one question still remains, why is Cancellation Invoice relevant for posting block. I would assume Cancellation Invoice should reverse the Original Invoice account entry and there is nothing else to check...

    Thanks,

    Jignesh

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 25 at 09:42 PM

    you need 100% to understand a process, but not just to change a config or use a custom abap to satisfy your customer.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 26 at 06:30 AM

    ****Now, the new requirement from the client is that, the system should not allow the creation of new billing document (reference to delivery document) using VF01/VF04 transactions if the cancellation document of the previous billing document is not released to accounts (which is the case here)*****

    Normally standard system will check whether the billing was created or not-But it will never check the Status of accounting(which we can be done after billing)

    Here your Requirement-we can divide in Two ways:

    1.Bill was created-released to accounting-Cleared at Accounting-then user is trying to cancel this bill-You can restrict this with Copying routine 29 at VOFA for your cancellation billing type..

    2.Bill was created-Not released to accounting-But at this movement User cancelled-This Cancelled document is not released to accounting due to some reasons..(like Posting block etc.)-So at this junction-if user tries VF01 again-System will allow you to create one more new billing due to this delivery visibility in VKDFS Table-if you want restrict this try with Exit RV60AFZZ by validating the subsequent document accounting status...

    Phanikumar

    Add comment
    10|10000 characters needed characters exceeded

    • Dear Phani,

      Thank you for the response. I am mainly looking at scenario-2 mentioned by you. Will get the user exit checked.\

      Regards,

      Laxmy