Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with PDF attach

Former Member
0 Likes
453

Hi, my problem es this, I use de FM 'CONVERT_OTFSPOOLJOB_2_PDF' to convert a spool to PDF document, it work ok.

Then I convert th PDF doc from 132 to 255 char, and the end I send the PDF with FM 'SO_OBJECT_SEND'

The mail is sending correctly but when a try to open the PDF attached occurs an error "Error (14)" or "Format Error"

Anyone?

Thanks in advance.

1 REPLY 1
Read only

Former Member
0 Likes
376

Instead of using the function module 'SO_OBJECT_SEND' try to use 'SO_NEW_DOCUMENT_ATT_SEND_API1'.

For more information: check Abhishek Suppal's response in this [thread|;.