Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Giving short dump while reading the data from application server

Dear Experts,

I have to upload a text file into an application server file.My text file is having special characters like " ä " in some of the lines of the text file.After uploading the data into an application server these special characters are replaced by '#'.

If any body knows pls. help me on this to avoid these replacements.

and as well when i am reading this text file from AS into an internal table using read dataset statement when the system encounters this character '#' system is going for short dump.

Below statement i have used to read the AS file.

-

-


OPEN DATASET d_file_dir FOR INPUT IN TEXT MODE ENCODING DEFAULT WITH SMART LINEFEED.

IF sy-subrc <> 0.

MESSAGE e101(yz) WITH d_file_dir.

ENDIF.

DO.

READ DATASET d_file_dir INTO i_format_file.

IF sy-subrc <> 0.

EXIT.

ENDIF.

APPEND i_format_file.

ENDDO.

so, please help me on this issue if anyone faced.

Thanks in advance

babu

Tags:
Not what you were looking for? View more on this topic or Ask a question