Application Development 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: 

Special characters appearing at the end of record in downloaded file

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

how u r downloading the data?

are you downloading it onto application server or local system?

Try to download the file in asc mode it will solve your problem.

0 Kudos

Hi,

I am downloading it in presentation server. Can you please explain me how to download it in asc mode?

Thanks.