cancel
Showing results for 
Search instead for 
Did you mean: 

download to PDF - Unable to open the Downloaded Document.

Former Member
0 Kudos

hi all

I am reading all the files in a KM repository using webdynpro. I am able to open and save all files except PDFs. However I am able to open the PDF before uploading to KM and also using the KM interface. But when i download it using the Download UI in Webdynpro it fails to open. I understand that it is an encoding problem during the retrieval. I used the Resource property to set the type in the Download UI.

Can anyone tell me how to get around this?

Server WAS NetWeaver 2004s.

NetWeaver Studio 7.0.07.

thank you.

reg

vln

Accepted Solutions (0)

Answers (1)

Answers (1)

maarten_duits2
Participant
0 Kudos

Hi,

I am not sure, but i think you should create a Input or OutputStream to upload / download a pdf. Maybe this tutorial is helpful.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/3547e8cd-0401-0010-a4a0-c7667f3263b2">pdf Api</a>

Kind regards,

Maarten.