Files decoding unther UNICODE
I have attachments in xstrings. I'm getting them through WebServices from another non-SAP system.
I need to decode them before putting in one of the Workplace folders in SAP.
The problem is I can't do it unther UNICODE system.
Unther non-UNICODE i use:
CONV = CL_ABAP_CONV_IN_CE=>CREATE( INPUT = ATTCH_WA-CONTENT ). CONV->READ( importing DATA = CONTENT LEN = CLEN ).
But unther UNICODE I get:
<i>Bei der Konvertierung eines Textes von Codepage '4110' nach Codepage
In attachments i have many types of files: txt, doc, xls, jpg and many others.
None of them is decoded in the right way.
I tried many dofferent codepages anf FMs to do this but it's just not working...
Please help if You have any ideas.
Use of data types X and XSTRING should be avoided if your system is using unicode.
Because of the difference of length for coding characters between ascii and unicode, conversion is not possible.
You should try to use other data types to solve your problem.
Hope this helps.