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

A Small File system handling query in ABAP

Hi,

I have the following requirement and somehow don't have a clue on how to achieve this in ABAP.

I have 4 files stored in ABAP tables, say File1, file2, file3 and file4.

I want to provide a download functionality of these files such that on triggering a download the user should get a ZIP file which should have a structure as follows:

Root Folder

-


Folder1

-


File1

-


File2

-


Folder2

-


File3

|

-


File4

The issue is, I can add files directly to a zip in ABAP(as far as i know) but putting the same files organized in a directory structure like above is the issue.

Can somebody help me with this?

I would prefer the download to be through an ICF service which can internally extract the files from the DB, package them in the required directory structure and compress the structure into a zip and thereafter return it to the caller (i.e. the BSP page/any other client).

Regards,

Vikas

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 Jul 04, 2008 at 09:19 AM

    Hi,

    Try to use GUI_EXEC to execute the particular program or Zip mechanism program.

    Im not sure wether this will solve ur issue or not.

    Reward if helpful.

    Best Wishes,

    Chandralekha

    Edited by: Chandralekha on Jul 4, 2008 11:19 AM

    Edited by: Chandralekha on Jul 4, 2008 11:20 AM

    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.