Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error opening PDF attachment (via email)


I've problems to send a PDF file with the function:


At first a small overview of my process:

- 'SCMS_DOC_READ' -> to read the file from the archive

- 'SCMS_BINARY_TO_FTEXT' -> to convert from bin. to pdf

- 'SO_DOCUMENT_SEND_API1' -> to send the email

My pdf result:

% P D F - 1 . 4 % â ã Ï Ó 1 0 o b j < < / T y p e

Project scope:

%PDF-1.4%âãÏÓ1 0 obj<</Type

As a result, by opening the PDF file an error occured.



Further information:

objpack-transf_bin = 'X'.

call function 'SO_DOCUMENT_SEND_API1'


document_data = doc_data

put_in_outbox = ''

commit_work = 'X'


packing_list = objpack

object_header = objhead

contents_bin = data <- PDF content

contents_txt = objtxt

receivers = reclist


Former Member
Not what you were looking for? View more on this topic or Ask a question