Skip to Content
0
Former Member
Jul 14, 2008 at 02:19 PM

Unicode issue with TRANSLATE statement

84 Views

TRANSLATE w_extr_string FROM CODE PAGE '1103' TO CODE PAGE '1100'.

This syntax is now obsolete in UNICODE environment.

I've tried to correct it using :

DATA:conv type ref to cl_abap_conv_x2x_ce.

DATA: w_extr_string TYPE XSTRING.

conv = cl_abap_conv_x2x_ce=>create( in_encoding = '1103'

in_endian = 'L'

out_encoding = '1100'

out_endian = 'B'

input = w_extr_string).

But datatype XSTRING is now obsolete in ECC6.0

can anyone plz suggest me a way out...???