Skip to Content
0

junk characteristics in attached excel file using FM : 'SO_NEW_DOCUMENT_ATT_SEND_API1'

Mar 08, 2017 at 12:29 PM

107

avatar image
Former Member

Hello All - Good day!

I have used the following FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send email with attached excel file with mixed data in English and Hebrew letters

I have a problem with text in Hebrew.( in English – OK )

Hebrew appears as garbage in the excel attachment after it was emailed .

Please , your help : how I can fix it ?.

Helena .

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sandra Rossi Mar 08, 2017 at 07:43 PM
0

If the excel file is in CSV format, then prefer saving it using code page UTF16-LE (SAP code page 4103) with BOM, it's the only format correctly interpreted by all Excel versions. For doing so, you'll have to use for instance CL_BCS_CONVERT=>TXT_TO_SOLIX using code page 4103 and BOM true, then attach the CSV as "binary".

Share
10 |10000 characters needed characters left characters exceeded
David Liu
Mar 09, 2017 at 01:15 AM
0

Instead of SO_NEW_DOCUMENT_ATT_SEND_API1, you can use SO_DOCUMENT_SEND_API1. Refer to SAP note 190669.

Share
10 |10000 characters needed characters left characters exceeded