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

Similar Messages

  • Use of distribution model

    Hi ,
    Is distribution model necessary while sending Idocs to other system ?
    Regards,
    Pradeep

    Hi Pradeep,
         Well sumone has already correctly replied that Destribution model determines the inrested receipient for perticular message, if u see while creating DM you need to specify the logical system of partners exchangin data along with the messages that would be exchanged and then the partner profiles that you generate with those logical system names specify the detailed info as in which structure (basic type/extension) to be used , wht port/prcoess code to be used
    So distribution model jst gives high level info as in wht type of data is exchanged between which pair of partners.. n partner profile gives details of various technical objects to be used..
    I would also like to make note that maintaining a DM in sending system is a MUST as in the ALE layer 1st thing done is receiver determination for which DM is used so if u do not make a DM well ur communication IDoc will not be created.. that is no IDoc will be sent outside.. in this holds true even if u r using custom IDocs
    Regards
    Ashwinee Mali

  • Need of distribution model in IDOC triggering

    Hi,
    I have one question dat is it necessary to maintain distibution model in BD64 for outbound IDOCs or only maintaining partner profile in WE20 is mandatory.
    I have seen some cases in which distribution model is not maintained.
    Please let me know the cases in which we maintain distribution model
    Thanks in advance.

    hi,
    The distribution model describes the ALE message flow between logical systems u2013 that is, it determines which messages are distributed to which logical systems.
    For example, you can make distribution dependent on conditions that you define as filters in the ALE distribution model.
    please refer this blogs for more info:
    Data Ditribution Model BD64 config
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a610f507d11d18ee90000e8366fc2/frameset.htm
    thanks ,

  • Problem with IDoc filtering in the distribution model

    Hello Experts,
    We are using a distribution model in which we have set filters as like the following
    Filter Group 1
               Plant : XYZ
               Sales Org: SAP1
    As far as the documentation says this Condition should work with AND logic between Plant and Sales Org
    (i.e ~ Plant XYZ and  SO SAP1 ) but the IDoc gets created even if any one of the condition is met(looks like working in OR logic).
    How to achieve the AND filtering between the different objects.
    Would appreciate your kind help.
    Thanks in advance.
    RGds,
    Vasanth.

    > Jakub ~ Yes I checked the generated IDocs(classified pertaining to my Model)for my model alone and that's where we are facing this problem
    So that's the filtering problem.
    I would check in which segments are the "filtering objects" located (BD59) and whether it is a mandatory segment. If it is a mandatory segment - IDoc should not be created. If it is an optional segment - this segment and its subsegmets will be filtered out - but IDoc will be created.
    > ~ Do we need to apply some SAP Notes to avoid this problem ?
    >  But why the filter should behave in OR fashion ? I do not understand.
    I believe that Sachin meant that the logic is:
    Filter Group1 OR Filter Group 2 OR ... Filter Group N
    Filter Group 1 Object 1 AND Filter Group 1 Object 1 ... AND Filter Group 1 Object M
    Filter Group 1 Object 1 Value 1 OR Filter Group 1 Object 1 Value 2 OR ... Filter Group 1 Object 1 Value L
    regards,
    Jakub

  • IDOCs Distribution Model: filter whitout Filter group

    Hi guys!
    In my IDOCs distribution model of IDOCs with Message Type "Z", when i try to add a Filter, in the popup dialog to enter the Filter group i canot see nothing...only a line with a "Dependent on class membership:  Requires classes to be defined in the sending system"
    but not show the expected fields like  Sales organization, or  the Account group
    ¿this is a custonizing problem?
    Best Regards,
    Antonio

    Hi,
    First, create ALE Filter objects via BD95 (if they do not exist yet)
    Secondly, assign ALE Filter objects to your message type for the appropriate segment: BD59
    Then, run bd64 ...
    Regards,
    Jakub

  • 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.

  • Distribution Modul in IDoc

    what is the mean of distribution model in Idoc BD64 , what is is use? please explain in detail.

    Dear,
    Check: BD64
    The Distribution Model defines the message type of data to be exchanged. Create a Distribution Model between SAP R/3 and SAP XI with transaction BD64. Add DEBMAS, ORDERS and PAYEXT IDoc message types. To create a Distribution Model:
    1.Enter transaction BD64 in the SAP command field and click Enter.
    2.Select the SAP R/3 System (U47CLNT800).
    3.Click Add message type.
    4.Enter the message type data for communication from SAP R/3 to SAP XI: Sender R/3, Receiver XI, Message type Debmas, Orders, Payext.
    5.Save.
    6.Enter the message type data for communication from SAP XI to SAP R/3: Sender XI, Receiver R/3, Message type Debmas.
    7.Save.
    http://wiki.sdn.sap.com/wiki/display/A/OutboundIdocsby+ALE
    http://searchsap.techtarget.com/generic/0,295582,sid21_gci1130337,00.html
    Regards,
    Syed Hussain.

  • Graphic Mapping:IDOC to File-Avoid Error in Adapter Engine

    Hi all,
    I'm using Graphic Mapping in my IDOC to File scenario in which each segment in source IDOC will generate a ROW in target File with the condition: DATBI >= currentdate (and some other conditions)
    I have a UDF and use the mapping function CREATEIF for this purpose:
                                 DATBI -> UDF -> CREATEIF -> ROW
    Problem scenario: In the source IDOC if all the segments have DATBI < currentdate then there is no ROW created, and I get the error in Adapter Engine
    Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure ...
    How can I avoid this?
    I've tried to put this condition using XPATH in Interface Determination and got the error.
    There is a way to use function current-date() in XPATH condition?
    Thanks for your help,
    Elaine

    Hi all,
    How can I "suppress the row node if condition fails"? I'm new in PI, so please give more details.
    My FCC as follows:
    Record Structure: Record, Row
    Row.addHeaderLine 0
    Row.fieldSeparator ,
    Record.fieldSeparator 'nl'
    Row.endSeparator ; 'nl'
    It works fine if the condition satisfied.
    In Message Mapping, I've use Test to double check my mapping, and in the scenario that conditions fails, there is no Row in the target message.
    Please advise.
    Thanks,
    Elaine

  • Is Mapping Lookup table possible with IDOC to FIle scenario

    Hi all,
    Need suggestion, I am using SP16
    My sceanrio is IDOC to FIles, and have to use a Mapping Lookup tables for some of the fields within the mapping...
    'Crossref:  PlantLoc_to_WhseComDiv.  Value mapping lookup to take two fields from SAP and convert to WMS 3-digit value'
    How to go with this, since i have checked in SAP library that it is for only RFC,JDBC,SOAP adapters ...
    Need u r valuable inputs,
    Regards,
    sridhar

    You can use RFC or SOAP or JDBC lookup in your mapping.Why not?..It does not mean that we use the lookups only in RFC secnarios.You can use them in any scenario.

  • Distribution model

    hi,
    in the ale interface, why some processes no distribution model and some need distribution model?
    for example of processes no distribution model:
    billing from sender system to create vendor invoice in receiver system using invoic message type.
    or create purchase order in receiving system or any other processes.
    they make use of partner profile to post/send immediately/backgrd.
    wish to have advice.
    thanks
    rgds

    Hi,
    Could you please explain your query correctly?
    Generally speaking the Distribution Model determines which messages are distributed to which logical systems. If you say like, there are two systems exchanging business between each other, then there has to be BAPI-based distribution of data between them. And one more common feature we can observe under the Distribution Model is that it is meant to find out the number of recipients willing to receive the business documents.
    For ex: Let us consider your example: Billing from Sender System to create the vendor invoice in the receiving system using INVOICE message type.
    Under this process, there could be multiple receivers who would be looking for Billing documents, but for some of the recipients it is filtered with message type INVOICE and for some, it is filtered with some other message type. Or they might not be needing the receipt of the message type.
    The use of Distribution Model is all requirement dependent.
    Regards,
    -Syed.

  • R/3 to XI (Idoc to File): Do we need to maintain distribution model in R/3?

    Hi All,
    I have a very basic question regarding Distribution model.
    My scenario is IDOC-->File ( SAP R/3 --> XI). So all I am trying to do is send the IDOC frrom R/3 to XI. ( Within XI I am going to do an FTP to the 3rd party file server)
    I have created a distribution model, but was wondering if I really need to create one as message is going from R/3 to XI and not from R/3 to another R/3.
    Please help let me know If I need to distribute this model to XI or to SAP production sytem or I do not need to duistribute at all for this scenario.
    Thanks
    Shirin

    Hi,
      if you create partner profiles and port via t.code.
      i hope, it's not required to maintain Distribution model.
      please check the below points.
    Configuration Steps for Idoc to File Scenario.
    This is complete step by step document for configuring the idoc to file scenario along with ALE Settings
    To Configure the IDOC TO FILE SCENARIO, SETTINGS IN SAP-XI
    STEP 1:ALE SETTINGS IN SAP-XI
    We need to do the following settings in XI
    1) Create an RFC Destination to the Sending System in transaction code (SM59)
    a) Choose create
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#
    e) Enter the Gateway host as same details above SID/URL
    f) Gateway service is 3300+system number#
    g) In the Logon /Security tab, enter the client user & Password details of Destination system
    h) Test the connection and remote logon.Both should be succesful
    2) Create Port Using Transaction Code IDX1
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client
    d) Enter the RFC Destination created in SAP R/3 towards other system
    e) Save
    3) Load Meta Data for IDOC Using transaction Using Transaction (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1
    SETTINGS IN SAP R/3
    We need to do the following settings in R/3
    Logon to Sap R/3 System
    1) ALE SETTINGS TO POST IDOC OUT OF SAP-R/3 ***********************************************************************
    a) Create RFC Destination using T.code in SM59.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#
    e) Enter the Gateway host as same details above SID/URL
    f) Gateway service is 3300+system number#
    g) In the Logon /Security tab, enter the client user & Password details of Destination system
    h) Test the connection and remote logon.Both must be succesful
    2) Create communication Port for Idoc processing Using Transaction(We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile with Outbound Parameters (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang
    Then Save
    e) Select Partner no. and LS which were create above
    f) Now we have to give some Outbound Parameters.So click on ADD TO Create Outbound Parameter
    g) Select Message type
    h) Double click on Message Type and Then Enter the details for Receiving port, Pack size=1 and Basic type
    I) save
    4) In Transaction SALE, Create Logical System
    a). Go to Basic Settings-> First Define logical systems
    and then assign logical systems
    b) Double click on Define the logical systems
    c) Give data for your Logicaal System and Name
    d) Now click on Save.Here one window may appear just click on Continue.Now the Logical System name is ready
    e) Assign the logical system name to the client
    5) Create Customer Distribution model in the transaction code BD64
    1) Click on the Create modal View button and enter the short text, Technical name etc as shown below
    2) Now select the created model view and click on Add message type button .A pop up box appears, enter Sending system, receiving system and message type
    3) Save the Distribution model
    Generate Partner Profiles
    Click on Menu Item u2018Generate Partner Profilesu2019
    It leads to the next transaction where in the selection screen you have to provide Model view name, Partner System logical system and execute
    Then, you will be intimated about the partners, port creation, and outbound parameters creation
    4) Distribute Customer Distribution Model
    In the menu item GO to Edit->Modal View-> u2018Distributeu2019 to the destination client
    Popup window appears ,press Enter
    You will be intimated about the the Modal View Distributed
    warm regards
    mahesh.

  • 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

  • Specific IDoc + Distribution Model = pb of filter

    Hi,
    I created a Message Type "ZHRMD_A" and an extension "ZEXT", and I use the standard IDoc type HRMD_A06. Thus my Idoc is: <b>ZRMD_A</b>.HRMD_A06.ZEXT
    All work fine: my ECC send correctly this idoc with the good values...
    But my problem is inside the <b>Distribution Model</b> (BD64): I haven't the line "Data filter active" under my Message Type ZHRMD_A, so <b>I cannot add filter</b> !
    Can I add filter on a specific Message Type?
    if yes, how?
    any idea is welcome.
    Regards
    Mickael

    Hi,
    u can use the tcode- BD56 for segment filtering.Also check for BD95.
    Regards,
    Nagaraj
    Message was edited by:
            nagaraj kumar nishtala

  • Error in IDOC Distribution Model

    HI all ;
    Please Help me in this Issue!!
    am  working with standard IDOC  Using MATMAS (Material Master Transfer)
    LS_800 - Outbound.
    LR_810 - Inbound.
    --> BD54.
    --> SCC4.
    -->SM59.
    -->WE21.
    -->WE20.
    --> WE20 ( in inbound side) Clear Up to this level.
    After that the Problem in Distributing the Model,,,,
    In Bd64 t-code Distribution Model.
    while Generating the Partner Profiles in BD64 ;
    its giving the blank message like below.
    No message has been defined for the selection conditions in the model.
    when we distribute(in BD64) 2 Errors (red) Like Below;
    RFC destination for Syncronous Communication (Message type SYNCH)
    Partner Profile LS LR_810 SYNCH does Not Exits.
    Generate Partner Profile.
    or Specify outbound partner Profile for message type SYNCH
    RFC destination for Syncronous Communication (Message type SYNCH)
    Partner Profile LS LS_810 SYNCH does Not Exits
    Generate Partner Profile.
    or Specify outbound partner Profile for message type SYNCH
    Thannks;
    Upender.

    In Bd64 t-code Distribution Model.
    create the model view ,
    add message type Matmas to it.
    -> select the model view
    ->environment-> generate partner profiles
    In Partner Profiles u hv to maintain the Outbound parameters in Both LS_800 &
    LR_810 .
    in receiver port, double click & make sure that the rfc destination assigned connects successfully..
    Regards.

  • How to transport the distribution model from devlopment to quality in idocs

    Hi ,
    I am developing settings for idocs for the basic idoc type 'MATMAS03'.
    By using SM59 , I gave the connections of two logical systems.
    I created the distribution model by using BD64. when I generate the partner profiles , automatically, port and partner profiles are created.
    How to transport from DEV to QUALITY of RFC connections, Distribution model and automatically generate partner profils and port ?
    Plz give me the answer in broad way
    Regards
    NTR

    hi,
    Refer to this link...
    how to transport distribution model

