Skip to Content
0

ZIP the file at sender side

Jul 20, 2017 at 05:53 PM

108

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Harish Mistri Jul 21, 2017 at 01:47 AM
3

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

Share
10 |10000 characters needed characters left characters exceeded
Raghuraman S Jul 21, 2017 at 07:33 AM
0

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.

Show 9 Share
10 |10000 characters needed characters left characters exceeded
Former Member

One scenario that comes to mind is delivering the file to a receiver with a very slow internet connection. The unzipping would need to happen after the delivery of course and arguably you could do the zipping in the receiver channel.

1

But Internet speed depends on server right?

Anyways lets wait for the reply.

0
Former Member
Raghuraman S

Speed yes, but the smaller your payload, the shorter your transfer time. With a modern compression algorithm, you can get 90% size reduction on some file types, which makes a huge difference when transferring over a slow connection.

1

Hi Raghu!

If you transmit the data from one point to another, speed doesn't much depend on start and end point. It mainly depends on transmitting channel bandwidth.

Regards, Evgeniy.

0

Hello,

when i checked with SAP PI/PO specialist below update i got.

size files would probably face performance issues, so you would need to analyse to perform a tuning of your system, for example enabling higher timeouts and threads. In this case, you would need consulting to perform this analysis.

Thanks

0

In other hand: the text file compression ratio is about 65-80%. And compression and decompression of 200 MB size doesn't seem to be the time consuming operation. So you get the overall scenario processing speed increased.

Regards, Evgeniy.

0

Yes Eve.

so you think 200 Mb will be that much big to processed?

1

No, Raghu, I don't think so. We just speak about possible reasons to use compression in this scenario :-)

You're right, the file chaining mechanism could be used instead.

Regards, Evgeniy.

2

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

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

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

Share
10 |10000 characters needed characters left characters exceeded