Email attachment problem - unicode?
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?