In the VOFA, for the billing type ZXX, check
Cancell.billing type S1 Cancel. Invoice (S1)
with this standard assignment system is cancelling all the line items of the invoice.
Please check the cancelling procedure.
And please share the cancelled invoice quantity got cumulated or took only the first line item.
Thanks for your post, The cancelled billing document S1 only had the first line item which was present in the billing document, it did not take the other 2 line items(20 and 30),could not find anything called cancellation procedure in the S1 billing type, however against the cancell billing type option the same is blank please advise what needs to be checked.
the lonely possibility is that user performed an item cancellation.
That is run VF11, then push 'Item selection', and selected only first item.
The result is that cancellation invoice will have only first item.
You can verify by checking field VBRK-FKSTO of cancelled invoice, and field VBRK-SFAKN of cancellation invoice.
If they are blank, then an item cancellation has been performed.
See SAP note [400000|https://bosap-support.wdf.sap.corp/sap/support/notes/400000] for further details.
Now you can run VF11 to reverse the other two items.