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: 

code conversion error

Former Member
0 Kudos

Hi All,

When we extract the data into apllication server in Unicode system,We encounter a runtime error due to some special characters and non-english characters.

We are getting the runtime error CONVT_CODEPAGE

with exception CX_SY_CONVERSION_CODEPAGE..

When characters like Ń , Ą ,Ç , 日本

and non-english characters

Japanese,turkish etc...

I am using the

open dataset xx for output in text mode encoding NON-UNICODE.

Is there any way that we avoid the Runtime error.

Thank you.

Edited by: KUMAR BOJEDLA on Sep 12, 2008 1:47 PM

1 REPLY 1

nils_buerckel
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Kumar,

in order to convert data from Non-Unicode to Unicode properly, you need to know the code page for the Non-Unicode case.

Therefore the first action would be to identify the code page.

After this step, the language can be set accordingly via "set locale <LANG>" in the program (change SY-LANGU). Then you should be able to upload the characters properly.

Also have a look at

http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000627960&;

Events 2003 --> External Unicode Interfaces

Slide 21.

Best regards,

Nils Buerckel

Solution Management

Globalization Services

SAP AG