Application Development and Automation 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: 
Read only

CODE PAGE DUMP while opening file from UNIX server

Former Member
0 Likes
572

Hi,

I have a requirement in which a file will be read from UNIX server and get processed.

Its giving a CODEPAGE DUMP here while reading file for some special characters.

OPEN DATASET l_file FOR INPUT IN TEXT MODE ENCODING DEFAULT will work for all characters except RUSSIA cyrilic characters.

OPEN DATASET l_file IN LEGACY TEXT MODE CODE PAGE w_codepage FOR INPUT. where im getting w_codepage from FM 'NLS_GET_FRONTEND_CP' by passing sy-langu. this will work for all characters except some special charactes of sweden lang.

This prog is global(being used for many countries).

Please suggest correct OPEN DATASET statement such that it will work for all special character.

Thanks,

Hampanna

3 REPLIES 3
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
480

Is Russian Language Codepage installed in the system ?

Read only

andreas_mann3
Active Contributor
0 Likes
480

try :

open dataset file for input in text mode encoding non-unicode.

grx

Andreas

Read only

0 Likes
480

You can also try the IGNORING CONVERSION ERRORS addtion