Skip to Content

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

Email attachment problem - unicode?

Hi All,

I've copied some of the examples from SDN on how to send an attachment via email from ABAP.

The problem is that the text file attachments are incorrect. Each character is separated by another character. If I create a text attachment that reads "Hello" in the ABAP, the resulting text attachment is "H E L L O ".

The SAP system is unicode. I have tried both SO_NEW_DOCUMENT_ATT_SEND_API1 and SO_DOCUMENT_ATT_SEND_API1. Both have the same effect.

Does anyone have any idea how to ensure the email attachments retain the same format?

Cheers

Richard

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