Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Runtime error CONVT_CODEPAGE while writing file to application server

Hi All,

We are facing runtime error CONVT_CODEPAGE (Exception CX_SY_CONVERSION_CODEPAGE) while writing a file to application server. I have analysed the error and found that it is caused at transfer statement, because some characters couldn't be written to the file, due to a code page error.

-----------------------------------------------------------------------------------------------------------------------

Extract of short dump:

While a text was being converted from code page '4103' to '1100', one of

the following occurred:

- an character was discovered that could not be represented in one of

the two code pages;

- the system established that this conversion is not supported.

-----------------------------------------------------------------------------------------------------------------------

Open dataset in this case is written as:

    OPEN DATASET OUT_FILE FOR OUTPUT IN text MODE
               encoding non-unicode type 'NT'.              (System where error ocurred is 4.7 Unicode)

I know that short dump can be prevented by the addition of IGNORING CONVERSION ERRORS. But this will just ignore certain characters.

Is there any other way in ABAP by which code page conversions can be controlled, so that conversions take place properly? Is there any Basis fix for this?

Thanks in  advance.

Regards,

Arun Mohan

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question