Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Unicode: Is it Possible to convert a string, or text, for Output?

Former Member
0 Kudos

Can you take a string (or text) in Unicode (4 bytes each character), and by using its string (or text), as input it to a Function Module, or Method, have the string's hex values converted into the old non-unicode value (2 bytes each character) to send to an external system?

I wish it were this easy, but am finding out it is not. Seems like whenever I run a process to convert a field (4 bytes) in the new unicode system, to old non-unicode (2 bytes each), and move it back into a field in the unicode system, it automatically converts it back to 4 bytes automatically?

It is causing issues on the external tergat system that is not using unicode.

Thank-You.

1 REPLY 1

jan_krohn
Active Participant
0 Kudos

Not that I know of. But you could convert your text to RAW or XSTRING, and send that value to the external system.

Jan