Distribution Model for PP-PDC

Hi Guys,
I'm new to this and I'm trying to find out, how I can create a filter for a "Subsystem Grouping" based on Work Centers.
I've already assigned a subsystem group to all work center belong to a single plant.
I'm trying to setup the distribution model to send IDOCs to an external system
I've added a BAPI with details as follows:
Model Name:                  XXXXX_LS
Sender:                          XXXXX
Receiver:                        XXXXXX  
Obj. Name / Interface:     RCVPRORDCF
Method:                          ReceiveProdOrder
I've also assigned all Work center from 1 plant into the same Subsystem Group in CR02 ->Subsystem Link -> Subsystem Group = 301
How can I create a filter to filter by the subsystem group for the work center, to download only those production orders based on this?
Or, is there another way that I can filter by plant?
Thanks a lot for the help guys

1. Go to Tcode BD59.
2. Create a Custom ALE Object Type
3. Specify the corresponding Segment name where BUKRS exists and the Field Name as BUKRS.

Similar Messages

  • File2idoc:Error in ALE distribution model for SendResponse

    Hi,
    I'm using XI to configure a file to idoc scenario.
    Now in WE19 I could see relevant data,but in WE05 it showed the error status 51,and the detail message was "Error in ALE distribution model for SendResponse".
    Do I have to create a distribution model in BD64?I did this ,but failed to create.

    hi,
    i dont think distribution model  is required for inbound case.
    just check the below configuration.
    File To IDOC - Part1 (SLD and Design):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    File To IDOC - Part2 (Configuration):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    File To IDOC - Part3 (Steps required in XI and R3):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
    chirag

  • Maintaining distribution model for ALE audit.

    hi,
    I have to create a bcakground job in the receiver system to periodically send back the audit data to the sender system. To do the same i need to maintain a distribution model for ALe audit. For doing so i don't have the modal view XIDEMO in BD64. How to implement. Also in SM59 while maintaing RFC destination it says U6D_700 no longer exists. Please suggest how to get it resolved.
    Regards
    Akash SInha
    Edited by: Akash Sinha on Dec 16, 2009 9:59 AM

    Hello,
    You can create your own model view in BD64. In the model view add message type ALEAUD with sender as your system name and logical system of your reciever.
    Also configure the Partner profile in WE20, with outbound parameter ALEAUD and IDoc Type ALEAUD01.
    Schedule the program RBDSTATE with the required parameters.
    BR/Yogesh

  • Distribution Model for the Message

    want to create a filter for my Distribution Model for the Message Type HRMD_A .
    The filtering should be based on Company Code .
    I'm getting only infotypes but now should I filter based on Field BUKRS ?

    1. Go to Tcode BD59.
    2. Create a Custom ALE Object Type
    3. Specify the corresponding Segment name where BUKRS exists and the Field Name as BUKRS.

  • "Customer" BAPI in Distribution Model for Training and Events

    We have an HR box with Training and Events - When booking an attendee on a course, you can select the "contact person" tab. Our SD box is separate from HR, so all the contact persons are maintained there. Is it possible to use the "Customer" BAPI in a distribution model so that when we search in the HR box for a contact person, it actually fetches the data from the SD box?
    I remember reading up on this a while back but I can't find the documentation I had back then...
    I know that in BD64 I can create a distribution model, and if I remember correctly, i should be able to "Add BAPI" and use object type "Customer" - Then add all the methods that I need... (like Find, List, Search etc) In essence, once this model has been distributed to the other system, if I go to transaction XD03 in the HR box, I should be able to display customer master details that only exist on the SD box - Is that correct?
    Please help as I am not able to get this to work...

    Ok I figured it out...
    I have created a distribution model with the HR system as the source, and the SD system as the target.
    In change mode, click the "Add BAPI" button and choose object BusPartnerEmployee, method CheckExistence
    Do the same for the following:
    BusPartnerEmployee.Display
    BusPartnerEmployee.GetList
    Customer.CheckExistence
    Customer.Display
    Customer.ExistenceCheck
    Customer.Find
    Customer.GetContactList
    Customer.GetDetail2
    Customer.GetInternalNumber
    Customer.GetList
    Customer.GetSalesAreas
    Customer.Search1
    Ok so I know that this might be a little over-kill, especially all the Customer methods that I added, but it works

  • Disable ssn field in distribution model for e-recruiting

    We are running e-Recruiting 3.0 as a stand alone, and moving HR master data using ALE.  The only problem is that the client does not want to have SSN in the e-Recruiting system.  Is it possible to filter out SSN within the distribution model, if not where is it stored in e-Recruit so we can mask it after it is moved over.
    Thanks,
    Alex

    Hi Alex:
    Follow this path in IMG path
    SAP Netweaver --> Application Server  -->IDoc Interface/ALE --> Modelling and implementing Business processes --> Converting data between sender and receiver
    Follow the steps there and you can do it.
    Please award points if Helpful.
    Thanks
    Venkat

  • Problem with distribution model receiver ports

    Hi,
    I am facing a problem with distribution model.
    I am using Distribution model for material classification data. I am sending my classification data using CLFMAS message type to one of the receiver. Again another person also sending classification data to another receiver.
    But both objects will run at different times.
    Problem is for every run and every change it is creating 2 idocs instead of 1 idoc.
    I am able to create an IDOC with my changes for classifications. But it is creating 2 idocu2019s instead of creating 1 idoc. Because of there is another distribution model with same message type with different receiver port has been configured. I.e. reason it is creating 2 idocu2019s and sending to both the revivers.
    When I run my changes It needs to create 1 idoc and send to my receiver port. If another person run his job it needs to create another idoc.
    So how will I filter distribution model based on receiver port? it needs to create only 1 IDOC ..

    Hi kotesh,
    A similar issue.
    check if this will help.
    Do the following:
    Go to TOOLS>ALE Development>IDoc Type Development> WE81 and create a new message type and give it a different name - say ORDERS2. Use WE82 to link it to an IDoc Type - say ORDERS05. So now you will have two message types linked to the same IDoc type. Each message type can now be referred in different logical systems without any clashes.
    Now you can use BD64 to build your model using message types ORDERS and ORDERS2 without getting the multiple recepient error message.
    Then use WE20 to set up each partner profile using your defined output conditions in message control to trigger the creation of the IDoc. Now you will beable to send the same Idoc type to different recepients.
    source:http://sap.ittoolbox.com/groups/technical-functional/sap-interfaces/sap-distribution-model-3008763
    Regards,
    SuryaD.

  • Use of Distribution model in Idoc to file

    Hey guys
    just outta curiosity,why do we need to create distribution model for IDOC to file scenario,we can ofcourse do the scenario without creating Distribution model (by using WE19 to send IDOC's).
    is it because for day to day transactions we wont go for WE19(its just for test purposes),we rely on Distribution model?
    also is it job of XI developer to create DM ?
    thanx
    ahmad

    Ahmad,
    BD 64 Distribution model allowed you to automatically create the Logical Systems ( BD54 ) and the partner profiles.
    The steps you create to send an Idoc from your R3 system to XI ,( Bd54, we20 ) etc are all nothing but steps in the Distribution Model Bd 64 to send an Idoc to XI,
    Regards
    Bhavesh

  • Generate Distribution Model ERP = EWM

    HI
    I am performing Generate Distribution Model ERP => EWM for new WH. Getting below error message.
    Method BUS2015.SAVEREPLICA exists in model view WMS
    Message no. BDDISTMODEL051
    Please Help to resolve as early
    Rgds
    Dinesh.P

    Hi Dinesh,
    When you are trying to Generate Distribution Model for your warehouse that time there are three fields one of those is your ERP warehouse number and Second is Logical System of EWM and third one is Distribution Model view. You might have entered a wrong model view name and then you tried to execute, system is giving you error that ".... method exists in model view WMS" that means you need to enter WMS model view in third field and then execute with radio button selected CREATE ENTRIES along with BOTH radio button selected.
    Thanks and regards
    Anoop Singh

  • Distribution system for logical system not correctly maintained

    Im logged in into SAP R/3 system. When starting transaction POIT I chose "production orders for".
    I fill in the fields for
    Plant -> 001
    Material -> T-HV200 (Ice Mix)
    At the top I have to enter a "optimization system".
    I chose the logical system I created (CE6CLNT850) from a list.
    After I hit the execute button it says:
    "Distribution system for logical system CE6CLNT850 not correctly maintained."
    The distribution model for CE6CLNT850 (transaction: BD64) looks like this:
    Componentsystem CE6 SAP R/3 4.6c----
    CE6CLNT850
         NX7CLNT800----
    NX7CLNT800,No Short text exists
               LOIPRO----
    Production order
    What is the problem here?
    And by the way, WHY DO I HAVE 479 entries in my list of logical systems when I'm trying to chose the "optimization system"???
    best regards,
    Lunatikk

    Thanks for your answer,
    the RFC destination is configured correctly. It says that the connection works when I run the test.
    I'll post it in an other forum as you suggested but I have another question:
    You said that it is possible to have 474 logical systems configured on the system.
    1. Who defined those systems and why?
    I am the first one in my company using this system.
    We ordered to a SAP system through RAC Service.
    I thought we would get a "fresh installation" of the SAP system -
    2. please correct me if I'm wrong.
    For example there are logical systems with names like "boon software" and "camstar", which are real companies.
    There aren't just logical systems configured, there are also additional RFC destinations, distribution models and ports that were there from the beginning.
    3. Is it possible that those logical systems interfere with the sending of the IDOC. Could it be possible?

  • Reg: Distribution model

    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.

    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.

  • Inbound idoc- distribution model

    Hi,
        Is it mandatory to create distribution model for inbound idoc processing?

    Hi all,
            Mine is inbound scenario.
            Sender is XI system
            Receiver is R/3 system.
            Do i need to maintain distribution model for this?
    1.As per my knowledge, distribution model is only created in outbound scenario? In inbound scenario why distribution model is not created?
    2.On the outbound side, after generating partner profiles we get SYNCH SYNCHRON in outbound partner profile. My question is there any setting to generate partner profiles on inbound side also?
    or else SYNCH SYNCHRON will be for only outboud?
    Please clarify........

  • How to create a data filter for BAPI used in a Distribution Model ?

    I am trying to create IDOC's for a QM inspection plan via message type QPMK in ECC 6.0. When creating the new message type in the Distribution Model, it forced me to use a BAPI (MasterInspectionChar) rather that just the message as I have done in the past. In order to ensure that only IDOC's related to a specific plant and material type get sent out, I was trying to create a filter.
    I am able to get into a 'Change Filter' dialog by double clicking 'No data filter set' under the node 'MasterInspectionChar.SaveReplica'. However, an attempt to highlight anything on this dialog and clicking button 'Create filter group' results in msg. 'Select node: Content-dependent parameter filtering'.
    Online help led me in a different direction, one thread led me to believe I needed to create a table entry for the filter in table TBD16 via BD81 for later attachment to the BAPI in the Distribution Model. Before this, I created two Z* ALE Object Type records for plant and material type in table TBD11 via BD95 for what I thought would provide a lookup back in BD81 for creation of a new filter record, but these objects are not found. Per the help, I am also unclear as to whether I would need to set up Receiver determination or Parameter filtering, nor where to make this step in the configuration happen?
    Can anyone point me back in the correct direction to get a data filter set up for this BAPI within the Distribution Model ?
    Thanks - Mike

    Just to clarify, what I am having trouble with is finding where exactly to plug in the name of the plant to be filtered? If using a message type such as MATMAS in a distribution model, it is very straight forward to navigate down from the 'Data filter active', and assign a value to whatever field you wish to filter via the 'List of Values'.  But in this example, message type QPMK required use of the BAPI MasterInspectionChar, and therefore the different method in creating the filter. 
    I cannot find similar functionality when navigating the BAPI related row, for MasterInspectionChar. The 'Change Filter' dialog popup displays a row for 'Container' and then 3 more rows containing 'BAPI structure...'.   Clicking the 'Attribute' checkbox on any of these rows sets 'Data filter active' as a node under the BAPI.  Double clicking the 'Data filter active' brings me back into the same dialog, and selecting any row with an attempt at this point to create a filter results in the 'Select node: content-dependent parameter filtering' warning.  Is this warning occuring because of missing configuration?
    Thanks - Mike

  • Change log for Distribution model and partner profile

    Hello All,
    Could any one please suggest how to get teh change log of the distribution model and partner profiles in SAP.
    Thank you!
    Arvind

    Hello,
    The documentation says what distribution model is used for. My question is can we have change log for any change in the distribution model like user, time and date.
    In production system if distribution model and partner profiles are changed by someone to a destination which should not be used, then how can we trace who has changed it.
    I hope I am able to explain.
    Arvind

  • Distribution model required for LS to KU ?

    Hi Guys,
    In BD64 we can create distribution model ONLY with LS to LS.
    So iscenario like LS to KU  system is not allowing to create Distribution Mode because the recepient is KU (not LS).
    So how does the system(MSTER_IDOC_DISTRIBUTE) will determine who is the recepient? Is it from partner profile only???
    If it is yes then distribution model is not required at all for LS to KU scenario??
    Your comments pls.....
    Thanks & regards,
    Biswajit Ganguly.

    I found by myself that ...no dist model req for KU...
    Cheers,
    Biswajit.

Maybe you are looking for