‎2010 Jul 23 9:58 AM
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
‎2010 Jul 23 10:19 AM
‎2010 Jul 23 11:30 AM
try :
open dataset file for input in text mode encoding non-unicode.
grx
Andreas
‎2010 Jul 23 11:43 AM