on 08-31-2006 12:56 AM
Hi,
I need to send an IDOC flat file that I pick from File system to a FTP server through XI. I was just wondering if there was a way by which I could avoid doing File Content Conversion on both the send and receiver file adapters?
In my scenario, I am just passing this file through XI. I am not making any changes to it but to send it thru XI, I will have to convert from flat IDOC file ( file generated from File port in ECC) to XML and then from XML to Flat file.
Can anyone guide??
I am just passing this file through XI.
>>> in case you are not doing any changes to the input file and need the same at the target side than you can actually avoid
1. Mapping &
2. File content Conversion
Do follow the blog /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp as mentioned by others but note that there is a size limitation for the files (do read the comments in the blog for a discussion on the same)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shabarish,
The biggest file they have ever had was 662kb and typically they have 100kb file. I hope your logic works for such small files.
Just for my curiosity, has Michal come up with any blog on how to achieve the same using Java proxy ( as he talks about it).
I am yet to test out your logic. If it works, I am going to give you full points and a big thank you too.
Hi,
If you want to send the file without any conversion or mapping, just send it with file sender comm channel's protocol as "File".
The file content will be sent exactly as is, no matter the content. The file does not have to be converted to XML. It can even be in binary format. Of course, you will get a display error when trying to view it in SXMB_MONI.
As a matter of fact, no IR object is needed. You can make up any interface name and namespace in the ID.
Regards,
Bill
Hi William,
<i>As a matter of fact, <b>no IR object is needed</b>. You can make up any interface name and namespace in the ID.</i>
This sounds interesting..!!
Can I just note down the steps in this case and can you validate the same..
1. No IR objectd needed.
2. File adapters ~~ Both sender and reciver , make the protocol as FILE
3. Receievr Determination , Interface determination , Sender Agreement , Receiver Agreement ~~~ Give dummy Interface as well as Namespace values?
Regards,
Bhavesh
Hi,
To ftp the file thru XI, you can refer this blog-
/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do the folllowing~~
1. Create a dummy datatype
2. Create a Message Type for the data type of step 1
3. Create the outboundand inbound message interaces using the message type of step 2
4.No Message amd Inteface Mapping is needed
5. In Configuration , create Receiver Determination, Interface Determination , Sender and REceiver Agreement as usual. In Interface Determination, there will be no INTERFACE MAPPING.
Regards,
Bhavesh
Hi,
Actually, the file can be sent as is, with being converted to XML. Just leave the Message Protocol as "File". Do not use any mapping.
No XML conversion will be done.
Regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
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.