cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to recreate the Invoice

former_member223813
Contributor
0 Kudos

Hi Team,

we are facing an issue in a scenario.

scenario is when we are cancelling the invoice and trying to recreate the invoice again in vf01 getting error as "order has  fully invoiced" .WBS has been reset for FNBL status .This started happening after SP9 upgrade of system.

This is order related billing.

Regards

MZI

Accepted Solutions (0)

Answers (2)

Answers (2)

ivano_raimondi
Active Contributor
0 Kudos

Hello,

the system considers the SD document type VBTYP to determine billing status.

Example: invoices with VBRK-VBTYP = 'M' should be reversed with billin documents having VBRK-VBTYP = 'N'.

If you reverse an invoice with VBRK-VBTYP = 'M' with a credit memo (for example) with VBRK-VBTYP = 'O', then the previous sales order remains fully billed.

What are the SD doc.category in VBRK-VBTYP of cancelled and cancellation ?

Best regards,

Ivano.

0 Kudos

Hi

It sounds as though the error 'order fully invoiced' is being raised in the copy requirement routines where the status of tables VBUK and VBUP are checked. Normally after a cancellation the billing staus in VBUP/VBUK would be reset to 'A' on the reference sales order.

It seems this is not the case ?

Check table VBFA for the sales order the PLMIN flags have to cancel each other out.

You will have a + for the billing Qty and you should have a - for the cancellation Qty

In this case the statuses should be reset correctly.

If the plus and minus flags in VBFA do not match this is the reason for the error.

This could be due to the customising in VTFA if the PLMIN flag is not set to - in the cancellation ?

Otherwise if the customising is correct

Note 152051 has a correction report for inconsistencies in VBFA you can run sdvbuk00 to

redetermine the sales order statuses if required

Hope this helps

Kind regards

Brian