SAP Knowledge Base Article - Public

3843415 - Original XML Source Missing from Supplier Invoice When XML Includes Attachments

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

  1. Go to Supplier Invoicing work center.
  2. Go to Invoice File Upload view.
  3. Select All Documents from the drop-down.
  4. Select Invoice ID 123 (123 represents Invoice ID).
  5. 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.

Keywords

Invoice file upload; Supplier invoice attachments; Payload attachments , KBA , SRD-SRM-SI , Supplier Invoicing , Problem

Product

SAP Business ByDesign all versions