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 error

Former Member
0 Likes
536

hi all,

this declaration is a unicode error. Please give the replacement for this code in ECC 6.0

constants: c_hex type x value '09'.

Regards,

keerthi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
519

hi Keerthi,

Check this way ..

 data: con_cret TYPE c VALUE cl_abap_char_utilities=>cr_lf.
    replace con_cret with ' ' into string1. 

Regards,

Santosh

4 REPLIES 4
Read only

rui_nunes
Explorer
0 Likes
519

Hi Keerthi,

Have a look at this link: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/79/c554d9b3dc11d5993800508b6b8b11/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/79/c554d9b3dc11d5993800508b6b8b11/content.htm</a>

Hope it helps.

Regards,

Rui

Read only

Former Member
0 Likes
520

hi Keerthi,

Check this way ..

 data: con_cret TYPE c VALUE cl_abap_char_utilities=>cr_lf.
    replace con_cret with ' ' into string1. 

Regards,

Santosh

Read only

Former Member
0 Likes
519

Hi

I guess Hexa Decimal Value 09 denotes for TAB character.

Please use as below:

data: l_tab(1) type c value cl_abap_char_utilities=>horizontal_tab.

Please refer to class: <b>CL_ABAP_CHAR_UTILITIES</b> for more.

Kind Regards

Eswar

Read only

Former Member
0 Likes
519

Hi Keerthi,

Use the following statements for the same purpose.

class cl_abap_char_utilities definition load.

constants: c_hex type c value cl_abap_char_utilities=>HORIZONTAL_TAB.

Regards,

Venkat