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

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

I am trying to open an ANSI file from Application server.

I am using "open dataset F_FILENAME for input in text mode encoding default."

For some ANSI files it works fine, and for some it fails. I want to open this file and validate it , post it back on to application server

with its original format.

How do I achieve this? THanks,

Below is the system config.

-


Database codepage Unicode

Current Codepage of Appl. Server 4102

Codepage of Front End 4110 UTF-8 GUI

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 09, 2010 at 04:49 PM

    Hi Shabbir,

    The statement "open dataset F_FILENAME for input in text mode encoding default" would open the file with the default codepage of your system which is 4102 for your system.

    Due to which the SAP system implicitly coverts the characters in the file to 4102 codepage. You might get "CONVT_CODEPAGE" error if system is not able to convert some characters in the file.

    You should use

    Open dataset F_FILENAME for input in legacy text mode code page 1100

    Check the following link for syntax.

    [open dataset in SAP|http://help.sap.com/saphelp_nw04/helpdata/en/79/c554a0b3dc11d5993800508b6b8b11/frameset.htm]

    You can also use " IGNORING CONVERSION ERRORS " to avoid "CONVT_CODEPAGE" errors..

    Cheers

    Ajay

    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.