cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver Determination.. Condition: Receiver has to pass greter than 7000.?

Former Member
0 Kudos

Hi All,

I need to

Send to receiver B when the RCVPRN value is > 7000

Send to receiver A when the RCVPRB value is <7000.

When I checked in the receivert determination condition tab, I found that there is no ">" symbol to put in the condition.

How can we achieve it?

Thanks

Deepthi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Deepthi,

You can write the condition using xpath.

Regards,

Rajesh

Former Member
0 Kudos

Hi Rajesh,

There is no ">" symbol.

Can you please elaborate it.

former_member184619
Active Contributor
0 Kudos

Hi Deepthi,

yes, there is no > symbol..but u can modify your Xpath..

check this:

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

the last example provide use of >

Sachin

Former Member
0 Kudos

Hi Sachin,

Thanks for the link.

Some how it is not working. I gave the following.

(/DESADV01/IDOC/E1EDK07/[RECIPNT_NO < 0000007000] EX ) - Receiver A

(/DESADV01/IDOC/E1EDK07/[RECIPNT_NO >= 0000007000] EX ) - Receiver B

Any idea?

Former Member
0 Kudos

Hi Deepthi,

Can you check with this XPATH

(/DESADV01/IDOC/E1EDK07[RECIPNT_NO < 0000007000] - Receiver A

(/DESADV01/IDOC/E1EDK07[RECIPNT_NO >= 0000007000] - Receiver B

former_member184619
Active Contributor
0 Kudos

Hi Deepthi,

I think there is some problem with display here in reply...

try using these .. (i m not having access to system right now, so i cann't test)

(/DESADV01/IDOC square Brace start ( E1EDK07/RECIPNT_NO < 0000007000 ) square brace end EX )

OR

(/DESADV01/IDOC square Brace start E1EDK07/RECIPNT_NO < 0000007000 square Brace end EX )

Sachin

Edited by: Sachin Dhingra on Mar 26, 2009 1:06 PM

Former Member
0 Kudos

It worked.

We should not keep gaps in between the symbol ">".

(/DESADV01/IDOC/E1EDK07/square Brace startRECIPNT_NO<0000007000square Brace end EX )

Thanks

Deepthi.

Answers (1)

Answers (1)

Former Member
0 Kudos

hi deepthi,

U can do this using XPATh Predicates

predicate: greater than

Now we just need to know how to convert this english into an XPath predicate!

An XPath predicate is contained within square brackets [] and comes after the parent element of what will be tested!

Have a look into this link for complete understanding about XPATH Predicates.

http://www.tizag.com/xmlTutorial/xpathpredicate.php

Regards