Symptom
Error message 8A 128 "Document: Date error: Document date XXXXXX inconsistent with last-assigned date YYYYYY." occurs when cancelling the billing document for Spain.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the "Manage Billing Documents" app.
- Cancel the billing document.
- Error message "Document: Date error: Document date XXXXXX inconsistent with last-assigned date YYYYYY." occurs.
Cause
The date that was entered for the document is earlier than the last assigned date of the official document number. As per Spain legal requirement, document can not be posted with a date that is earlier than the date of document that has already been posted.
Resolution
- Open the "Change Billing Documents"(VF02) app.
- Locate the billing document to be canceled.
- Navigate to "Billing Document -> Cancel".
- Change the billing date and then proceed again.
Keywords
billing cancellation, document date error, inconsistent date, Spain, billing document,8A128, VF188, billing date, ODN,VF02, change billing documents, manage billing documents, official document number , KBA , CA-GTF-CSC-ES , S4HANA Logistics Localization for Spain , SD-BIL-IV-2CL , Processing Billing Documents (Public Cloud) , Problem
SAP Knowledge Base Article - Public