SO_NEW_DOCUMENT_ATT_SEND_API1 - problem after Unicode

Hi experts, I'm using SO_NEW_DOCUMENT_ATT_SEND_API1 to create an email with an attached report.  Prior to Unicode upgrade, I had no problems with the attachment.  Now each line of the contents_bin atttachment wraps after 127 characters and the wrapped part is in Chinese!  Each line is 242 characters long so it shouldn't wrap.  Can somebody suggest what I can do to prevent both the wrapping and the change from English to Chinese from char 127 onwards.? Thanks.


Hi Brigitte ,
Please refer note : 190669.
As I have faced the similar issue.
The problem is with the upgradation.
And due to upgradation, the internal logic of SO_NEW_DOCUMENT_ATT_SEND_API1 has been changed.
So after referring the note : 190669.
We have referred Program : BCS_EXAMPLE_# (# indicates 1-8) and updated my program with this example.
I have referred BCS_EXAMPLE_5 to send the email notification with the attachment.
Now sending email is easier comparing with the  SO_NEW_DOCUMENT_ATT_SEND_API1.
As we DONT need to use PACKING LIST in this FM and
its easy to use this example as we just need to pass required parameters like
email body, subject line, receivers,attachment body,attachment name,etc., .
Amit Linge.
Edited by: Amit Ashok Linge on Jun 24, 2011 8:53 AM
Edited by: Amit Ashok Linge on Jun 24, 2011 8:57 AM