SAP Knowledge Base Article - Preview

2310901 - Routing rules not evaluated in Integration Flow or in Integrated Configuration

Symptom

You are using routing with condition in an Integration Flow or in an Integrated Configuration. You notice that the XPATH expression used for receiver determination sometimes gets properly evaluated and sometimes not.

In the message monitoring you notice similar errors:

Transmitting the message to endpoint {2} using connection JMS_http://sap.com/xi/XI/System failed, due to: com.sap.aii.adapter.xi.routing.RoutingException: Cant determine receivers because condition evaluation failed



You perform an XPI Inspector Example 50 - XI Channel trace on the Communication Channel where you face the error and the trace consists similar errors:

Catching com.sap.aii.utilxi.misc.api.BaseException: javax.xml.transform.TransformerException: A location step was expected following the '/' or '//' token.
at com.sap.aii.utilxi.extractor.ValueExtractor.valuesOfXPath(ValueExtractor.java:199)
at com.sap.aii.utilxi.extractor.ValueExtractor.getValues(ValueExtractor.java:90)
at com.sap.aii.adapter.xi.routing.condition.ExtractorResolver.resolve(ExtractorResolver.java:40)
at com.sap.aii.adapter.xi.routing.condition.ExtractorResolver.resolve(ExtractorResolver.java:68)
at com.sap.aii.adapter.xi.routing.condition.ConditionEvaluator.resolve(ConditionEvaluator.java:428)
at com.sap.aii.adapter.xi.routing.condition.ConditionEvaluator.retrieveAndResolveExtractor(ConditionEvaluator.java:350)
at com.sap.aii.adapter.xi.routing.condition.ConditionEvaluator.evaluateConditionFragment(ConditionEvaluator.java:262)
at com.sap.aii.adapter.xi.routing.condition.ConditionEvaluator.evaluateCondition(ConditionEvaluator.java:180)
at com.sap.aii.adapter.xi.routing.condition.ConditionEvaluator.evaluateCondition(ConditionEvaluator.java:139)
at com.sap.aii.adapter.xi.routing.handler.ReceiverDeterminationHandler.analyzeReceiverAssignmentsWithConditions(ReceiverDeterminationHandler.java:482)
at com.sap.aii.adapter.xi.routing.handler.ReceiverDeterminationHandler.determineActualReceivers(ReceiverDeterminationHandler.java:217)
at com.sap.aii.adapter.xi.routing.handler.ReceiverDeterminationHandler.performReceiverDetermination(ReceiverDeterminationHandler.java:127)
at com.sap.aii.adapter.xi.routing.RoutingManagerImpl.performReceiverDetermination(RoutingManagerImpl.java:109)
at com.sap.aii.adapter.xi.routing.RoutingManagerImpl.performAllInOneRoutingForApplicationMessage(RoutingManagerImpl.java:401)
at com.sap.aii.adapter.xi.routing.RoutingManagerImpl.performAllInOneRouting(RoutingManagerImpl.java:282)
at com.sap.aii.adapter.xi.ms.XIMessage.performIRD(XIMessage.java:2904)
at com.sap.aii.adapter.xi.ms.XIEventHandler$IRDProcessingBlock.process(XIEventHandler.java:1470)

Catching com.sap.aii.adapter.xi.routing.condition.ExtractorException: Could not resolve Extractor with the Id: XX on XIMessage YY(OUTBOUND)
Could not resolve needed Extractors for ConditionFragment with Object-Id: XX
Evaluation of condition XX for XIMessage YY(OUTBOUND) and AllInOneObjectId ZZ failed
Throwing com.sap.aii.adapter.xi.routing.RoutingException: Can't determine receivers because condition evaluation failed
Determination of actual receivers failed, due to Can't determine receivers because condition evaluation failed
Receiver Determination for message YY(OUTBOUND) failed.


Read more...

Environment

  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5

Product

SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3

Keywords

XPATH, Operators, EXISTS, Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX, , KBA , BC-XI-IDE-IFL , NWDS / Eclipse IDE Tools for Integration Flow , BC-XI-IBC , Integration Builder - Configuration , BC-XI-IBD , Integration Builder - Design: Please use sub-components , BC-XI-CON-AFW-AAE , Advanced Adapter Engine , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.