Skip to Content
author's profile photo Former Member
Former Member

How to set up multiple receiver for one interface/sender in SAP PI 7.3)

Hi,

I want to sent the same data to a second receiver. I've two different Business systems used as communication component. Therefore I have created a second interface determination, communication channel, receiver determination and receiver agreement.

In the receiver determination I have assigned both communication component without condition assigned (see picture).

Running the interface is sending the message to system BS_AMCS_P but not to BS_AMCS_T. Eror message:

com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve outbound binding for the given P/S/A values:

It is possible te achieve the second receiver without a new interface? How?

gcjc5.png (13.9 kB)
Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Posted on Mar 02, 2017 at 01:25 PM

    Hi,

    How did you configure your receiver agreement for both?

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 03, 2017 at 01:55 PM

    Hi,

    I had a second Receiver Agreement with different communication component but the same interface.
    I thought I can solve it without a second interface. But this is obviously not possible.
    Now I created a second Service Interface and use it in the Receiver Agreement and in the interface Determination.
    With this setup it is working now.
    A little strange for me that the second SI is needed. I just want to send the same message to 2 different receiver without BPM.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 02 at 05:28 AM

    This can be achieved with only one SI using iFlows or Integrated Communications.

    XPATH is used to only send delivery type = DEL to one BC. The other BC gets all three types.

    This example shows an Interface split and multiple recipients. The OM are different for DEL, RET and REL delivery types. The same SI is used for both BCs.


    image-078.png (507.4 kB)
    Add comment
    10|10000 characters needed characters exceeded