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

LSMW: Codepage conversion error with a Unicode data file

Former Member
0 Likes
3,415

Hi all,

I am currently developing a LSMW upload program which has to use a Unicode data file. The underlying system/target system is NOT a Unicode system. The data file also contains non-Latin2 characters.

In the step "Specify Files", I have specified my Unicode data file and specified the codepage type "4110 - Unicode UTF-8".

In the step "Read Data", then I get the runtime error "CONVT_CODEPAGE", exception "CX_SY_CONVERSION_CODEPAGE".

I would expect that all non-Unicode characters are automatically transformed to "#", but the conversion progam breaks. The character transformation to "#" would be fine.

I am really wondering why, at first, I am able to specify the Unicode codepage type, but then, the file cannot be converted correctly.

What do I make wrong, what can I do to avoid the error?

Thanks a lot in advance for helping me out...

Regards,

Klaus

1 REPLY 1
Read only

oskr25
Explorer
0 Likes
750

Hello,

You need convert the file with the format UTF-8. In notepad you can choose this option.

Regards,

Oscar.