cancel
Showing results for 
Search instead for 
Did you mean: 

Error in file to Proxy Interface while FCC

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Lokesh,

yes, I will be doing it.

Thanks for the support.

Sherwin

PriyankaAnagani
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Priyanka,

So you mean that I have to create 5 MM and 1 OM , right ?

Thanks,

Sherwin

PriyankaAnagani
Active Contributor

Yes, Correct!

Former Member
0 Kudos

Hi Priyanka,

I am getting below error when i made one OM by using 5 MM. I did no change in MM.

New OM

PriyankaAnagani
Active Contributor
0 Kudos

In the OM, you need to enter 5 Inbound service interfaces and in MM in the signature tab enter 5 message types of 5 inbound service interfaces.

Then perform mapping to split one source message into 5 target messages based on RecordType/CompCode.

Former Member
0 Kudos

Hi Priyanka,

I just to be clear when you say 5 Inbound SI you meant Target SI ? and, I have to make 5 MM and 1 OM right ?

Thanks,

Sherwin

PriyankaAnagani
Active Contributor
0 Kudos

Yes, Target SI.

And in MM-->1 Source Message Type and 5 target message types. Not 5 MM.

Former Member
0 Kudos

HI Priyanka,

I did it. When I am testing in MM I am not able to generate the records for which I am putting the company code as 54, 56 or 60. it is generating only one record. I might be having wrong logic. I am giving my the screenshots below.

MM it is also showing the logic which I have put for one of the MT.

Signature tab in MM. I have made occurrences of source and target MT as (0,unbounded)

Test tab

Please suggest. I am looking into it.

PriyankaAnagani
Active Contributor

It's creating only one because of the context changes. You need to adjust the context.

Use remove context after company code and see the result.

Former Member
0 Kudos

Hi Priyanka,

Yes it worked. But now I am also getting empty message node as well. I dont want it. what should be the logic for the same ?

Former Member
0 Kudos

Hi Sherwin,

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

Thanks-Lokesh

former_member190293
Active Contributor
0 Kudos

Hi Sherwin!

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

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

Regards, Evgeniy.

Former Member
0 Kudos

Hi Evgeniy,

I have just used the condition but still it is giving the same error. Since I need to put condition on Company_code, I have put the condition on it. is there any space issue ? I mean between Company_code=Space"53"] is there. I tried by removing it but still the same issue. Can you check my FCC, is it correct ? I am attaching New FCC

NEW FCC

former_member190293
Active Contributor

Hi Sherwin!

From your test message given above I see additional tag "Recordset" that isn't mentioned in your condition.

If it exists, change condition to:

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

Else use ignoreRecordsetName parameter in FCC.

Regards, Evgeniy.

Former Member
0 Kudos

Hi Evgeniy,

I have updated the FCC but still getting error. do i need to change anything in Advance tab or do i need to use any module config as well?

Advanced Tab

Module TAB

former_member190293
Active Contributor

And what is your source XML coming after all changes?

Former Member
0 Kudos

HI,

Channel is not able to pick the file. it is giving the error

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

former_member190293
Active Contributor

Hi Sherwin!

Channel picks the file but can't find interface for the condition.

Regards, Evgeniy.

Former Member
0 Kudos

Hi Evgeniy,

Yes true. So what should be my next approach?

Thanks ,

Sherwin

former_member190293
Active Contributor

Provide us the source XML after FCC transformation.

Regards, Evgeniy.

Former Member
0 Kudos

For that I need to delete the condition. Or else is there any way I can get the source message ?

manoj_khavatkopp
Active Contributor

Try enabling Staging and logging in ICO at all steps and see if the file picks ?

Former Member
0 Kudos

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

iaki_vila
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi Inaki,

I changed the value of Recordset per message to 1. but it is still showing the same error. Can you help me by looking at the file about

RECORD.fieldSeparator

it should be + or something else ? Also I have unchecked multiline option in XPATH.

iaki_vila
Active Contributor

Hi Sherwin,

Can you see the messages generated in the monitoring according you XML structure?

Regards.

Former Member
0 Kudos

HI,

I just deleted all the conditions and was able to generate xml. One thing I noticed that I was putting the condition at wrong field. I corrected the field but still i am getting the same error. test-file.txt

I have attached the xml . please check and suggest.

Thanks,

Sherwin

Former Member
0 Kudos

Can you check if NEW FCC is fine ?