Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Create ZIP file to Application Server

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

0 Kudos

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

1 REPLY 1

0 Kudos

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