2012 Apr 19 10:13 AM
Hi All,
We have this program used to work but recently we have upgraded the patch level, now working on SAP BASIS release 702 package SAPKB70209.
We are trying to convert OTF to PDF using function CONVERT_OTF. After this we send an e-mail with PDF attachment using function SO_NEW_DOCUMENT_ATT_SEND_API1.
When we try to open the attachment in transaction SOST, we encounter this message
"There was an error opening this document. The file is damaged and could not be repaired".
Anyone please help me on this. <removed by moderator>
Thank you!
Message was edited by: Thomas Zloch
2012 Apr 19 11:12 AM
Hi Srinivas
Are you using the FM CONVERT_OTF_2_PDF?
Regards
Vic
2012 Apr 19 11:14 AM
2012 Apr 19 12:34 PM
2012 Apr 19 12:43 PM
Hi Raymond,
Yes we did the research on the FM's which we have used.
With Regards,
Srini
2019 Jun 13 12:11 PM
Please try below code before call adobe form code . The problem i had was mail was triggering fine with email body however when opening the PDF it gave the same error .
IF nast-anzal = 0 AND nast-nacha = '5'.
nast-anzal = 1.
ENDIF.