2009 Nov 08 5:18 AM
Hi All,
I am using function module SAP_CONVERT_TO_TEX_FORMAT to convert the internal table into CSV file with headings .
Now, when I use the function GUI_DOWNLOAD to download the file, I get a short dump. Please let me know which parameters I am missing.
When I use the parameter data_tab in GUI_DOWNLOAD, I dont get the file with comma seperated and headings. If I remove that parameter, I get a shortdump.
Please see the code below.
CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
EXPORTING
i_field_seperator = ','
i_line_header = 'X'
i_filename = 'SALES_FORCE.CSV'
TABLES
i_tab_sap_data = gt_output.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'SALES_FORCE.CSV'
TABLES
data_tab = gt_output.
Thanks for your help.
Salil
Closed this because I have put the same question in ABPA General Forum
Edited by: salil vaidya on Nov 8, 2009 12:18 AM
Edited by: salil vaidya on Nov 8, 2009 1:04 PM
2009 Nov 08 6:05 PM
Closed this because I have put the same question in ABAP General Forum.