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: 

No spaces in downloaded txt file

Former Member
0 Kudos

Hi Members:

I have a question and I expect you could help me.

I have to download a txt file to be exported to another system. This file must have a length of 200 characters in each line, but the text in the many times is only 180 or 150. In these cases, the rest of line must be completed with spaces. But when the file is downloaded there is no spaces in txt file.

I have used TRUNC_TRAILING_BLANKS in GUI_DOWNLOAD, but it does not work. I am working with release 4.6C

Do you know how I can solve this?

Thanks in advance for your help.

3 REPLIES 3

former_member206395
Participant
0 Kudos

I hope this is not the issue because you have used TRUNC_TRAILING_BLANKS. TYy using TRUNC_TRAILING_BLANKS_EOL instead.

Former Member
0 Kudos

by default u would have giveb space as tabulator

or else the given scenerio is correct in sap it wont show space if its spaces in b/w the words it shows

Former Member
0 Kudos

How about trying to move the records to a string tab and downloading the contents? If required a condense statement can be used as well.

Regards,

Santosh