Skip to Content
0
Dec 17, 2010 at 05:56 AM

Save file (Web interface)

34 Views

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