on 03-10-2008 1:29 PM
Hello Guys,
We have a requirement where I need to archive the file that i am sending to the legacy FTP server in a Idoc to file scenario.
How can i place the file in 2 different locations. In this case place the file in the FTP server and a copy of it in the local NFS folder.
Hello Akshay,
I need to place the file in the archive folder of the XI system.
The folder path i can see in the AL11 transaction code as /xiiface/xi/archive.
Can you please tell me what is the syntax of the command i need to use.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajeev,
You can very well use one communication channel to create two files. Use the feature of "Run Operating system after Message Processing" in the receiver communication channel. Provide a copy command which will copy the file whcih was created by the communication channel to the archive directory.
The only constraint with this is that the operating system command will run only on the XI server. So, you have to create the file on the XI file system itself.
If this doen't suffice, you can create a batch job on your targert fiel system which will poll for the target file and create a copy of it in the archive directory.
Regards,
Akshay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
As per the standards we are supposed to use only one channel.
that is one idoc, one message in the sxmb_moni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hello,
> As per the standards we are supposed to use only one channel.
> that is one idoc, one message in the sxmb_moni.
Rajeev,
You can use an ftp job and save it on XI's folder.
Process the file into tmp directory on local file system and run operating system command to run ftp job to send the file to your file server and then copy the file to your archive folder and then delete the file from tmp.
This should solve your problem.
Regards,
AV.
Hi,
U can create two communication channels at receiver side one is FTP and another is NFS and u can send the file to both of them.
if u dont wat to send the data to NFS in some cases then u can keep condition at receiver determination.
Regards,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.