Maybe you are looking for

  • My ipod nano (4th Generation) will not turn on

    I just got my ipod 3 months ago and its been working fine until today. The only reason I can think of is- ok my mistake- I was in my hot tub and I had my ipod on the IHOME (I believe that is what you call it)...... and I might just splash a little. T

  • Headphones not working - HP Laptop GB, 64-Bit based operating sys. AMD A-6 HD Graphics, 2.7 GHz

    I cannot get my headphones to work.  I made them my default and have tried all the the HP fixes.  Everything say "working properly".  My computer sound works ,but headphones will not work.  I had wireless headphones and they work off and on.  Not wor

  • After re-installtion of Windows 7 Ulitmate, problems with the re-installtion of Adobe

    Why can not I install my Adobe X Pro, existing Lizence for 9 and Upgrade 10, the CDs are still available. CD installtion and also Download didnot function

  • REQUISITION SERVICES CHANGE

    Hi all, How can I change services data in a purchase requisition ? I have tried with BAPI_REQUISITION_CHANGE but it doesn't provide this kind of change. It hasn't "services" in tables parameter like BAPI_REQUISITION_CREATE and BAPI_REQUISITION_GETDET

  • IPod video won't turn off

    I have only had my 30G Video iPod since November and i have taken really godo care of it. Suddenly i take it out charge in my computer, eject and it won't turn off. If i hold pause or wait, it simply wont turn off, but everything elese works. Any adv