Skip to Content

ZIP the file at sender side

Hello Team,

i have 200 mb file and i want to zip the file after sender channel picks it and unzip the file after placing at receiver.

i know we have receiver zip module and i have used couple of time.

but never heard of zipping the file at sender side after picking....

any blog please share.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jul 21, 2017 at 01:47 AM

    Hi,

    You can zip and unzip the file using the module PayloadZipBean. Please refer the below sap help page

    https://help.sap.com/saphelp_nw73/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm

    regards,

    Harish

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 21, 2017 at 07:33 AM

    Why to ZIP and UNZIP,AFAIK in latest version of SAP PI 200MB files can be picked and dropped provided no mapping is present.

    You can just run one test case or raise an OSS and get it confirmed with SAP.

    Add comment
    10|10000 characters needed characters exceeded

    • We have a scenario with a 1.25GB uncompressed file that turns out to be about 185MB compressed that we send each morning. As far as the overall design we were handed this scenario so we had little control but there were a couple of items on which I insisted - the source system must perform the zipping so we are not doing that at the adapter level. I also setup chunking at 5MB partitions for the message and said under no circumstances would we use the adapter for unzipping the file contents either. That portion is handled by the data loading script on the target side.

      Regards,
      Ryan Crosby

  • avatar image
    Former Member
    Jul 26, 2017 at 01:14 AM

    Write an OS script that zip files at a particular location. Run this script as a 'file aware' and whenever a file is placed in that server location, it is automatically zipped (You might need help from the linux/windows team).

    Best,

    Vibhu

    Add comment
    10|10000 characters needed characters exceeded