Skip to Content
avatar image
Former Member

Error in file to Proxy Interface while FCC

HI,

I have a file to Proxy scenario. I am getting a file from third party in which there is a data for 5 different interfaces. Receiver is one(ECC). There are 5 different target structures. So I made 5 Target DT, 5 Target MT, 5 Target SI, 5 MM and 5 OM. I have made 1 Source DT, 1 Source MT, 1 Source SI. I have to send the data according to the first words like 53,54, 56, 60, 61 to different interface. but now I am getting this error.

Error: com.sap.aii.adapter.xi.routing.RoutingException: InterfaceDetermination did not yield any actual interface

This is condition I have put in condition in ICO for receiver interface

Condition in ICo for Inbound processing since i am using MM and OM.

File content conversion.

File

I know that it is not able to identify the interface. Please suggest.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • May 31, 2017 at 12:29 PM

    Hi Sherwin,

    May be i'm wrong but according with your file seem to have several record_type that should go to different receiver. Why don't set in Recordset per message the value 1, and you will as much messages as recordsets?

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • May 31, 2017 at 01:44 PM

    Hi Sherwin!

    I'd suggest to change condition syntax to something like this:

    /p1:MT_StarOrder_TP/RECORD[Record_Type = "53"] EX

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Manoj,

      I will read about it. thanks for the support. is there any other alternative ? I need to complete this interface asap.

      Thanks,

      Sherwin

  • avatar image
    Former Member
    Jun 01, 2017 at 07:24 AM

    Hi Sherwin,

    In sample file the values starts with field separator "+". As per your FCC the first value will be blank, Field(Company_Code) will have values (53,54...). You can do the following,

    In your condition, use the field Company_Code instead of Record_Type.

    or

    Add a Null field before Record_Type in your structure.

    Thanks,

    Lokesh

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 01, 2017 at 07:17 AM

    You can achieve this by using multi mapping. In the operation mapping use one sender interface and multiple receiver interfaces and in the message mapping use condition to determine which message has to be created.

    Your existing logic might not work because in the same input message you have records of all types(53,54 etc.) and to split that to multiple messages you need to use multi mapping.

    --Priyanka

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sherwin,

      Empty Nodes Message 1 and 5 will be removed automatically during RunTime. It will not create any empty messages.

      Thanks-Lokesh