on 06-04-2009 3:30 PM
Hi All,
Iam doing Idoc--File Interface.
we have to send the file to Two Different systems based on the plant condition
If plant = 123 then send to ABC system ELSE if Plant = 999 then send it to XYZ system.
And Archive the file to one Archive folder of the any one system. this is working fine correctly.
Archive means not exactly Archiving, just we are droping one more extra file to Archive folder for refference
Now i need to construct like this
If plant = 123 then send to ABC system and Archive to Archive directory ELSE if Plant = 999 then send it to XYZ system and Archive to Archive directory.
Please suggest me on this
Regards
Vamsi
Hi,
1. Create 2 intermediate business system with 2 reciever file communication channel (ABC1 and XYZ1).
2. Use Dynamic receiver determination using plant id as condition to route message to correct receiver.
3. Dont touch file in sender folder (use test mode) and leave it to your original scenario to handle it.
Since 2 communication channels are different you are free to specify any archive folder you want as a reciever system.
Regards,
Gourav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vamsi,
this is not so easy, you could write a shell script which can be excecuted after processing.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
so you want to archive the files in the sender system itself but in different folders depending upon value of Plant?
Thanks
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No Aamir
in the receiving system i need to send a copy of the processed file for refference
this is not exactly Archiving process
I think i am able to do that like this
If Plant = 123 then select the BS1(ABC System)
Ex: //sapdev/test/ABC/item.txt
For Archive If Plant = 123 then select the BS1(ABC System) Archive folder
Ex: //sapdev/test/ABC/Archive/item.txt
If Plant = 999 then select the BS2(XYZ System)
Ex: //sapdev/test/XYZ/item.txt
For Archive If Plant = 123 then select the BS2(XYZ System) Archive folder
Ex: //sapdev/test/XYZ/Archive/item.txt
Regards
If Plant = 123 then select the BS1(ABC System)
Ex: //sapdev/test/ABC/item.txt
For Archive If Plant = 123 then select the BS1(ABC System) Archive folder
Ex: //sapdev/test/ABC/Archive/item.txt
If Plant = 999 then select the BS2(XYZ System)
Ex: //sapdev/test/XYZ/item.txt
For Archive If Plant = 123 then select the BS2(XYZ System) Archive folder
Ex: //sapdev/test/XYZ/Archive/item.txt
Then this becomes very simple:)
I m assuming you are already using conditional Receiver determination,now for each receiver just configure an extra interface in Interface determination.
so you will have 2 interface determination and each one of them will have 2 inbound messages,they can use same interface mapping.
you already will have 1 conditional receiver determination.
You can also do this via OS script if you have experience in that.
Thanks
Aamir
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.