Application Development and Automation 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: 
Read only

regarding UNICODE CHECK ERROR

Former Member
0 Likes
334

HI everybody

I have the problem to replace the old TRANSLATE-command with CL_ABAP_CONV_X2X_CE.

Before the code was like:

TRANSLATE NAMEN FROM CODE PAGE '1800' TO CODE PAGE '9011'.(in 4.7EE)

Under unicode the translate statement is not allowed for changing data with codepages.

SAP is writing in the onlinedocu that there is the class cl_abap_conv_x2x_ce. I've tried this class with all the methods but couldnt get any idea. I dont know which method to use and how in ECC 6.0.

Has anyone an idea?

Please help.

Regards,

Srinivas Rao

srinivas.aare@gmail.com

1 REPLY 1
Read only

Former Member
0 Likes
287

HI,

There is an alternative FM 'SCP_TRANSLATE_CHARS_46’ which functions similar to TRANSLATE to CODE PAGE statement.

Please refer SAP NOTE 78076

Best regards,

Prashant