Symptom
The field Quantity and Unit Price are displayed empty in the PDF of Accounting eDocuments for Chile.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to the eDocument Cockpit App.
- In the Source Document field, enter ABC (where ABC represents the Accounting Document ID).
- Mark the eDocument ABC.
- Select Display/Preview XML -> Display PDF.
The field for Quantity and Unit Price are not populated in the PDF.
Cause
The tags <QtyItem> and <PrcItem> are currently available only in the XML Billing Documents for bindings in the PDF.
For Accounting Documents, these tags are not maintained in the XML structure of the eDocument. In this situation, it is necessary to review the XML structure used for Accounting Documents to identify the most appropriate tags for binding the Quantity and Unit Price fields in the PDF Document.
Resolution
Review the feasibility of implementing the BAdI EDOC_ADAPTOR_CLOUD.
The Badi EDOC_ADAPTOR_CLOUD can be used to modify existing XML tags or populate optional tags with the required information to support the binding configuration.
See Also
SAP Community Blog: Enhancing the Standard XML File for Electronic Documents using the BAdI EDOC_ADAPTOR_CLOUD
Keywords
pdf, chile, edocument, bindings, edoc_could_adaptor , KBA , CA-GTF-CSC-EDO-CL , Document Compliance Chile , Problem
SAP Knowledge Base Article - Public