Do you have any question about this error?
Stop Googling SAP errors. Use our Free Essentials plan instead - instant AI help, no credit card needed. Start Now →
Message type: E = Error
Message class: VF - Billing
Message number: 158
Message text: Document &1: cancellation of items not possible.
Cancellation of items is not possible for the speicifed document due to
one of the following reasons:
Document has not yet been transferred to accounting.
Document contains payment cards.
Document represents a rebate document.
Creation of a cancellation billing document is refused.
Check to see which of the above scenarios is the case. If the document
has merely not been transferred to accounting, then perform the
cancellation again once you have transferred the document to accounting.
Error message extract from SAP system. Copyright SAP SE.
VF158
- Document &1: cancellation of items not possible. ?The SAP error message VF158 ("Document &1: cancellation of items not possible") typically occurs in the context of billing documents, particularly when trying to cancel or reverse a billing document in SAP. This error indicates that there are certain conditions preventing the cancellation of specific items within the billing document.
Causes of VF158
Status of the Document: The billing document may be in a status that does not allow for cancellation. For example, if the document has already been fully paid or if it has been referenced in subsequent documents (like invoices or credit memos), cancellation may not be possible.
Item Conditions: Certain items within the billing document may have conditions or statuses that prevent their cancellation. For instance, if an item has been delivered or invoiced, it may not be eligible for cancellation.
Document Type Restrictions: Some document types in SAP have specific rules regarding cancellations. If the document type does not allow for item cancellations, this error will occur.
Custom Logic or Enhancements: Custom developments or enhancements in the SAP system may impose additional restrictions on the cancellation process.
Open Items: If there are open items related to the billing document, such as pending payments or adjustments, this may also prevent cancellation.
Solutions
Check Document Status: Review the status of the billing document to ensure it is eligible for cancellation. If it has been fully processed or paid, you may need to consider other options, such as creating a credit memo instead.
Review Item Conditions: Examine the individual items in the billing document to identify any that may be causing the issue. Look for items that have been delivered or have other restrictions.
Consult Documentation: Refer to SAP documentation or your organization's internal guidelines regarding the specific document type and its cancellation rules.
Use Alternative Transactions: If cancellation is not possible, consider using alternative transactions such as creating a credit memo or adjusting the billing document through other means.
Check for Custom Logic: If your organization has implemented custom logic or enhancements, consult with your SAP technical team to understand any additional restrictions that may be in place.
Contact SAP Support: If the issue persists and you cannot identify the cause, consider reaching out to SAP support for assistance. They can provide insights based on the specific configuration and customizations of your SAP environment.
Related Information
By following these steps, you should be able to diagnose and address the VF158 error effectively.
Get instant SAP help. Sign up for our Free Essentials Plan.
VF157
Account key cash register set to space. No input allowed from now on.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
VF156
Error &1 while substituting WBS element &2.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
VF159
'B' 'D' 'E' or 'F' not permitted here.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
VF160
Currency type could not be determined for transfer price.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.