Skip to Content
avatar image
Former Member

Error when trying multiple inbound interface determination for IDOC

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 27, 2007 at 03:09 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2007 at 03:01 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2007 at 03:37 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • avatar image
    Former Member
    Jul 27, 2007 at 06:47 PM

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded