Symptom
When generating the SPED EFD ICMS/IPI report (SPED Fiscal) using either SAP Tax Declaration Framework (TDF) or SAP Document and Reporting Compliance (DRC) for Brazil, the file fails validation. The validator returns an error related to record 0221, such as:
"The value must exist in the COD_ITEM field of a parent record 0200 with TIPO_ITEM filled with ‘00 – Merchandise for Resale’ and that has a single child record 0221 with COD_ITEM_ATOMICO equal to the COD_ITEM field of the parent record."
Further analysis shows that the system is generating multiple 0221 child records for a single 0200 parent record. This often occurs when a material classified for resale (TIPO_ITEM = '00') has an associated Bill of Materials (BOM) that the system incorrectly processes, leading to multiple component entries in record 0221.
Read more...
Environment
- SAP ERP
- SAP S/4HANA
- SAP S/4HANA Cloud Private Edition
- SAP Tax Declaration Framework for Brazil
- SAP Document and Reporting Compliance service
- SPED EFD ICMS IPI
Product
Keywords
KBA , FI-LOC-FI-BR-ACR , Advanced Compliance Reporting , FIN-TMF-BR , Tax Management Framework Brazil , 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