Undocumented Feature: Gzip/Gunzip using standard SAP PayloadZipBean module
In this blog, I would like to share you undocumented feature of PayloadZipBean module using which you can gzip/gunzip XI payloads.
- to gzip the payload, use param value gzip for parameter name zip.mode in the module configuration
- to gunzip, use param value gunzip for parameter name zip.mode in the module configuration
Please note that, only main payload can be gzipped using this feature
for more information on general usage of payloadzipbean module , SAP help: PayloadZipBean (SAP Library – SAP NetWeaver Exchange Infrastructure)
for more information on gzip, please check: http://www.gzip.org/
Hope this undocumented feature helps your integration requirements 🙂 .
Best Regards,
Praveen Gujjeti
why arrive i at an alert-configuration page through this link?
Could you check it?
Hi Rene, which link you are referring to?
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
This link you posted refer to Alert Configuration page.
Updated now. Thanks for the correction
Thanks Praveen for sharing.
how can we see the file size after gzipping?
channel log gives me size before gzip and after gunzip. i am just wondering if we can see the filesize.
i am using file to file scenario using ico (without ESR)
Regards,
Muni.
Hi Muni,
As I understand from your statements that message size is not audit logged after gzipping. May be this functionality is not in the gzip module code.
I think you should consider writing a generic custom adapter module to the read size of gzip content
Best Regards,
Praveen Gujjeti
Thanks Praveen.
That's interesting. Has anybody successfully used this with the REST adapter (in 7.5)? Â So far I wasn't successful with that.
Hi Praveen,
I have a similar requirement, but I need to unzip the gzip file.
Can you please suggest the parameter for the same.
Â
Thanks
Â