Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7999

Downloaded PDF file on front end is not opening

$
0
0

Hi,

 

We have a requirement to open the Master Data Governance documents (which are stored as RAWSTRING in a DB table)

from an ALV on double click.

 

We are downloading the binary content(converting XSTRING to BINARY) as a file with appropriate extension onto the front end temp directory using GUI_DOWNLOAD of CL_GUI_FRONTEND_SERVICES and opening the file using method EXECUTE of the same class.

 

Everything is fine and documents are opening in their respective editors, expcept that a few PDF documents are not getting opened properly after downloading. Happened with an excel attachment as well.

 

The message "Adobe Reader could not open 'XXXXX.PDF' because it is either not a supported file type or....." appears.

 

Please let us know the way ahead on this issue.

 

We have gone through the previous SDN forums, but we did not get anything which fixes this issue.

 

Thanks,

Sampath.


Viewing all articles
Browse latest Browse all 7999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>