Defining Extended Receiver Determination (Dual Usage Type)
Procedure
-
Define a suitable mapping in the ES Repository.
More information: Mapping Messages to Each Other Using Mapping Objects
In particular, do the following:
Define an operation mapping and assign the abstract service interface ReceiverDetermination as the target interface. The service interface ReceiverDetermination is in the Enterprise Services Repository in the software component SAP BASIS (namespace http://sap.com/xi/XI/System).
Define the message mapping or mapping program that is to determine the receivers at runtime. Assign this message mapping or mapping program to the operation mapping specified before.
<Receivers> <Receiver> <Party agency="016" scheme="DUNS"></Party> <Service>"MyService"</Service> </Receiver> <Receiver> <Party agency="http://sap.com/xi/XI" scheme="XIParty"></Party> <Service>"ABC_200"</Service> </Receiver> </Receivers>You can specify party and communication component for each receiver.
-
Define an extended receiver determination in the Integration Directory
Enter the outbound interface of the operation mapping from above in the key of the receiver determination as the outbound interface. Assign this operation mapping to the receiver determination.
More information: Defining Extended Receiver Determination
-
Define the remaining configuration objects in Integration Directory (interface determination, sender and receiver agreements).