Symptom
When executing the Argentina Last Official Document Number report (AR_ODN_RANGE_REP) via Run Statutory Reports, the report completes with Run Status "Generated with Errors".
Checking the Log tab (Document Log) shows the following error:
Element Item occurs 0 times. Number of occurrences must be >= 1. Element Name: Item
This error indicates the report found no eligible documents for the selected company code and reporting period, resulting in an XML output that fails schema validation due to the missing mandatory Item element.
Images/data in this KBA are from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- DRC Argentina Statutory Reporting
- SAP S/4HANA
- SAP S/4HANA Cloud Private Edition
- SAP Fiori for SAP S/4HANA
- SAP Fiori for SAP S/4HANA Cloud Private Edition
Product
Keywords
AR_ODN_RANGE_REP, Argentina Last Official Document Number, Official Document Number, ODN, Generated with Errors, Generation not Successful, Element Item occurs 0 times, Run Statutory Reports, Document Type, Document Class, Self-issued document, ODN configuration, Assign Document Class to Document Type, Argentina, Legal Reporting, Statutory Reports Argentina , KBA , FI-LOC-FI-AR-ACR , Statutory Reporting , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview