cancel
Showing results for 
Search instead for 
Did you mean: 

1 sender: 4 receivers

Former Member
0 Kudos

I have a scenario..with 4 receivers.

SAP is the sender

BI(XML),SAP AII(XML),one legacy system for which i ned 2 interfaces(2 receiver JMS adapters) ..

how to go ahead with thi...can some one explain the steps

View Entire Topic
Former Member
0 Kudos

hi,

I had a similar scenario in my project but was 1 sender: 2 receiver. But you can apply the same theory.

Basically you have to use the Enhanced receiver determination

In your case Use 4 business service

You will need 4 Interface Determination and 4 sender agreement

You will have only 1 receiver determination and here you need to select extended and select the Interface for which ReceiverDetermination is implemented (5th).

Mapping for the enhanced receiver determination as below

Choose your source and target as ReceiverDetermination from http://sap.com/xi/XI/System namespace

in the target to the Service Node return your business service. You may test hard coded values (but use value mapping).

Hope it works

Regards

Unni

Former Member
0 Kudos

Hi Unnikrishnan,

Thanks for ur inputs..

Here i am using business systems...if so how many communication channls should be used.

you said,

Mapping for the enhanced receiver determination as below

i didnt get this....please guide me...

Former Member
0 Kudos

Hey

For receiver side,you need 1 receiver determination,in that add 4 lines and give business system names of all the 4 receiver system,then create interface determination for each of these receiver,so you will have 4 interface determination and also create 4 receiver agreement,one for each receiver system,hence you will have 4 receiver communication channel.

On sender side you will have either 1 sender communication channel(if you have async RFC or XML file as sender from SAP) or No sender communication channel(if you have IDOC or Proxy as sender)

Thanx

Aamir

Former Member
0 Kudos

Hay Amir,

u mean to say 4 Communication channel right..?

Former Member
0 Kudos

Yes,since you have 4 receivers,so 4 communication channels.Each of these communication channels will have separate Receiver agreement as well(so 4 receiver agreement too)

Thanx

Aamir

Former Member
0 Kudos

Hi PSRK,

You need 4 channels as there are 4 receiver.

For enhanced recever determination:

In the IR

You need

1 message mapping

1 Interface mapping

for your messsage mapping

choose source MT and the target is one from the business content. In the SAP_BASIS -> http://sap.com/xi/XI/System -> Interface Objects -> Message Type, select ReceiverDetermination

Map the root structure(source) to receiver node (target)

In the target node you will see a "Service" node

use a UDF for return the list of business service (all 4)

Sample code as below

findService(ResultList result,Container container){

result.addValue("BS_EMERG");

result.addValue("BS_REG");

}

Do the interface mapping for the above MM

choose this IM in teh enhanced receiver determination

Let me know if you have further queries.

Regards

Unni