cancel
Showing results for 
Search instead for 
Did you mean: 

Zipping multiple Payloads to single Zipfile using payLoadZipBean

Former Member
0 Kudos

Dear Friends,

Can you help me in doing this sceanrios:

I'm trying to send multiple payloads from source (selection

of multiple payloads is done by checking Advance selection for

Source file) to PI, that inturn Zip all Payloads in to a single Zip FIle.

(note: payLoadZipBean is giving individual zip file for every single payload but I want it all in single Zip file)

And also can I zip, Additional Files sent through File Adapter,

as these are not considered as payloads. Plz correct me If I'm wrong.

I request you plz dont paste any links to blogs or forums.

I'm trying to create a module to perform this scenario,plz suggest me better answers, in case module develpment is not required.

Dear Stefen, I hope I will get a good answer from you soon.

And thanks for suggesting me to post a thread for this issue.

Thanks in advance

Praveen K Kurni

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks

Need Module development for this...

Regards

Praveen

Former Member
0 Kudos

Dear Sameer,

I did studied the SAP note;

By using these parameters

Module Key: zip

Parameter name: zip.mode

Parameter value: zipAll

Module Key: zip

Parameter name: zip.filenameKey

Parameter value: contentType

Module zips all payloads as individual zipfiles

for ex:

my files are:

1. abc1.xml

2. abc2.xml

3. abc3.xml

module payLoadZipBean zips these payloads as

1. abc1.zip

2. abc2.zip

3. abc3.zip

But I want all the files to be zipped in to single zipped file:

let say abc_all.zip

Thanks any way

Praveen K Kurni

Former Member
0 Kudos

Hi

In the module configuration part you have to pass the following parameters

Module Key: zip

Parameter name: zip.mode

Parameter value: zipAll

Module Key: zip

Parameter name: zip.filenameKey

Parameter value: contentType

This is also clearly defined in the OSS note

https://service.sap.com/sap/support/notes/965256

BR