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

Unicode Hexadecimal problem..

sudhakar196
Participant
0 Likes
530
  • {Comm - Unicode Conversion

  • DATA: hex1(1) TYPE x VALUE '0D',

  • hex2(1) TYPE x VALUE '20'.

  • }Comm - Unicode Conversion

CLASS cl_abap_char_utilities DEFINITION LOAD.

CONSTANTS:

hex1(1) TYPE c VALUE cl_abap_char_utilities=>cr_lf, this ok.

hex2(1) TYPE c VALUE ????. this is we required.

please tell me solution

thanks

Sudhakar

4 REPLIES 4
Read only

sudhakar196
Participant
0 Likes
511

Please update this post

Read only

0 Likes
511

Hi Sudhakar

Please try as specified in the link below:

Kind Regards

Eswar

Read only

Former Member
0 Likes
511

HI ,

Thanks a lot for this reply .

But if the value is '1F' , '7F' ,'9F'. Etc .

How shall we work on that .

The Class cl_abap_char_utilities doesn't carry this attributes.

Thank you .

Read only

former_member282823
Active Participant
0 Likes
511

Hi Sudhakar,

This may help you.. check it out

Non-Unicode

Data: wa TYPE X VALUE ‘09’. “ Tab in Hexa

Unicode

Data: wa TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.

Non-Unicode

Data: wa TYPE X VALUE ‘7C’. “ Pipe in Hexa

Unicode

Data: wa TYPE C VALUE ‘|’.

Regards,

Ramesh.