cancel
Showing results for 
Search instead for 
Did you mean: 

specifying XPath expressions for receiver determination to check node exist

Former Member
0 Kudos

Hi,

Suppose I have an IDoc structure like

IDOC

-


ZSEG1

-


Field1

-


Field2

Here, Field2 is option (0..1)

other fields may or may not be optional (depends on the circumstance).

I want an XPath expression that can check whether it exists.

If so, then another XPath should be used that examines its content and makes a decision based on value.

How do I do this in Expression Editor in PI 7.1 ?

Cheers,

Earlence

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

> I want an XPath expression that can check whether it exists.

> If so, then another XPath should be used that examines its content and makes a decision based on value.

You can try with this one...

/p1:ZSEG1[Field2 ="your value"]

Note: Use your actual x-path.

And in the conditions editor use Operator EX ( exists ), which I gues will work for both the requirements.

Answers (0)