Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: Distribution model

Former Member
0 Kudos

Hi All,

We have an IDoc exchange scenario like this:

1) We will receive a MBGMCR01 Idoc from a third party system into SAP system A. The same IDoc has to be dispatched to following SAP systems B1, B2, B3,...B10.

2) In system A, the target system B(n) for the incoming IDoc MBGMCR01 must be decided based on the purchase org value coming in the IDoc.

Question on part1: Can we use distribution model for the above scenario? Links for sample tutorials on creation of Distribution model would be highly helpful.

Question on part2: How can we do such a design using Distribution model? Can filters be useful?

thanks in advance.

Vish.

2 REPLIES 2

Former Member
0 Kudos

Hi Vishwanath,

Yes, you can use the distribution model. Just go through the following steps to create the distribution model.

1. Go to change mode in transaction BD64 and click on u201CCreate Model Viewu201D from the Application tool bar. Give a Short text, Technical Name for the model. The Start date by default would be current date and the end date would be 31.12.9999. Just click on u201CContinueu201D.

2. Select the model just created, and click on, u201CAdd message typeu201D from the application tool bar and give the sender, receiver and message type details.

3. In order that the distribution model maintained in the sender would be visible at the receiver, select the model view just created and from the menu bar, choose, Edit -> Model view -> Distribute.

4. Just click on continue, which will then give you the log of the distribution. You can check here if the model view was created successfully in the target system.

To design the Idoc distribution based on the purchase org, maintain filters. Drill down the model view newly created deep until you find the text, "No filter set". Click on it and create a filter group. Add purchase orgs to it.

~ Bineah.