Skip to Content
avatar image
Former Member

Regarding zipping of target files in one zip folder

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Jun 28, 2016 at 10:54 AM

    Hi Veer,

    Please share the exception and mainly your configuration. Try to follow this example Working with the PayloadZipBean module of the XI Adapter Framework and pay attention to file name schema.

    What is your PI version and SP?

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 28, 2016 at 10:55 AM

    check the below link

    SAPTechnical.COM - Zipping Files/Payloads using Module PayloadZipBean

    If its not working post the bean configuration.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 28, 2016 at 01:33 PM

    Hi,

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

    Zip Multiple Files

    Let us know if this works for you.

    Regards

    Suchita

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 28, 2016 at 02:11 PM

    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 ? 

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Jun 29, 2016 at 10:41 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded