Skip to Content
author's profile photo Former Member
Former Member

Error "conversion of a text from codepage '4102' to codepage '1100' "

Hello,

If some could help me with this error while tryning to transfer a structure containning the character "u20AC" to a file:

OPEN DATASET p_fic FOR OUTPUT
                 IN text MODE ENCODING non-unicode.

[...]

transfer wt_textes to p_fic.

[...]

close dataset p_fic.

wt_textes contains the a string with the character "u20AC".

This code dumps:

At the conversion of a text from codepage '4102' to codepage '1100':

- a character was found that cannot be displayed in one of the two

codepages;

- or it was detected that this conversion is not supported

The running ABAP program 'ZREPRISE_TEXTES' had to be terminated as the

conversion

would have produced incorrect data.

The number of characters that could not be displayed (and therefore not

be converted), is 1. If this number is 0, the second error case, as

mentioned above, has occurred.

thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on May 26, 2011 at 12:45 PM

    Hi,

    the problem is that code page 1100 (ISO-8859-1) does not support the u20AC-symbol. However the NON-UNICODE mode usually takes this code page if you logon with EN or DE (or any other Western European language).

    As alternative, you could use OPEN DATASET ... LEGACY TEXT MODE... CODE PAGE 1160 ...

    Code Page 1160 is the SAP number for MS 1252, which includes the u20AC-symbol.

    The other alternative would be to download the file in UTF8 mode and then use the tools described in SAP notes 747615 or 752859 to convert the file content from code page 4110 to 1160 (code page 4110 is the SAP number for UTF-8).

    Best regards,

    Nils Buerckel

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.