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

The double quote is giving dump in transfer statement

Hello friends,

I could not find a concrete solution for my problem on SDN so posting the question now.

I have a transfer statement which transports file to UNIX

transfer gws_x1 to g_dsn.

the field gws_x1 has a double quote " in it which is causing problem, if I remove the double quotes the statement works fine

the open dataset statement is

open dataset g_dsn for output in legacy text mode.

I actually get an dump

DUMP

A character set conversion is not possible.

happened?
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 'ZCXXXXXX' 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.

Do I need to add the double quotes through tcode SCP and if yes then how.

Please do tell me where am I going wrong.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2012 at 11:36 AM

    Have you tried the addition IGNORING CONVERSION ERRORS?

    Maybe it will display junk character for this.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2012 at 12:51 PM

    Any Help?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2012 at 01:46 PM

    Hi,

    this is a code page problem.

    Try OPEN DATASET ...IN LEGACY TEXT MODE CODE PAGE '1100'. "ASCII, '0120' EBCDIC

    Regards

    Clemens

    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.