cancel
Showing results for 
Search instead for 
Did you mean: 

Payload Zip

Former Member
0 Kudos

Hi,

I have a requirement where PI will need to generate an xml file. The xml file along with another pdf file needs to be zipped and send it through SFTP.

Regards

Anandh.B

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You might want to check this link for the files zipping using payloadzip bean module.

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

  I don't know the version pi you use. You might have to think about using third party adapter like seeburger or Aedaptive or so for the SFTP on the reciever side.

If your version is PI 7.11 sp 08 or PI 7.3 , you dont need third party adapters. Please see shabarish link.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/04/11/sap-sftp-sender-adapter-a-quick-w...

Hope that helps. Provide more details if you need further help.

Former Member
0 Kudos

Hello Basker,

I am using PI 7.11 SP05.  Believe we need to wait some more time for SFTP adapter. 

Can payloadzip be used for zipping pdf files also.  I have two files with same name , but different extension.

For eg., a.xml and a.pdf.  My sender communication channel will pick them up both and by using zip module, can it zip all together.

Please do let me know.

Regards

Anandh.B

Former Member
0 Kudos

Hi,

>>Can payloadzip be used for zipping pdf files also.  I have two files with same name , but different extension

It is possible using the "additional files" option in file sender adapter where u can pick ur a.pdf as an attachment and then using module you can zip both the files..

http://help.sap.com/saphelp_nwpi71/helpdata/en/44/692ab8a4b633eae10000000a1553f6/content.htm

but there is one other option also which can think of "Using OS commads for zipping files" ..

http://scn.sap.com/people/suraj.sr/blog/2009/07/21/zip-multiple-files

Thanks

Amit Srivastava

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I am bit confused here. What exactly is the issue? Are you facing some error or exception? Or is it that you are asking for a scenario design? Could you please elaborate the exact issue for which hyou wish a solution?

Thanks,

Atul