Symptom
In the Invoice File Upload view, the original XML source file is not attached to the supplier invoice when the XML contains attachments, although the attachments are uploaded successfully.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Supplier Invoicing work center.
- Go to Invoice File Upload view.
- Select All Documents from the drop-down.
- Select Invoice ID 123 (123 represents Invoice ID).
- Select Attachments tab.
Note that the Attachments tab contains only the attachments found within the <cac:Attachment> tag of the XML file used to upload the invoice.
Cause
- This is the current system design.
-
The XML file is stored as an attachment only when the payload does not contain any attachments.
- When the payload includes attachments, those attachments are added to the Supplier Invoice, and the XML file itself is not stored as an attachment. As a result, the Attachments tab displays only the attachments extracted from the XML payload.
Resolution
Having both the original uploaded XML file and the payload attachments available on the Supplier Invoice is currently not supported as standard behavior. The issue is under investigation, and a potential solution is being evaluated.
Workaround:
To display the XML file in the Supplier Invoice Attachments tab, upload the invoice using an XML payload that does not contain any attachments.
To display the XML file in the Supplier Invoice Attachments tab, upload the invoice using an XML payload that does not contain any attachments.
Keywords
Invoice file upload; Supplier invoice attachments; Payload attachments , KBA , SRD-SRM-SI , Supplier Invoicing , Problem
Product
SAP Business ByDesign all versions
SAP Knowledge Base Article - Public