Skip to Content
0
Former Member
Feb 23, 2011 at 01:29 PM

CX_SY_CONVERSION_CODEPAGE: codepage '4102' to codepage '1401'

97 Views

Hello together,

we are facing the following problem:

1) We read an IDOC file with hungarian characters from a non-unicode system (ISO-8859-2)

2) We open the file via: "open dataset dsn for input in text mode encoding non-unicode."

3) We export the data again into a file via: "open dataset dsn for output in text mode encoding non-unicode"

All of this runs in background jobs.

Step 3 terminates with runtime error CONVT_CODEPAGE, Exception CX_SY_CONVERSION_CODEPAGE

The problem seems to stem from codepoint "F5" in Codepage ISO-8859-2 whis is Codepoint "0151" in Unicode. After the unicode migration of the SAP system, these were correctly converted from "F5" (non-unicode) to "0151"(unicode).

We have a problem when reading from the IDOC file, though. Codepoint ISO-8859-2 seems to be imported as 00F5 (unicode). Codepoint 00F5 (unicode) doesn't exist in ISO-8859-2, though. As a result the job terminates with the above mentioned errors.

Thanks a lot for your help in this.

Best Rgs,

Thorsten