cancel
Showing results for 
Search instead for 
Did you mean: 

Downloading several files from Web Dynpro ABAP to local PC.

SantiMoreno
Participant
0 Kudos

Hi Gurus.

I've been searching in the SCN but haven't been able to find any about the requirement I have from the customer (which is well sumarized in the title of the post).

The scenario is as follows: In the R/3 back-end, I could have several files attached via GOS to a certain Object (let's say, a sales invoice)... I'm able to retrieve the contents in binary for all of the files, but as long as I could download one at once (launching a call to method  ATTACH_FILE_TO_RESPONSE), would it be possible to download them all without several invocations of such method? That is, let's say that I need to download all the files to a certain location (in the local PC) without having to push a Save button in a dialog box several times?

Another question... could it be possible to create a zipped file with them all?

Kind Regards.

Santy.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Santy,

You can find an example with source code about creating a zip file here:

Attach Files to ZIP Folder Using Web Dynpro for ABAP - Code Gallery - SCN Wiki

Best regards,

Gabor

SantiMoreno
Participant
0 Kudos

Hi Gabor.

First of all, thanks for your answer.

I will test the solution given... meanwhile, I'll reward you with "Helpful Answer"...

Kind Regards,

Santy.

Answers (0)