We are using ECC6.0 version, we have a scenario of sending PO line item attachments to vendor along with PO pdf attachemt. But it is not working for Word or Excel or PDF files. when ever we are sending any word or excel or pdf attachment, vendors are unable to open where as PO pdf they are able to open.
The manual Word or Excel or pdf attachments at PO are saving under unix directory and below sample code is used to send them in mail.
Open dataset in binay mode.
Read pdf file data.
CALL FUNCTION 'QCE1_CONVERT'
after that using SO_DOCUMENT_SEND_API1 to send the mail.
Kindly help me how to fix this issue.