Skip to Content

Interface Determination XPATH in SAP PI 7.5

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

sender-channel.jpg (61.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Nov 25, 2016 at 04:49 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 25, 2016 at 06:30 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 25, 2016 at 07:00 AM

    Hi Both,

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

    I just recreate the ICO and it works!.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 25, 2016 at 07:01 AM

    Hi Both,

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

    I just recreate the ICO and it works!.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 09 at 05:30 AM

    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

    Add comment
    10|10000 characters needed characters exceeded