cancel
Showing results for 
Search instead for 
Did you mean: 

Interface Determination XPATH in SAP PI 7.5

mdejesus
Participant
0 Kudos

Hi Experts,

I would like to ask for help regarding my error below for File to Multiple IDOC scenario.

I have one source file flat file which will be map to Two different IDOCs depending on the condition.

Source Structure: Recordset(0..unbounded), Header ( 0..1) , Detail (0..unbounded)

Interface condition

If Header-Trans_type = A , map to IDOC 1

If Header-Trans_type = D, map to IDOC 2

Now, when I create the condition in interface determination I encountered an error below.

Interface Determination condition

(/p1:MT_Test/Recordset/Header[Tran_Type = 'A']EX) ( with multiline check)

(/p1:MT_Test/Recordset/Header[Tran_Type = 'D']EX) ( with multiline check)

Error

Error: com.sap.aii.adapter.xi.routing.RoutingException: Can't determine interface determinations because condition evaluation failedcom.sap.aii.adapter.xi.routing.condition.ConditionException: Could not resolve needed Extractors for ConditionFragment with Object

I also tried to create the condition using the standard XPATH but still the error is the same and tried also to remove the Software component version of sender interface.

Can anyone tell me what is the correct XPATH condition for this?

Appreciate your help!

Additional info

Inbound processing tab

Receiver tab : No condition

Sender channel : Transfer mode - Binary and File Type -Text

Accepted Solutions (1)

Accepted Solutions (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Marc,

Recently even we did faced the same issue in 7.5 :

Check this Note 2226967

Try to reconfigure ICO ( this worked for me)

Br,

Manoj

Answers (4)

Answers (4)

former_member190293
Active Contributor

Hi Marc!

I'm not sure, but you could try to use different namespace prefixes in your conditions with the same namespace definition.

Regards, Evgeniy.

0 Kudos

hi Marc/Manoj,

I have a IDoc to file scenario outbound scenario in which multiple condition check is involved

I have a similar query in which I am getting the same below error as discussed above:

Transmitting the message to endpoint {2} using connection IDoc_AAE_http://sap.com/xi/XI/System failed, due to: com.sap.aii.adapter.xi.routing.RoutingException: Cant determine interface determinations because condition evaluation failedcom.sap.aii.adapter.xi.routing.condition.ConditionException: Could not resolve needed Extractors for ConditionFragment with Object-Id: **********************************

On the other hand I tried to check the xml which is getting triggered, that is also not well formatted.

Do I need to reconfigure the ICO as per the note

2226967

Do you think this is the similar issue as discussed above?

Your answers would be appreciated.

Thanks in advance

Rdgs,

Aishvar

LouieReyes
Explorer
0 Kudos

did you find the answer to your question?

mdejesus
Participant
0 Kudos

Hi Both,

Thanks for your help. The issue is now resolve by following SAP NOTE 2226967

I just recreate the ICO and it works!.

mdejesus
Participant
0 Kudos

Hi Both,

Thanks for your help. The issue is now resolve by following SAP NOTE 2226967

I just recreate the ICO and it works!.