cancel
Showing results for 
Search instead for 
Did you mean: 

Interface determination - condition

Former Member
0 Kudos

Hi,

We have a scenario in which , on the existence of a particular element we have to route it to one interface, and in case of non-existence (It will not occur in the input ) we have to route it to another interface.

For Checking the existence , we used the "EX" option in the condition editor , but how do we check the non - existence ?

Any ideas?

Thanks,

Shakthi

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

refer http://wiki.sdn.sap.com/wiki/display/XI/ToExistOrNottoExististheQuestion

Answers (2)

Answers (2)

rajasekhar_reddy14
Active Contributor
0 Kudos

Suppose if you want to check MTNO is not exist INVOIce record then below condition works

/p1:MT_Invoice_Out/INVOIC[not(MTNO)]

Regards,

Raj

Former Member
0 Kudos

Sabarish's answer did the trick!

Thanks for all your inputs.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>For Checking the existence , we used the "EX" option in the condition editor , but how do we check the non - existence ?

You could use less than < or greater than sign > for evaluating the condition in the expression for not equal.

Since you need to interface determination and if your pi version is 7.1 and greater then you can use the below way of handling the logic during mapping and reference that operation mapping in the interface determination. Please see below link

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90dcc6f4-0829-2d10-b0b2-c892473f1...