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: 

Upgrade - Unicode ERP 2004

Former Member
0 Kudos

Gurus,

We are in Upgrade process. We were having a code as given below.

data : begin of it_data,

a(2) type c,

b(2) type c,

c type X value '1F' ,

end of it_data.

data lv_strlen type i.

lv_strlen = strlen( it_data ).

write:/ lv_strlen.

In Old system we wer getting lv_strlen as 5. When we have upgraded to Unicode, we need to HAVE A REPLACEMENT for X.

Any help will be appreciated.

Regards,

Lijo Joseph

1 REPLY 1

Clemenss
Active Contributor
0 Kudos

Hi,

what is the function of the embedded Hex '1F' character? I think you can replace ist with

C type C value CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB,

or another constant defined as attribute of class CL_ABAP_CHAR_UTILITIES.

Regards,

Clemens