Skip to Content
author's profile photo Former Member
Former Member

Not able to open PDF attachment in SOST.

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 19, 2012 at 10:12 AM

    Hi Srinivas

    Are you using the FM CONVERT_OTF_2_PDF?

    Regards

    Vic

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 19, 2012 at 11:34 AM

    Did you perform a research for notes on OSS on those FM for your system level ?

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 13, 2019 at 11:11 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.