SAP Message WS158 - You cannot cancel - accounting document does not exist for document &1

Diagnosis
The accounting document for document &V1& does not exist in the system.

System Response
The system does not allow cancellation of document &V1&, as furthererrors would then arise when the accounting document is created for thecancellation document.

Procedure
Create a credit memo for document &V1& or change the cancellationbilling document type of billing document type &V2& so that a creditmemo can be created for document &V1&.

457035 Incorrect doc. status if document not relevant to accounting