cancel
Showing results for 
Search instead for 
Did you mean: 

Save file (Web interface)

0 Kudos

Hi, I have a functional module which generates the data for BIN-file. In order to save the data I use

CALL METHOD cl_gui_frontend_services=>gui_download

EXPORTING

bin_filesize = l_size_bytes

filename = l_gui_file_name

filetype = 'BIN'

CODEPAGE = 'UTF-8'

CHANGING

data_tab = lt_lines

EXCEPTIONS

OTHERS = 99.

It works perfectly well in GUI. But I need to save the file when the functional module is called from web interface. What function should I use to save/download in WEBUI?

Thank you.

Edited by: Developer Mr. on Dec 17, 2010 6:57 AM

Edited by: Developer Mr. on Dec 17, 2010 8:07 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

May I suggest you look at Arun Kumaru2019s SDN blog u201CUploading data from Excel filesu201D to get an idea of the way to work in the WebUI environment?

I can give you a solution to download and save to an Excel file from the WebUI if that is something you want.