on 03-25-2008 4:09 AM
Hi friends, I am very much confused about routing the messages to multiple receivers.
1. Suppose if there is 1 sender and 2 receiver
systems and we want to route messages [say 5
messages] to these receivers based on condition. Then where we require to write the condition.[Is it in interface determination or receiver determination]
2. Generally to route the messages to multiple receivers based on condition, I think we need
to write condition in receiver
determination,but in which case we need to use
interface determination?
3.What is the main advantage of using Enhanced receiver determination from receiver
determination.Can we use whichever we want depending on our interest to route the messages?
4. Is there any rules to write condition using xpath ?
5. In a blog [Customise your xpath expressions in receiver determination]I have seen the condition as
/p1: MT_pickfile/Body [sum field 3]> 10000] operator as '=' and right operand as '1'.
What is the meaning of the following terms in the condition.
a. /p1
b. operator --> =
c. Right operand --> 1
I request you guys to please help me with the answers.
Regards,
Suresh.
Hi Suresh Kumar,
1. In Receiver Determination you need to do put the condition.If the condition satisfies,That message processed to that corresponding Receiver
2.Enhanced Interface Determination -- You use an interface determination to configure a mapping-based message split.
This involves assigning the interface determination a multi mapping from the Integration Repository. The inbound interfaces are determined at runtime during the mapping step.
If you are splitting the message to diffrent messages then it is Interface collection at runtime.Or you are populating the same message structure no.of times.It means the target structure having the occurence 0..Unbounded.
Suppose you have 100 items details in source you need to write the item detials for each item.
3.When you have the multiple Receivers based on conditional message you need to send that particular msg.
Suppose you need to send the Cheque clearence details to diffrent banks(Say 5 Banks as Receivers). Assume in your source message a field BankName.., You can put the condition on that filed BankName = Bank1 then send that message to Bank1 Receiver System. And so on
4.you cann't put the condition on diffrent contexts of Nodes.Suppose u r Strucuture look like
Node1
--F1
--F2
--Node2
-
F3
-
F4
You can put the condition using AND,OR e.t.c on F1,F2.You can't put the condition F1 or F2 = 'AA' AND F3 = 'BB'. This type of condition would not be work.
5. Refer the following link http://help.sap.com/saphelp_nw70/helpdata/EN/ab/13bf7191e73a4fb3560e767a2525fd/frameset.htm
Cheers
Veera
Reward Points if needful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh !
1. We mention the condition in Receiver determination when you need to route the messages to one or more receivers based on some condition (which will select the receiver).
2. Likewise, we mention the condition in Interface determination when we route the messages based on some conditions pertaining to the interface parameters.
Your case matches wid the first option.So u can choose Receiver determination
3.Enhanced receiver determination is used to determine the receivers of the message dynamically at runtime.
So when you aren't aware of the receiver while you are creating the receiver determination, we can use this Enhanced receiver determination at that time ,for which you need to write a mapping program that this returns a list of receivers at runtime.
For more on Enhanced receiver determination: Link:[http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/content.htm]
Regards,
Laawanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We use the Receiver determination , when we have more that 1 receiver then to determine the receivers based on some codition we will use this option.
According to the interface determination , if we want to call the particular interface at runtime based on some codition or if u want to execute a particular mapping out of two or more mapings in a single scenario.
Regards
Seshagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh !
1.We mention the condition in Receiver determination when you need to route the messages to one or more receivers based on some condition.
Likewise,we mention the condition in Interface determination when we need to route the messages based on some condition pertaining to the interface.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.