on 09-26-2007 10:26 PM
Hi Folks,
I have a scenario in which I need to transfer a flat file to an external system. No mapping is required. We are not using BPM. I read Michael's comments on using Java proxies to transfer large files. I know that we can use standard Java IO APIs to copy the file over. However, I don't know how to implement this.
In my scenario an SAP tranaction will create the file. I just need XI to pick it up and FTP it to another server. Can you point in the right direction as to how i should go about imlementing this?
1. I assume i will still have to use file adapter to pick up the file.Right?
2. Then, i use Java server proxy to FTP it to the target system?
3. In order to generate the proxy i need a message interface. Should i use a dummy Message Interface as my inbound and outbound that points to a dummy message type?
Can someone provide me a sample?
Thanks,
Birla
Hello,
Check the below link along with java code to achieve your requirement.
<a href="/people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover XI acting as a (huge) file mover</a>
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Why are you using XI tyo move that file ...
File however large can be moved using abap alone ..
only thing required is setting up the file path ...
Which your basis guy can easily do .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Birla,
Check out this blog by sravya...
/people/sravya.talanki2/blog/2005/11/29/night-mare-processing-huge-files-in-sap-xi
Hope this will help.
Nilesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nilesh,
Thanks for the reply and the link. However, the blog doesn't provide solution to my problem. I was asking if XI can pick-up a large file (say 200MB) and FTP it to an external system without doing content conversion.
I already read these blogs.
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
These blogs suggest that i can use Java proxy to achieve better performance.
I just don't know how to implement it.
Any help would be much appreciated.
Thanks,
Birla.
Hi Birla,
Actually it is not recommended to used XI if you have file size something greater than 20-25MB...Untill n unless you have very good hardware configuration for same...But still its not a feasible solution.
I always had a problem as soon as payload size crosses 20MB..
Even with Java proxies it would be a problem to handle a file of size 200MB...Java xperts please correct me if I am wrong.
Thanks & Rgds,
Nilesh
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.