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

Sending the PDF image in email.


I am trying to send the pdf doc in email.i am using fm SO_DOCUMENT_SEND_API1.

But when opening the pdf file in the email it is giving error as shown below.

"adobe reader could not open the file because it is either not a supported file type or because of the file has been damaged(for example,it was sent as an email attachment and wasn't correctly decoded)"

i used doc type as PDF only

packing_list-doc_type = 'PDF'.

PDF image is archived from IXOS server.

i used below code get the PDF image as a attachment.

CONCATENATE archiv_id archiv_doc_id INTO image_id.

*Create the image object

swc_create_object image 'IMAGE' image_id.



object_reference = image

method = 'DISPLAY'


container = empty_container

attachment = attachment.

  • Add the attachment to the document content.

contents_att[] = attachment[].

Can any one help me to resolve this issue.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2010 at 12:59 PM


    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.