Skip to Content
Nov 17, 2020 at 01:16 PM

The format of the pdf file is changed once deployed to the SAP System


Hello everyone,

I needed to have a pdf file in my UI5 App to show it to the user whenever he wants to.

I imported the file in my project in the web ide, the web ide has asked me to resave the file. (But I did not do that, I just ignored the save and closed the file because when I saved it in the first time the file was formatted and I got a white page document when opening it via the button in my ui5 app or after an export of the app and open of th file)

Until this, it was ok in the web ide, I see the file when I click on the button. But after deploying the App to the SAP System and transporting it to the Test System, The pdf file is some how formatted (I am not the one that transported it). So in the test-System the file is a white page-file.

I downloaded the BSP App using : /UI5/UI5_REPOSITORY_LOAD : unfortunately the pdf-file was not among the downloaded files.

I wanted to know if there is a better way to include my pdf file in the project and see it correctly after various System Transports (The App will go to the Production ) , Or should import my file in another Folder (Not the BSP folder) ?

Or do you advice me to use the odata in order to import/export my file ? (Keeping in mind this is an informative file: I will not have to change it )

Thanks for the support .

Best Regards,