cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding zipping of target files in one zip folder

Former Member
0 Kudos

Hi Experts,

   I have a below scenario.

IDOC --> SAP PI --> three different txt files ( able to generate the files)

next requirement is to zip all the three generated files into one zip folder. I have tried with all the zip modules under module parameters of file adapter.

Could anyone please help. Immediate help would be appreciated.

Regards

Veeru

Accepted Solutions (0)

Answers (5)

Answers (5)

swapna_patha
Explorer
0 Kudos

Hi Veer, Have you got the solution for this requirement. I have same scenario, could you please suggest if you have got any solution. Regards, swapna.

Former Member
0 Kudos

Hi Swapna,

  I am working on the same. I will let you know once done.

manoj_khavatkopp
Active Contributor
0 Kudos

IDOC --> SAP PI --> three different txt files ( able to generate the files)

So are u using multi mapping to create 3 different files using 1 idoc , if yes then zipping of all these three files wont work because this multi messages are taken as 3 different single message by you adapter.

Please be more specific on what is the complete scenarios how are us generating three files ? Payloadzip bean config ? 

swapna_patha
Explorer
0 Kudos

Hi Manoj, we have the same requirement where we are triying to zip the file from sap folder(AL11) and send to target. We are using unix OS. Please assist. Regards, Swapna.

Former Member
0 Kudos

Hi Manoj,

   Okay, my scenario is

IDOC is triggered and PI creates 3 different txt files. Now I need to pick up these three files and zip into a folder .  I need the way to achieve this. I am able to create three different files but not able to achieve the zipping mechanism.

Regards

Veeru

suchitatomar
Participant
0 Kudos

Hi,

Refer below link, seems to me this what you are looking for 

Let us know if this works for you.

Regards

Suchita

swapna_patha
Explorer
0 Kudos

Hi Suchita, Even i have the same requirement, we are using Unix OS,tried the command which has been provided in the link but didn't work. could you please assist us. Regards, Swpana.

suchitatomar
Participant
0 Kudos

H Swapna,

Can you please paste the exact error you are getting in order to assist further .

Regards

Suchita

former_member186851
Active Contributor
0 Kudos

check the below link

SAPTechnical.COM - Zipping Files/Payloads using Module PayloadZipBean

If its not working post the bean configuration.

iaki_vila
Active Contributor
0 Kudos

Hi Veer,

Please share the exception and mainly your configuration. Try to follow this example and pay attention to file name schema.

What is your PI version and SP?

Regards.

Former Member
0 Kudos

My PI version is 7.4 single stack.

Regards

Veeru

former_member186851
Active Contributor
0 Kudos

Veeru post your bean configurations