Skip to Content

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

Special characters appearing at the end of record in downloaded file

Hi,

I have downloaded a text file, with the logic: at the end i am appending 40 empty characters, with the help of the following code.

CONSTANTS: w_space(40) TYPE x VALUE '/OD'.

CONCATENATE w_line w_space INTO w_line.

When i see the value of w_line in debugging mode, at the end of this record 40 '#' symbols will be added.

After downloading it into a text file, 40 empty characters will be added at the end of the record.

When i open this with MS WORD, at the end, 40 special characters will be displayed. How to avoid the '#' symbol while downloading? Please help me out.

Thanks,

DhanaLakshmi M S

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