cancel
Showing results for 
Search instead for 
Did you mean: 

Error in XPATH

Former Member
0 Kudos

I had an error determining the receiver of the message. When I restarted it and increased the trace level, I found out that it is routing to the wrong XPATH. But when you look into the Receiver Determination, the XPATH of the configured receivers are correct.

How could this be?

Accepted Solutions (0)

Answers (3)

Answers (3)

prateek
Active Contributor
0 Kudos

Make sure that in ur conditions, the receivers are configured for all the possible values of ur xpath expression. Otherwise it could give unpredictable results

Regards,

Prateek

Former Member
0 Kudos

We are also currently encountering the same issue.

Upon checking the message trace, it is going to the correct receiver determination

*call rule engine for Condition %CL_SAI_SWF_RULE_ENGINE.MSG_GET(MSG=&_MSG&;NSP=&_NSM&;XPATH="/ZADR3MAS02_EXT/IDOC/E1ADR3MAS/ZXIDATA/ZROUTECLASS/CLASS")% CE ZFFIT*

XPATH in receiver determination - ZADR3MAS02_EXT/IDOC/E1ADR3MAS/ZXIDATA/ZROUTECLASS/CLASS

/ZADR3MAS02_EXT/IDOC/E1ADR3MAS/CONTEXT

However, when checking the message trace it is going to this XPATH:

/ZADRMAS02_EXT/IDOC/E1ADRMAS/ZXIDATA/ZROUTECLASS/CLASS

/ZADRMAS02_EXT/IDOC/E1ADRMAS/CONTEXT

This is the reason why the message is in error in XI.

Unable to determine receiver in XI

Any inputs would be appreciated

srikanth_srinivasan3
Active Participant
0 Kudos

Delete the value provided against your XPath in receiver determnination & provide it again to activate it.

I hope that'll work.

-

Srikanth Srinivasan

Former Member
0 Kudos

Can you give your XPATH condition in Rxr determination and the sample input XML file for which the scenario fails.

Regards,

Jai Shankar

Former Member
0 Kudos

Hi Mary,

How many recievers you are using??

can you give complete details of your scenario!!!!