on 06-13-2008 8:12 AM
Hi,
i'm trying to do a scenario for 1 sender and 2 receivers.
but the receiver is again based on the condition like...if my id = 1 then receiver should be a if 2 then receiver is b.
please give me clear picture of the scenario.
i need starting from scratch like Data type to interface determination.
****full points are rewarded at the moment.****
No links please
Thanks,
Mohan
Hi,
This can be acheived by using context objects & create a Cobject with name ID & based on this routing will be done at runtime value will be checked and as per ur requirement it will be routed to recv.
While defining recv determinations 4 ur 2 receivers specify condition as u like.
"if id =1 route it to RECV" like this.
Procedure for creating Cobjects:
Conext Objects are a short way to reference XPATH.
When you have a deep nested XPATH, and you need to use it in multiple locations it can become tricky and so in your Ir you create a conext object to refer to the XPATH.
Creating Conext Objects --> Quite Simple.
1. Create a new context object --> Right Click on Context Object --> New --> and then give the type of the conext element. Integer, char ,etc.
2. Now, go to the Message Interafce and you will find the column Context object . To the corresponding XML element , give your context object name
Regards,
Vinod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create the 2 receiver communication channels and in the receiver determination you mention the conditon based on that condition it selects the required mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As u said that u have one sender and two receivers not to worry we can do it
In XI we have a concept called Context Object by which it is possible
Use
Context objects are a simple alternative to XPath expressions for accessing the contents of a message. Take the following message instance as an example:
<InvoiceOut>
<customerData>
<address>
<name> ... </name>
<postalCode> ...</postalCode>
...
</address>
...
</customerData>
</InvoiceOut>
To access the content of the <postalCode> field, you would use the following expression in XPath:
/InvoiceOut/customerData/address/postalCode
If you needed this expression in more than one condition, you would have to rewrite or copy it each time. Instead, you can assign a context object to the <postalCode> field, for example with the name postalCode. You can then use the postalCode context object in all conditions where you need the value of the <postalCode> field, which makes the conditions easier to read.
/people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object
in the context object we can give condition depending upon it the receivers are activated b/w 2 recv
if found worth pls do the req
Thanx
Sampath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi MS,
In the receiver determination you will be having the option condition ,open the condition editor and specify your conditions there.....remaining steps of creating the DT,MT,MI u can check the links...
regards
chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi M.S
Your scenario is good.
create
Data Type, Msg Type, Msg Interface, Msg Mapping and Interface Mapping. Activate and go to Integration Directory.
Get two Business Systems for receiver, Create Two communication Channels for them.
At receiver determination Add two Receivers in Configured Receivers Section. Click Condition and give the necessary Condition and Divert the Message to Particular Receiver based on the result of the condition.
I hope it is helpful for your scenario.
Best Of Luck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to create the same scenaio, but in receiver determination try to provide the condition like if a=1 the rece1 if a=2 receiver 2 etc.
http://help.sap.com/saphelp_nw04/helpdata/en/26/5ccd3bb4560f01e10000000a11402f/content.htm
This should resolve your issue.
Regards,
Nithiyanandam
Edited by: Nithiyanandam A.U. on Jun 13, 2008 9:24 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Check this blogs.
BPM involved:
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
Without BPM:
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
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.