You cannot cancel - accounting document does not exist for document &1
Message type: E = Error
Message class: WS - Supplier Billing Document
Message number: 158
Message text: You cannot cancel - accounting document does not exist for document &1
What causes this issue?
The accounting document for document &V1& does not exist in the system.
System Response
The system does not allow cancellation of document &V1&, as further
errors would then arise when the accounting document is created for the
cancellation document.
How to fix this error?
Create a credit memo for document &V1& or change the
<DS:DE.WFARTS>settlement document type for the reversal document</> of
settlement document document type &V2& so that a credit memo can be
created for document &V1&.
Error message extract from SAP system. Copyright SAP SE.