Skip to Content
0

Problems in using FM SCMS_STRING_TO_XSTRING in Unicode system

Apr 03, 2017 at 03:46 PM

64

avatar image

Hi

I am trying to use FM SCMS_STRING_TO_XSTRING in an Unicode system from Hebrew when i trying to download a table to Excel, but i cannt open file that was created or i get it with signs insted of Hebrew letter.

I use it this way -

CALL FUNCTION ‘SCMS_STRING_TO_XSTRING’
exporting
text = l_string
mimetype = ‘APPLICATION/MSEXCEL; charset=utf-16le’

* encodein =

importing
buffer = l_xstring.

Does anyone has an idea what mimetype or encoding i should use ?

Thanks alot

Ami B.

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

1 Answer

Best Answer
Horst Keller
Apr 03, 2017 at 04:28 PM
-1

Why don't you try CL_ABAP_CODEPAGE. This is directly from basis. Don't know about that myriads of FMs and their do's and don'ts.

Share
10 |10000 characters needed characters left characters exceeded