cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 - EXCEL - Download XLSX From SAP Fiori Client

0 Kudos

Hi, experts

I have a requirement which consists of building and downloading an excel document (xlsx) not csv, from SAPUI5 App.

To achieve the goal use the following third party libraries:

When I run the application in SAP Fiori Launchpad in Google Chrome (Desktop), the file is downloaded correctly.

But when I try to download the file from the SAP Fiori Client (Mobile) there is no response and the file is never downloaded.

If you can help me fix it so that it can be downloaded from the SAP Fiori Client, I would appreciate it.

My code is based on the following script:

Thanks for the help!

Accepted Solutions (1)

Accepted Solutions (1)

imsuryapandiyan
Participant

Juan,

saveAs will not work in Fiori Client.

Try this:

parent.window.open(urlProvidingFile, '_blank');  
// where urlProvidingFile = "data:mimetype;base64,data";

Answers (0)