07-04-2017 10:12 AM
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.
07-04-2017 10:27 AM
please use class CL_ABAP_CONV_OUT_CE. documentation can be found in the class.
07-04-2017 10:27 AM
please use class CL_ABAP_CONV_OUT_CE. documentation can be found in the class.
07-04-2017 10:35 AM
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.
07-04-2017 10:51 AM
First of all, this is documented.
Then, I would recommend CL_ABAP_CODEPAGE, if available, because it is simpler to use.
07-04-2017 12:00 PM
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.