cancel
Showing results for 
Search instead for 
Did you mean: 

Xpath receiver determination

Former Member
0 Kudos

Hi, I need help to determine the receiver based on the contents of the payload (source message). How should I set this up in the xpath condition editor?

A message should <b>not</b> be sent, if it contains one or more lines, with a specfic value (restricted) that is the same in all line(s).

All other messages should be sent:

The message should be sent if it contains many lines, with different values, included the restricted one.

It should also be sent if it is only one line, but with a value other than the restricted one.

Any ideas? Sorry for my bad description!

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Just make a condition like:

XPath: "//<theline>" != specific value

than go to the receiver you want.

Regards,

Robin

Shabarish_Nair
Active Contributor
0 Kudos

ref these weblogs to get a know how on Xpath and recv. determinations;

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

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

Former Member
0 Kudos

You can use Xpath Functions, go through these links:

http://help.sap.com/saphelp_nw04/helpdata/en/92/af463c36a30319e10000000a114084/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/01/c45e05e6b14571b1c797f053fdff2b/frameset.htm

You have the following options. In the Configured Receiver frame, select the relevant radio button under If No Receiver Is Found, Proceed as Follows.

This will help you to cover all the cases

Regards,

Sandro

venkatanarayana_vagu
Active Participant
0 Kudos

Try to write the code for the payload based xml which is on wordwrap.

http://help.sap.com/saphelp_nw04/helpdata/en/67/49767669963545a071a190b77a9a23/frameset.htm