cancel
Showing results for 
Search instead for 
Did you mean: 

xpath condition in receiver interface

vishnu_pallamreddy
Contributor
0 Kudos

Hi ,

I am trying to use xpath conditional editor to determine receiver in below segment.

IDOC/E1PL001/E1PI0009/E1P0000/BGEW

if the BGWE= 01 or 12 than create BC1file

if      BGWE not equals to 01, 12 or 17 than create BC2file.


I tried make the configuration but seems not working..

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

former_member183816
Active Participant
0 Kudos

Interface BC1file:

(Xpath./IDOC/E1PL001/E1PI0009/E1P0000/BGEW="01" OR Xpath./IDOC/E1PL001/E1PI0009/E1P0000/BGEW="02" )

Interface BC2file:

(Xpath./IDOC/E1PL001/E1PI0009/E1P0000/BGEW !="01" OR Xpath./IDOC/E1PL001/E1PI0009/E1P0000/BGEW !="12" OR Xpath./IDOC/E1PL001/E1PI0009/E1P0000/BGEW !="17" )

vishnu_pallamreddy
Contributor
0 Kudos

Hi Ambuj,

Do i need use EX operator in condition editor  just = operator?

Regards,

sahithi_moparthi
Contributor
0 Kudos

Hi,

Use below XPath Condition:

Interface BC1

IDOC/E1PL001/E1PI0009/E1P0000/BGEW = "01" OR
IDOC/E1PL001/E1PI0009/E1P0000/BGEW = "12"

Interface BC2:


IDOC/E1PL001/E1PI0009/E1P0000/BGEW  !=" "01" OR
IDOC/E1PL001/E1PI0009/E1P0000/BGEW  !=" "12" OR
IDOC/E1PL001/E1PI0009/E1P0000/BGEW  !=" "17"

Please try and letus know if you face any issues.

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

No need of EX ,  = is enough.

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Vishnu.

Please post your condition details.

Did yo configure as per below link

http://wiki.scn.sap.com/wiki/display/XI/Xpath+Condition+in+Receiver+Determination