Skip to Content

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

Send Excel as attachment in Email

Hi,

I have an excel file attached as the original to a DIR.

I want to send this excel file as an attachment in the external email.

I am retrieving the data contents of original file in binary format using CVAPI_DOC_CHECKOUTVIEW

Then I am converting binary to text using SCMS_BINARY_TO_TEXT

and then sending the email with the data file as attachment using SO_DOCUMENT_SEND_API1.

However, this attachment does not open when its type is .xls

It does open with .txt, but the file is distorted and in non-understanable format.

Regards,

Reema

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