Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

XPath Condition Negative Condition

Hi.

I want to stop a message in Receiver Determination.

If portNum = 5 and id = 38268

the message shouldn't be process , but I tried many time and it doesn't work.

My previous test

1.- (/S1/A1/@portNum != '5' and /S1/A1/@id != '38268')

2.- (/S1/A1/@portNum u2260 5 AND /S1/A1/@id u2260 38268)

Below is an example

....
.<S1>
....<A1 portNum ="5" id ="38268"/>	
....<A1 portNum ="6" id ="18258"/>	
....<A1 portNum ="7" id ="38268"/>	
.</S1>
....

Can you help another posible solutions?

Regards

Lucho.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question