cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to multiple receivers

former_member182455
Active Contributor
0 Kudos

Hi All,

I have IDOC in sender side and I want to send the IDOC to multiple receivers,Give me a brief details.

Thanks in Advance

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi

-


IDOCs (Multiple Types) Collection in BPM

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2034Regards [original link is broken] [original link is broken] [original link is broken]

Regards

Answers (7)

Answers (7)

former_member182455
Active Contributor
0 Kudos

hi all,

thanks........

aashish_sinha
Active Contributor
0 Kudos

Hi,

Yes you can send it. Suppose you are sending IDOC MATMAS.MATMAS03 to multiple receivers.

You have two ways:

1. Inside ID, use your previous Scenario:

=> after that, you will have 1 scenario...

1.1 Create a new Business Process (BPM_2)

1.2 Inside your existing Receiver Determination, add your new BPM_2 as a receiver (use righ-click + "insert above").

1.3 with your triplet "Sender_name + Sender_interface + BPM_2", create your Interface Determination

1.4 As receiver is a BPM, Receiver Agreement is not needed.

Then, you need to configure the step "BPM_2 -> Receiver_2"

1.5 Create a Receiver Determination between your BPM_2 (sender) and your receiver_2.

1.6 create your Interface Determination

1.7 create your Receiver Agreement (receiver adapter)

2. Inside ID, use a new Scenario:

=> after that, you will have 2 scenarios which use the SAME Receiver Determination "Matmas -> Receiver_1 + BPM_2"

2.1 create a new Scenario

2.2 ADD to this scenario your existing Receiver Determination ("Matmas -> Receiver_1").

2.2 do the same steps than "1.1 -> 1.7"

At the end, you will have:

code

Matmas --> | Receiver_1 => File_1 with single Idoc

| BPM_2

BPM_2 --> Receiver_2 => File_2 with collected IDocs

[/code]

Regards

Aashish Sinha

Former Member
0 Kudos

hi

import the idoc to the external defination

In IR:

no need to create the data type and message type

just create a message interface

message mapping

interface mapping

In ID

create sender channel

create receiver channel

interface determination

receiver deternination

sender and receiver agreement

in your application there are multiple receiver

create the multiple receiver in the receiver channel

I hope its helpful for you

thanks and Regards

vijay *

Former Member
0 Kudos

Hey,

Your scenario seems to be 1:N

Import your Idoc in the Source of mapping.

In mapping go to the message tab and select the different receivers structure in it.

Similarly, 1 source and N targets in the Interface mapping.

You have to use enhanced interface Determination as you have more then one reciever.

For Enhanced interface determination refer to te following blog.

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

rewards points if useful

regards,

Milan

former_member537867
Active Contributor
0 Kudos

Hi Srinivas,

Plz do refer the following links it may help u :

/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi

/people/sap.user72/blog/2006/02/13/displaying-long-text-messages-in-business-server-pages-ii

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Go thru this SAP Help-

http://help.sap.com/saphelp_nw2004s/helpdata/en/4f/ef761a5ecfb1418b79896e10fe4c57/content.htm

Do the multi mapping and then use enhance interface determination

http://help.sap.com/saphelp_nw2004s/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/frameset.htm

If u r using SP15:

Here it goes-

1) Create one Source Message Type

2) Create N number of Message Types for Target side

3) Create a Message Mapping- While Creating Mapping- Go to Messages Tab->Go to Target Message Type-> Add your N number Message Types over there

Then, u can see 1 message in the SOurce side and N(2) number of messages in the Target side. Then do the mapping.

4) Create the Interface mapping-Here your target Interfae will have "N number of Message Interfaces" for each N message Types. Use the 1:N Mapping done as before.

Now go ahead with other configuration. In Interface Determination select the RB_SPLIT/Extended option use this Interface Mapping over there. If multiple Receivers are required , then go with conditions.

If u dont want to use Multimapping & suppose if u r sending MATMAS idoc than procedure is as follows:

You have two ways:

1. Inside ID, use your previous Scenario:

=> after that, you will have 1 scenario...

1.1 Create a new Business Process (BPM_2)

1.2 Inside your existing Receiver Determination, add your new BPM_2 as a receiver (use righ-click + "insert above").

1.3 with your triplet "Sender_name + Sender_interface + BPM_2", create your Interface Determination

1.4 As receiver is a BPM, Receiver Agreement is not needed.

Then, you need to configure the step "BPM_2 -> Receiver_2"

1.5 Create a Receiver Determination between your BPM_2 (sender) and your receiver_2.

1.6 create your Interface Determination

1.7 create your Receiver Agreement (receiver adapter)

2. Inside ID, use a new Scenario:

=> after that, you will have 2 scenarios which use the SAME Receiver Determination "Matmas -> Receiver_1 + BPM_2"

2.1 create a new Scenario

2.2 ADD to this scenario your existing Receiver Determination ("Matmas -> Receiver_1").

2.2 do the same steps than "1.1 -> 1.7"

Regards,

Vinod.

Former Member
0 Kudos

Hi,

If you wish to send the IDOCs to multiple receivers then you just need to add multiple receivers in Receiver determination channel.

It will aalow you to send the same IDOC to many receivers simultaneously.

Thanks

swarup

Edited by: Swarup Sawant on Jun 18, 2008 7:13 AM

former_member194786
Active Contributor
0 Kudos

Hi Srinivas,

If you have the details of the recievers to which you have to send the IDOC you can use the Configured Recievers tab in the reciever determination. Provide the condition(if any), based upon which you need to send the IDOC. If no conditions, you can directly include your recievers.

If you need to determine the recievers dynamically, use enhanced reciever determination option.

Use this link for enhanced reciever determination:

http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm

Regards,

Sanjeev.

Edited by: Sanjeev Shekhar Singh on Jun 18, 2008 7:14 AM