Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CONVT_CODEPAGE error in DATASET Statement

0 Kudos

Hi All,

I have used the statement in my custom program scheduled as background

OPEN DATASET strtemp FOR INPUT ENCODING DEFAULT IN TEXT MODE.

It resulted in the cancellation of the job

The rror is ABAP/4 processor: CONVT_CODEPAGE

Detailed error description:

Runtime Errors CONVT_CODEPAGE

Except. CX_SY_CONVERSION_CODEPAGE

Date and Time 11.11.2010 18:05:18

Short text

A character set conversion is not possible.

What happened?

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

- 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 'ZJSHE000' 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 7. If this number is 0, the second error case, as

mentioned above, has occurred.

Please help to resolve the issue. The file comes from an EDI system and places in App server.

The SAP system is unicode enabled.Why this error and how can we reolve this.

Regards.

2 REPLIES 2

JL23
Active Contributor
0 Kudos

maybe you should use other parameter when doing the open dataset

instead of OPEN DATASET filename FOR INPUT IN TEXT MODE ENCODING DEFAULT.

try:

OPEN DATASET filename FOR INPUT

IN legacy TEXT MODE

code page codepage.

have you searched OSS with the keywords supplied in the note?

Former Member
0 Kudos

Hi,

The problem will occur when you are trying to write a special characters into application server.

Can u search in the dump, while writing which document the problem happend.

If you correct the data the issue will be resolved.

Regards.