Application Development and Automation 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: 
Read only

Manipulating Hex Values in Unicode System?

Former Member
0 Likes
480

We are in a Unicode upgrade system.

data: v_char(2)

data: v_hex type xstring.

v_char = 'xx' in hex = '0d000a00'

v_hex = '0d0a'

Question: How do I get the hex value of type xstring v_hex into v+char?

Thank-you.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
392

v_hex '0D0A' = Carriage Return & Line Feed combination

data v_hex type ABAP_CR_LF value CL_ABAP_CHAR_UTILITIES=>CR_LF.

Alternatively look a tthe documentation for class CL_ABAP_CONV_IN_CE which converts xstring data into the system.

1 REPLY 1
Read only

Former Member
0 Likes
393

v_hex '0D0A' = Carriage Return & Line Feed combination

data v_hex type ABAP_CR_LF value CL_ABAP_CHAR_UTILITIES=>CR_LF.

Alternatively look a tthe documentation for class CL_ABAP_CONV_IN_CE which converts xstring data into the system.