06-17-2006 2:26 PM
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
06-17-2006 3:02 PM
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