07-28-2010 4:17 AM
Hi,
We have this program used to work but recently we have upgraded the patch level, now working on SAP BASIS release 701 package SAPKB70106.
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.
Thank you!
07-28-2010 5:20 AM
Hi,
I was also facing same problem ,, The solution is SAP note 1430123 ..
So just implement 1430123 note..
Summary
Symptom
The module SO_DOCUMENT_SEND_API1 is used to send messages
with binary contents (for example, PDF documents as e-mails).
The messages cannot be read by the recipient or using transaction SOST
because the content is empty or is truncated.
Other terms
API1, SOLI_TAB, CONTENTS_BIN, document size, SO_NEW_DOCUMENT_ATT_SEND_API1
Solution
Implement the corrections using the Note Assistant, or import the relevant Support Package.
After you do this, the document size is calculated correctly.
My problem has been resolved..
Edited by: Lokesh Tarey on Jul 28, 2010 6:22 AM
07-28-2010 5:20 AM
Hi,
I was also facing same problem ,, The solution is SAP note 1430123 ..
So just implement 1430123 note..
Summary
Symptom
The module SO_DOCUMENT_SEND_API1 is used to send messages
with binary contents (for example, PDF documents as e-mails).
The messages cannot be read by the recipient or using transaction SOST
because the content is empty or is truncated.
Other terms
API1, SOLI_TAB, CONTENTS_BIN, document size, SO_NEW_DOCUMENT_ATT_SEND_API1
Solution
Implement the corrections using the Note Assistant, or import the relevant Support Package.
After you do this, the document size is calculated correctly.
My problem has been resolved..
Edited by: Lokesh Tarey on Jul 28, 2010 6:22 AM
07-28-2010 7:30 AM
11-02-2010 7:49 PM
Hi Lokesh,
can you please tell me why this error comes
and would be thankful if you can let me know the contents of this note.
Regards
Manu