on 08-13-2007 2:34 PM
can anyone pls suggest me any module is there to zip and unzip a file.
Hi Hema !!!
Check this out !
/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
also
https://service.sap.com/sap/support/notes/965256
Check this weblog on how to zip the file using XI:
/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
PayloadZip Bean
/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
Through command line
Check case 2 in this blog
/people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
or ref plsz go tru it,
/people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
Check this weblog on this from stefan:
/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
http://help.sap.com/saphelp_nw70/helpdata/en/84/2e3842cd38f83ae10000000a1550b0/frameset.htm
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
Pls reward if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
The following blog excellently expalins ur need. U have to write adapter module for that .It is really good. I have tested also .
SAP XI acting as a (huge) file mover
/people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover
Best Regards.,
V.Rangarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a look at PayloadZipBean
http://help.sap.com/saphelp_nw70/helpdata/en/84/2e3842cd38f83ae10000000a1550b0/frameset.htm
Regards.
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thanks for the suggestion.
My actual requirement is Iam sending around 65000 records(in batches)from proxy to file.
Iam constructing the flat file with content conversion with append mode. For that i need to do encryption which is not possible in append mode constructed file.
So iam thinking to run another scenario to handle that final flat file(around 90MB) zip at the sender side and unzip at the reciever side and encrypt.
is this possible
or any other optimal solutions for my problem??
Hi,
Firstly a huge file of 90MB might take longer to process. Standard size that is followed is around 20 MB. So check wether it effects the performance of the scenario.
Second part ZIP and Unzip of file.
2 ways it can be acheived.
Zip or Unzip your Payload with the new PayloadZipBean module of the XI Adapter
/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
XI/PI: Command line sample functions -> go through case 2
/people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
<b>Cheers,
*RAJ*</b>
Hi Hema !
How are you encrypting the data? are you encrypting row based or file based. Some ideas: you can encrypt each row via udf, using a datatype that handles each row as a raw line, no fields splitting. Once the processing is done, you will have the encrypted file on target destination. Then you will need some mechanism to detect that the file is completed, to execute a script for zipping.
You idea of 2 scenarios looks ok, you could use the abap proxy-> file to create the file in the file system and another scenario to encrypt.
For detecting file completition using append mode, you could program your abap proxy to send for example, for each batch, the filename (as a field in payload) of the target file and use this via dynamic configuration to create the file via file adapter (e.g. "file001.tmp"). While the mesages arrive to file adapter with same file name and using EOIO, using append you will build the file. Then, after the last batch you could send one more message, with same filename but different extension (e.g. "file001.txt")...this could trigger an operating system script that renames the previously created file to its final filename (e.g. "file001.tmp" -> "file001.txt").
Regards,
Matias.
Hi Hema !
Check this weblog:
/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
Regards,
Matias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.