Do you have any question about this error?
Message type: E = Error
Message class: WS - Supplier Billing Document
Message number: 159
Message text: You cannot cancel - accounting document contains settled items
The accounting document for document &V1& contains cleared amounts.
The system does not allow document &V1& to be cancelled, as this would
result in errors during the creation of the accounting document of the
reversal document.
For document &V1&, enter a document with a contrasting settlement
document category or change the
<DS:DE.WFARTS>settlement document type for the reversal document</> of
settlement document type &V2& so that an invoice/credit memo/valued
credit memo is created for document &V1& (tmfk-lftyp = '01' or
tmfk-lftyp = '03').
Error message extract from SAP system. Copyright SAP SE.
WS159
- You cannot cancel - accounting document contains settled items ?Certainly! Here's a detailed explanation for the SAP error message WS159: "You cannot cancel - accounting document contains settled items":
Error Message: WS159
Text:
You cannot cancel - accounting document contains settled items.
Cause:
This error occurs when you try to cancel (reverse) an accounting document that includes line items which have already been settled. In SAP, "settled items" means that the line items have been cleared or offset against other documents (e.g., payments, clearing documents, or settlement documents). Once an item is settled, it is linked to another document, and direct cancellation of the original document is not allowed because it would break the integrity of the clearing or settlement process.
Explanation:
Identify the settled items:
Reverse the clearing document:
Cancel the original document:
Re-clear the items if necessary:
Aspect | Details |
---|---|
Cause | Document contains line items that are already settled/cleared. |
Effect | SAP blocks cancellation to maintain data integrity. |
Solution | Reverse the clearing/settlement first, then cancel the original document. |
Transactions | FBL1N, FBL3N, FBL5N (to identify), FBRA (reset clearing), FB08 (cancel document) |
If you need help with specific steps or transactions, feel free to ask!
Get instant SAP help. Sign up for our Free Essentials Plan.
WS158
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 can...
WS157
Clearing account found for item &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WS160
Different net values at supplier and customer level
What causes this issue? The current Customizing settings for settlement process type &V1& lead to a balance when the accounting document is c...
WS161
Account key not maintained for settlement document type &1
What causes this issue? The Customizing settings for settlement process type &V2& and settlement document type &V1& are inconsistent....
Click on this link to search all SAP messages.