Skip to Content
avatar image
Former Member

compress size

file to file scenario in pi 7.1, sending multiple files with large size from file to file but we need to compress the size of the file is there any chance to compress in sap pi 7.1?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 02, 2011 at 10:16 AM

    hi Jhon,

    As per my knowledge, that is possible with PayloadZipBean and if you use AAE concept then it will improve performance also (this is new concept in pi 7.1).

    *1. You have to use AAE concept * because

    SAP PI 7.1 supports adapter to adapter messaging thus bypassing the ABAP stack of Integration server altogether. This is known to improve performance.

    Go through below links:

    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70b8adc3-728c-2a10-7fad-d43f29074ef8

    Local Processing in the Advanced Adapter Engine using PI 7.1

    2. Your problem is solve with u201CPayloadZipBeanu201D

    You use this module to compress one or more payloads or extract payloads from a compressed file and can use this module in any adapter.

    Go through below links:

    http://help.sap.com/saphelp_nw04/helpdata/en/45/da9358a1772e97e10000000a155369/frameset.htm

    http://www.saptechnical.com/Tutorials/XI/ZippingFiles/demo.htm

    thanks,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 02, 2011 at 10:18 AM

    Hi,

    You can achieve this using EJB's

    To compress you may use PayloadZipBean adapter module and PayloadUnzipBean to decrypt it.

    Check this [Zip Multiple Files|Zip Multiple Files]

    Regards

    Ramesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 02, 2011 at 10:20 AM

    Hi,

    file to file scenario in pi 7.1, sending multiple files with large size from file to file but we need to compress the size of the file is there any chance to compress in sap pi 7.1?

    in sender side you have zip the files, in sender communication channl you have to usePayloadZipBean adapter module.

    in module tab of Sender Communication Channel properties,

    Processing Sequence:

    Module Name: PayloadZipBean

    Module Configuration:

    Parameter Name: zip.Mode

    Parameter Value: unzip

    please go through below blog,

    Working with the PayloadZipBean module of the XI Adapter Framework

    Regards,

    ganesh

    Add comment
    10|10000 characters needed characters exceeded