Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module/Class to convert TIFF to PDF format

Former Member
0 Likes
1,407

Hi All,

We have one scenario where we have to read the tiff image of different invoices , convert it to pdf and then send it as an email attachement.

I have go through the various thread on SCN but did not got any appropriate help.

1) http://scn.sap.com/thread/1689862  --> This was near to our scenario

2) http://scn.sap.com/message/8709117#8709117 --> Does not support tiff to pdf. It support tiff to jpeg.

As the solution 1 was near to our scenario but the challange would be looping for each invoice and getting the tiff format converting it and sending it and then deleting from SO10 etc.

So I wanted to know does SAP provide any Function module/Class which we can use to convert tiff format to pdf format. As we are already getting tiff data in binary/xstring format.

Regards,

Pradeep Rai

2 REPLIES 2
Read only

FredericGirod
Active Contributor
0 Likes
719

Hi,

I will used an external program like ImageMagick of GhostScript to convert TIFF to PDF

I have try to create my own OTF from picture, it's not really stable. I have stopped this solution.

Why do you have Invoice in TIFF format ?  Does it comes from external software ?

regards

Fred

Read only

0 Likes
719

Hi Frederic,

Thank for quick response.

Yes the invoice comes from external system in tif format.

Regards,

Pradeep Rai