FM WS_DOWNLOAD creates a blank line at the end of a text document it creates. This is not desirable for me. I tried using the FM GUI_DOWNLOAD, since WS_DOWNLOAD is technically obsolete but I still have the problem. Does anyone have any thoughts or a solution? I don't like having to handle this blank line in other programs that are using the txt file. Thanks in advance.
I haven't seen this when I used the both function modules. Are you sure the blank line is inserted by the function module or could it be your internal table containing the text has an extra line feed character at the end?
Check your internal table in debugging right before you call the function module and see what the content of the last record is.