Symptom
You receive the following errors while uploading attachments in Manage Purchase Order, Manage supplier invoice, Manage Purchase Requisition, Create purchase order advanced APPs:
- Error while uploading the attachments
- An error occurred when uploading to SAP Knowledge Provider
Environment
SAP S/4HANA Cloud
Cause
Active content is not allowed in S/4HANA and an upload of files with active content is not possible. The external links in any file might cause the active content violation. (eg: file is pointing to other sheets or data sources)
Resolution
The fix is expected to be released with the 2302 upgrade. Refer to the below workaround:
- ZIP the pdf and attach; make use of URL attachments
OR - Do a Print to Pdf (Ctrl + P) and save a new pdf file and upload this new file.
See Also
Keywords
Error While Uploading Attachments, attachment failed to upload, file corrupted, not supported, pdf, attach, output management, error, An error occurred when uploading to SAP Knowledge Provider, s4hc, Error uploading attachment not found , KBA , MM-PUR-PO , Purchase Orders , MM-FIO-IV , Fiori UI for Invoice Verification , MM-FIO-PUR-PO , Fiori UI for Purchase Orders , MM-FIO-PUR-REQ-SOC , Fiori UI for Sourcing Purchase Requisitions , Problem