Symptom
You click Save in the app Create Billing Documents. The following error message is displayed: "Sorry, a technical error has occurred. Please try again later. { "message": "HTTP request failed", "statusCode": 500, "responseText": "IDCN/508 Date error: Document date XXXX inconsistent with last-assigned date YYYY" }".
Environment
SAP S/4HANA Cloud Public Edition.
Reproducing the Issue
- Open the app Create Billing Documents.
- Attempt to create a billing document.
- Click Save. The following error message is displayed: "Sorry, a technical error has occurred. Please try again later. { "message": "HTTP request failed", "statusCode": 500, "responseText": "IDCN/508 Date error: Document date XXXX inconsistent with last-assigned date YYYY" }.
Cause
This issue blocks the saving/creation of billing documents when the Billing Date is earlier than the Last-Assigned Date maintained in the configuration activity Assign Number Ranges to Business Places.
Resolution
The current design of the "Last-Assigned Date" requires that a new document date must be after the "Last-Assigned Date" to allow posting.
If there's a preference not to have date control based on the business needs, consider configuring the setting at "Assign Document Class to Accounting Document Type and Tax Code" by adjusting the OffNumCntr to "Generate Official Document Number, without date control".
Keywords
IDCN/508, create billing document, last-assigned date, inconsistent document date, Assign Document Class to Accounting Document Type and Tax Code , KBA , FI-LOC-FI-TW , Taiwan , Problem
SAP Knowledge Base Article - Public