cancel
Showing results for 
Search instead for 
Did you mean: 

I want to display PDF files stored on backend server in SAPUI5 app

former_member548618
Discoverer

Please help me.

I want to display PDF files stored on backend server in SAPUI5 app.

I don't want use smartforms.

I have couple *.PDF files saved in catalog on backend server - I see this files on transaction AL11 in catalog /sap.share.

In SAPUI5 I want build list (table) with filenames from this catalog and on onclick event - show it on the screen.

Many turorials base on display on smartforms - I don't want this, I have files already

First I use code from - https://archive.sap.com/discussions/thread/3329472 to save PDF files in catalog /sap.share

Next I want get list of this files in SAPUI5 app, display this list in a table and when user click line in table - then I want just only flat display this file on the screen...

TammyPowlas
Active Contributor
0 Kudos

Pawel, are you using the SAP BI Platform? If not, this is not the right tag; perhaps use the UI5 tag?

former_member548618
Discoverer
0 Kudos

thank you, I set UI5 tag

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member548618
Discoverer
0 Kudos

Thank you, I know this site and use this code - sap.m.PDFViewer

Do I can use this above code to display PDF file from local drive for example from path type "C:\TEMP\TEMP.PDF" ?

brian_keenan
Contributor
0 Kudos

there is a control to display pdfs

https://sapui5.hana.ondemand.com/#/api/sap.m.PDFViewer