06-19-2007 11:30 AM
Hi guy,
I used class cl_umb_ofl_manager=>DOWNLOAD_OSTREAMS
It generate ZIP file to PC which method "gui_download"
But I want to generate ZIP file to Application Server.
How can I cretate ZIP file to Application Server?
(Create own class : zcl_umb_ofl_manager for customize)
It don't work when use
"OPEN DATASET l_filename FOR OUTPUT IN BINARY MODE"
and loop with lt_content.
STANDARD CLASS : cl_umb_ofl_manager=>DOWNLOAD_OSTREAMS
CALL METHOD me->compress_ostreams
EXPORTING
it_ostreams = it_ostream
IMPORTING
e_length = l_length
et_content = lt_content.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
bin_filesize = l_length
filename = l_filename
filetype = 'BIN'
CHANGING
data_tab = lt_content
EXCEPTIONS
OTHERS = 11.
06-19-2007 4:06 PM
Hi Try
OPEN DATASET with compress, see the help on OPEN DATASET.
and probably you need to install ZIP extractor in Application server.
hope it's helpful
06-19-2007 4:06 PM
Hi Try
OPEN DATASET with compress, see the help on OPEN DATASET.
and probably you need to install ZIP extractor in Application server.
hope it's helpful