Skip to Content
author's profile photo Former Member
Former Member

cl_abap_zip->ADD (can add multiple files and zipped) ??

Hi,

I have few files in Content Management system. I would like to zip those files together and download to presentation server. Is <b>cl_abap_zip->add</b> able to perform that?

For example, i have 5 files in CM. I retrieve the list of these 5 files and store in itab. I loop the itab to get 1st file. I call the method <b>cl_abap_zip->add</b> and pass in the filename and xstring of the file contents.

I continue loop for 2nd time to call the same method until 5th time. After finish looping, I call method <b>cl_abap_zip->save</b> and FM gui_download.

But I only get the 5th file. Method "ADD" does not seem to add files to a zip folder. How can i add all these 5 files in a zip folder and download it at once?

Kindly advise.

regards,

Ginnie

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2007 at 09:57 AM

    Hi,

    Check this post, May help you.

    abap gzip zip

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.