Download delimited file - was under
Download TAB-Delimited file
Hi,
I want to produce a TAB-Delimited File using the FM, Gui_Download. Could anyone help how to do this?
- This answer has been deleted.This answer has been undeleted.Posted on Jun 14, 2005 at 10:44 AM
Hi Jim,
In the importing parameters give 'X' to WRITE_FIELD_SEPERATOR.This will produce a output whcih is tab delimited in case of ASCII outputs.
Cheers
Nishanth
- Add a Comment
- Alert Moderator
- Share
You already have an active moderator alert for this content.
- This answer has been deleted.This answer has been undeleted.Posted on Jun 14, 2005 at 11:32 AM
Hi Jim,
Please close the thread and award points if your problem is solved.If you still have any problems then let us know.
Cheers
Nishanth
- Add a Comment
- Alert Moderator
- Share
You already have an active moderator alert for this content.
- This answer has been deleted.This answer has been undeleted.
Hi,
If you use 'X' for importing parameter WRITE_FIELD_SEPARATOR and Filetype as 'ASC', in that function module , then you will get desired output.
This information is available in importing parameter WRITE_FIELD_SEPARATOR.Check it.Nishant also told the same.
If your problem is solved,kindly reward points for useful answers and close this thread.Otherwise , get back.
I think your previous thread is also solved.If so,kindly reward points for useful answers and close the same by clicking the following link.Otherwise,get back.
set cursor on a parameter
Regards,
J.Jayanthi
- Add a Comment
- Alert Moderator
- Share
You already have an active moderator alert for this content.
- This answer has been deleted.This answer has been undeleted.
I'd suggest to use CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD instead. It won't be obsolete in higher releases and it has a parameter WRITE_FIELD_SEPARATOR.
Peter
- Add a Comment
- Alert Moderator
- Share
You already have an active moderator alert for this content.
- This answer has been deleted.This answer has been undeleted.
Use this <b>METHOD cl_gui_frontend_services=>gui_download</b>
Download the output file to presentation server
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
filename = filename "filename to be generated
filetype = 'ASC' "File type ASCII for tab delimited
write_field_separator = 'X' "X for tab delimiter
CHANGING
data_tab = itab_download "internal table with data
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
Please check and close your thread if its resolved.
Reward points if useful.
- Add a Comment
- Alert Moderator
- Share
You already have an active moderator alert for this content.
0 thoughts to “Download delimited file”