on 02-22-2006 6:02 PM
Hi all,
We are working on the following scenario:
NW04 XI R3 5.0 (SOAP XI IDOC )
Weve created two mandants in R3 5.0 (100, 300), we want to send our idocs to these mandants depending on the values of specific fields.
We see that in receiver determination we can configure multiple receivers and conditions to select the receiver of the idoc, our problem is how to generate that condition, for example if we have an idoc idoc1 with one segment segment1 with one field field1 and depending on the value (if = 1 to mandant 100 else to mandant 300) how do we write the condition??
Idoc1-segment1-field1 = 1 ??
Idoc1.segment1.field1 = 1 ??
Thanks and regards.
Hi Xavier,
Can you look into this weblog .... it shows exactly how to acheive routing of mesaes to different receivers.
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
Note that you get your source message only in the XPATh editor so if your condition is based on your target message you may need to use a BPM (the weblog deals with such a scenario)
Regards,
ShabZ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just to add to what Sam has said, the conditional receiver detrmination can be done only on the source message. the reason being that the sequence of steps executed is
receiver determination--> interface determination --> interface mapping.
This implies that as receiver determination occurs before the mapping, conditional receiver determination can be done only on the source. Also, the source fields can be easily accessed using XPATH in the condition field.
Hope this helps,
regards,
bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Xavier,
You can achieve this by creating 2 Business systems in
SLD and importing those into ID.
One for Client(MANDT) 100 and one for Client(MANDT) 300.
In the "configured Receivers" of RD in ID, you have to
specify these two receivers. One is the BS for Client
100 and the other one is BS for Client 300.
Now to specify a condition, You can only specify a
condition based on the field value from the source(input)
message. So your source message should have an indicator
field to route the idoc to a specific client. The
indicator field could have values like '100' or '300'.
You can specify this condition in your RD. In addition,
You need to have one ID, one IR, and one Receiver CC for
each BS.
Hope this helps.
Rgds,
Sam Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.