06-29-2006 8:28 PM
I need to download a some info from SAP into 110 character file. I am using FM GUI_DOWNLOAD but can't find the way to download the data with fixed length of 110. I am able to have the desired format with transfer record to file length 110. But I need to download the file on presentation server, so i can't use open/close dataset commands.
I tried using File type VSS but its an invalid type . Also I used export parameter TRUNC_TRAILING_BLANKS_EOL = ''. But it also didn't work.
06-29-2006 8:33 PM
06-29-2006 8:33 PM
06-29-2006 8:38 PM
Yes I needed the trailing spaces at the end of each line to make its length equal 110.
But I again tried to have the parameter TRUNC_TRAILING_BLANKS_EOL = ''. And this time it worked.
Actually I was entering the wrong record length for appending.
Thanks for spending your time and replying to my issue.
06-29-2006 8:34 PM
If you are downloading to the desktop, unfortunately there is no way to get fixed length file. You can add an extra 1 character field(181st) at the end and fill it with an agreed upon record end character so that the receiving application ignores it.