Symptom
- Inability to view PDF files in the Manage Supplier Invoices Centrally application within the SAP S/4HANA Cloud Public Edition.
- The issue occurs intermittently.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the "Manage Supplier Invoices Centrally" application.
- Attempt to view a PDF file in an invoice.
- Error: "The PDF File could not be loaded"
Console: Error: Underlying iframe was not found in DOM
- Open PDF Viewer - Embedded - Samples - Demo Kit - SAPUI5 SDK
- Error: "The PDF File could not be loaded"
Cause
The issue you are experiencing is related to a new experimental flag being introduced by Chrome, specifically the "OOPIF for PDF Viewer" flag. You can access this flag by navigating to the URL chrome://flags/#pdf-oopif
in your Chrome browser. We have observed that this flag is currently functioning inconsistently, even across different instances of the Chrome browser with the same version.
Please check the status of this flag in your browser. If the selected value is either "Default" or "Enabled," kindly change it to "Disabled" from the dropdown menu. This would solve the problem which you are currently facing.
This change in the behavior has been enforced by Chrome and not in the control of SAPUI5 .
Resolution
- Navigate to the URL chrome://flags/#pdf-oopif in the Chrome browser.
- Check the status of the "OOPIF for PDF Viewer" flag.
- If the selected value is either "Default" or "Enabled", change it to "Disabled".
See Also
Manage Supplier Invoices Centrally - SAP Fiori Apps Reference Library
SAP Ariba Central Invoice Management Administration Guide Introduction | SAP Help Portal
3510069 - PDF not opening from Fiori Application in Google Chrome - SAP for Me
Keywords
Ariba Central Invoice Management, SAP S/4HANA Cloud Public Edition, PDF files, Chrome, OOPIF for PDF Viewer flag, viewing issue, The PDF File could not be loaded, Underlying iframe was not found in DOM, CIM, Manage Supplier Invoices Centrally , KBA , CA-UI5-SC , Suite Controls , MM-IV-HUB-CIM-2CL , Central Supplier Invoice Management (Public Cloud) , S2P-CIM , SAP Ariba Central Invoice Management , S2P-CIM-PRC , CIM Invoice Processing , Problem