getting ABAP dump CONVT_CODEPAGE in ECC 6.0
While reading data from Unix file it is giving dump
I feel while transfering into Unix the data should be converted
how to convert the data?
The pseudo code is as shown below,
OPEN DATASET OUTFILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
CHECK SY-SUBRC = 0.
loop at internale table.
transfer <internal table values> to outfile.
endloop.
CLOSE DATASET OUTFILE.
OPEN DATASET infile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc <> 0.
WRITE: / 'Could not open input file ', infile.
STOP.
ENDIF.
do.
READ DATASET infile INTO <workarea>.
enddo.
CLOSE DATASET infile.