10-26-2006 9:47 AM
Hello SAPients.
I have a program that converts a SmartForm to PDF using fm 'CONVERT_OTF' and apparently it does it correctly. The program also sends the PDF as attachment in an email using fm 'SO_DOCUMENT_SEND_API1' and sends it without problems. The only problem I have is when I try to open the PDF attached to the email. The Acrobat Reader generates an error message and only shows a blank screen. Even sometimes, the reader doesn't generate any error, it just shows a tiny blank screen. I can send the output to the spool or to the printer and everything works fine. The problem occurs only when I want to send the output in an email. I have tried a lot of things but nothing seems to work. Do you have an idea of what's happening? I'm working with R/3 4.6C.
Thank you.
10-26-2006 9:50 AM
Hi Ricardo,
That means, problem with FM CONVERT_OTF. Try to debug, check whether u r getting data after this FM. Its better to use FM CONVERT_OTF_2_PDF.
I think, it solves ur problem.
regards,
Chandra.
Note: Please reward if helpful.
10-26-2006 9:52 AM
Hi Ricardo,
do you have the right file-size for the
PDF-Attachment. I think thats the problem.
Regards, Dieter