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: 

TRANSLATE to code page '4110'

0 Kudos

I am working for Upgrade project. I need to remove non unique code statements.Can anybody help me to replace the below syntax.

TRANSLATE <string> to code page '4110'.

Thank you.

1 ACCEPTED SOLUTION

former_member259807
Active Participant
0 Kudos

please use class CL_ABAP_CONV_OUT_CE. documentation can be found in the class.

4 REPLIES 4

former_member259807
Active Participant
0 Kudos

please use class CL_ABAP_CONV_OUT_CE. documentation can be found in the class.

0 Kudos

HI Wallagh,

Shall i use this calss as below to replace TRNASLATE, please suggest me.

*TRANSLATE <string> to code page '4110'.

DATA: conv TYPE REF TO cl_abap_conv_out_ce.

conv = cl_abap_conv_out_ce=>create( encoding = '4110' endian = 'B' ).

CALL METHOD conv->write( data =<string> ).

Thank you.

horst_keller
Product and Topic Expert
Product and Topic Expert

First of all, this is documented.

Then, I would recommend CL_ABAP_CODEPAGE, if available, because it is simpler to use.

0 Kudos

Hi All,

Pls suggest me, Shall i use this class (cl_abap_conv_out_ce) as below to replace TRNASLATE.

*TRANSLATE <string> to code page '4110'.

DATA: conv TYPE REF TO cl_abap_conv_out_ce.

conv = cl_abap_conv_out_ce=>create( encoding = '4110' endian = 'B' ).

CALL METHOD conv->write( data =<string> ).

Thank you.