Skip to Content
0
Former Member
May 24, 2010 at 09:28 AM

Need to download image to PDF

965 Views

Hi All,

We have a requirement to download the charts to PDF for which we have used the code from IGS, however IGS does not support PDF as output format.

It just gives BMP/JPEG/PNG.

We are able to show the charts in Portal thru webdynpro.In our screen we have placed download button,

whenever the user clicks the Download button the charts needs to be downloaded in PDF file.

Currently we have tried to convert the content to XTRING usin SCMS_BINARY_TO_XSTRING then we have used GUI_DOWNLOAD.

File is getting downloaded, but when we are unable to open the file but the file can be viewed with the help of Open with/Paint option..

So which means the content is not converted to PDF binary, its still in BMP.Please suggest how we can achieve this requirement.

Thanks in Advance