cancel
Showing results for 
Search instead for 
Did you mean: 

Error when trying multiple inbound interface determination for IDOC

Former Member
0 Kudos

Hi !

I have this scenario: File -> XI -> IDOC.

For each source file, I need to send multiple idoc packages, all to the same business system, but each package should be the result of different interface mappings.

All mappings have same source and target message types...e.g. source: MT_MyFile, target: CREMAS04.

To avoid creating a generic mapping program, we need to duplicate the current mapping program, make it handle the new case, and then add it as second interface mapping in Interface Determination, with same inbound interface, but different interface mapping, without conditions. All interface mapping should execute.

We are receving this error:

<SAP:Code area="IF_DETERMINATION">CX_ID_PLSRV</SAP:Code>

<SAP:P1>Inbound interface was found more than once (for same sender and receiver) for outbound interface urn:xxxxx/xxxx:.MI_xx_xxxxxxxx_xxx_xx</SAP:P1>

<SAP:Stack>Error when determining the inbound interface: Inbound interface was found more than once (for same sender and receiver) for outbound interface urn:xxxxx/xxxx:.MI_xx_xxxxxxxx_xxx_xx Inbound interface was found more than once (for same sender and receiver) for outbound interface urn:xxxxx/xxxx:.MI_xx_xxxxxxxx_xxx_xx</SAP:Stack>

Any clues?

Regards,

Matias.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Matias,

From your queston what I understand is you want to send the file after mapping as an Idoc to different business systems. If it is yes then you dont need to have duplicate mappings. What you can do is to add multiple receivers in your receiver determination. Use the same mapping and interface mapping because the source business system is same and only the receiver business systems are different.

Regards,

---Satish

Former Member
0 Kudos

Hi Satish !

Thanks.

I need to send different IDOCs to SAME business system.

In Interface determination I need this:

Inbound Interface -


Condition -


Interface Mapping

<b>IF_1</b> no condition <b>M_1</b>

<b>IF_1</b> no condition <b>M_2</b>

I need to send BOTH IDOC packages to same business system.

But it keeps throwing the posted error.

Regards,

Matias.

Former Member
0 Kudos

Matias,

Check this weblog and see whether it helps for you:

/people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service

Regards,

---Satish

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks.

Former Member
0 Kudos

Hi Matias,

To execute different Interface mappings, you need different inbound interface. You cannot have the same inbound interface more than once in a interface determination object. Hence it is throwing this error.

>>>I need to send multiple idoc packages, all to the same business system, <b>but each package should be the result of different interface mappings.</b>

I dont understand this part. May be if you can explain your scenario a bit more, we could help you further.

Regards,

Jai Shankar

Former Member
0 Kudos

Hi Jay !

Thanks!

I have one source file that using Mapping1 uses some constants to generate a target IDOC, lets call it IDOC1. I also need to uses some other set of constants, so we developed another mapping program Mapping2. Then we tried to use both Mapping1 and Mapping2 in the same Interface Determination..both use the same inbound interface...but we receive the error.

I understand that we cannot have the same inbound interface more than once in a interface determination object...is there any workaround?

Regards,

Matias.

Former Member
0 Kudos

Hi Jai !

I tried this as a workaround to the problem that XI does not allow to have the same inbound interface more than once in a interface determination object...

I've created a Business Service to "mimic" the actual Business System that I have, and added this new B.Service as another receiver in the receiver determination, then created a whole new interface determination object for this newly created business service. Then activated header mappings to use the actual Business System as value for the receiver system field, in the receiver agreement. It worked.

Regards,

Matias.

Former Member
0 Kudos

Hi,

Just a thought here...probably you need to change the target IDoc XSD as 1..unbounded. The same thing that we do in IDoc packaging.

Thanks,

Anand