cancel
Showing results for 
Search instead for 
Did you mean: 

Enhanced Receiver Determination

Former Member
0 Kudos

HI Frnds can any one explain enhanced receiver determination

regards.. vinay

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Enhanced Receiver Determination

Use

You use an enhanced receiver determination to have a mapping program determine the receivers of the message dynamically at runtime. Instead of creating the receivers in the receiver determination manually, you assign a mapping to the receiver determination and this returns a list of receivers at runtime.

A typical usage case is if you do not yet know the names of the receivers at configuration time. In this case, you can define a mapping program, for example, which reads a list of receivers from a table or from the payload of the message at runtime.

You can of course formulate conditions in a standard receiver determination that relate to the content of the message. However, you have to specify the names of the receivers (to which the message is sent under the formulated condition) explicitly in the receiver determination. If you create an enhanced receiver determination, you do not have to specify receiver names at this stage.

Integration

During the definition of the interface mapping, you assign the abstract message interface ReceiverDetermination as the target interface. The message interface ReceiverDetermination is in the Integration Repository in the software component SAP BASIS (namespace http://sap.com/xi/XI/System).

The message interface uses the message type Receivers and the data type Receivers. The data type Receivers describes a list of receivers and has the following structure:

The following instance of the data type Receivers contains two receivers. The first receiver comprises a party and service and is identified by a DUNS number; the second receiver comprises a service without a party.

<Receivers>

<Receiver>

<Party agency=u201C016u201C scheme=u201CDUNSu201C>123456789</Party>

<Service>MyService</Service>

</Receiver>

<Receiver>

<Party agency=u201Chttp://sap.com/xi/XIu201C scheme=u201CXIPartyu201C></Party>

<Service>ABC_200</Service>

</Receiver>

</Receivers>

You can specify party and service for each receiver.

Activities

...

1. Integration Repository: Define the interface mapping. Assign the message interface Receiver Determination as the target interface (see above).

2. Integration Repository: Define the message mapping or mapping program that is to determine the receivers at runtime. Assign the message mapping or mapping program to the interface mapping.

3. Integration Directory: Define an (enhanced) receiver determination.

○ Enter the outbound interface of the interface mapping from step 1 in the key of the receiver determination as the outbound interface.

○ Assign the interface mapping created in step 1 to the receiver determination.

Answers (0)