Add a message type to a Distribution model dynamically (similar to BD64)

Hello,
I have a req. to add a message type to a dist. model at runtime & generate partner profiles for the same.
Are there any FM, Classes available which will help me in achieving this func.?
BR,
Suhas

Perhaps you need to re-think why you need to describe the process at one point as "Import" (from within the application) and at another as "Open" (in the Finder).
If it's "Import", that is, your application is *not* associated by default with the data, you could try and force it into the "Open With" list. I'm not sure how that would work out though, if there is no default 'open' action.
If it's "Open" you can use the standard way of associating document types with applications.

Similar Messages

  • How to setup message type in existing distribution model?

    hi,
    how to setup (add) message type in existing distribution model?
    thanks & regards
    Ruban

    Hi,
    Please try these ...
    1. Go to transaction BD64.
    2. Click on Change button (F9).
    3. Place the cursor to the corresponding model view.
    4. Click on Add  Message Type button (CTRL+F7).
    5. Enter the corresponding Sender, Receiver and Message Type then click on continue button.
    6. Click Save button (CTRL+S).
    Regards,
    Ferry Lianto

  • IDoc Error: No recipient found for IDoc message type in the ALE model...

    Hello Experts,
    I just created an IDoc for purchase orders and when I try to test it after releasing
    the PO, an error is shown in the processing log saying that there are no recipients
    found for my message type of the IDoc. I refrenced it against a working IDoc but I might be
    missing something.
    Hope you can help me guys. Thank you and take care!

    hi,
    in bd64 ,goto change mode select ur distribution model and click add message type define ur logical systems and message type and save.
    thn goto environment - partner profiles - f 8.it will show whether model is created or any errors.
    then go back edit - model view - distribute.
    reward points if hlpful.

  • Too many recipients found for message type in the ALE model

    Hello Friends,
                            Please help me in solving this error. I have a Outbound sales order confirmation ORDRSP  .
    In the distribution model i have defined the sender receiver and message type clearly...
    But  in va01  after creating sales order  extras ->Output->Hearder --->Edit
    Output type-- BA00
    medium --ALE
    Dispatch time : Send Immediately
    I am getting a error -
    Too many recipients found for message type ORDRSP in the ALE model
    Message no. B1130
    Diagnosis
    In the ALE distribution customer model several recipient systems for IDOCs with message type ORDRSP and filter object type 'KUNNR' with value '100' have been modeled from this system, but only one recipient system is allowed.
    Procedure
    Please change the ALE distribution customer model so that it allows only one recipient system for the message from this system.
    Please help me in solving this error.
    Regards,
    jeevan

    Hi Jeevan,
    In BD64, the said problem occurs, since the message type ORDRSP will be configured to different Logical System.
    Since you are creating sales orders & Output type, system doesnt knows, to which Logical system, it has to be sent since the Message type exists more than once.
    select Your respective Logical System where the Outbound Sales Order Confirmation ORDRSP has been created.
    Under the node ORDRSP, add the filter group for Customer.
    Double click the Filter group and add the respective Customer No.s to whom the Order confirmation needs to be sent.
    Then create Sales Order Confirmation & Output type. Data will be passed(IDoc) to the respective Customer(where the customer no.) exist in the filter.
    Hope it solves your Issues.
    Regards,
    Anbalagan.

  • Message types for ALE distribution

    Hi,
    I am working on SRM 7.0. I need to copy the org structure from one client to another. For that I am using the ALE distribution model. Can anyone please let me know all the message types reqired for transferring the org structure.
    Thanks,
    Bhakti

    Hi Masa,
    Thanks alot for your help. The document is quite helpful if the org structure had to be mapped from HR. But, the org structure is to be mapped from another existing ERP. Kindly suggest if there is any document for such a transfer.
    Also, I have found another way to transport the org structure. Hopefully that should work. Once I am done testing for the same, I will notify.
    Thanks,
    Bhakti

  • When to add message type to distribution model

    hi
    i am bit confused on when to add a custom/std message type to distribution model. what are the conditions. is that always necessary to add the message type to distribution model.
    thanks

    [http://sap.ittoolbox.com/groups/technical-functional/sap-interfaces/add-message-type-in-ale-distribution-model-1192885]
    [http://docs.sun.com/app/docs/doc/820-5014/ggcpd?a=view]
    [http://publib.boulder.ibm.com/infocenter/wtxdoc/v8r2m0/index.jsp?topic=/com.ibm.websphere.dtx.packsapxi.doc/tasks/t_pack_sapxi_Create_a_Destination_Model_BD64.htm]

  • Problem in Message Type in Distribution Model

    I am trying to add a message type to a Distribution view(TCODE BD64). I am doing this on the R3 side. So it is asking for Message Type and it looks like I can't just type anything in there. Actually I am just trying to implement the starter kit mentioned by Arpit Seth(/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit). File to RFC scenario. as simple as that. For that I am using RFC BAPI_COMPANY_GETDETAIL. Now tell what message type I need to use

    Hi Sonia,
    If you are in change mode.
    Then you need to create a model first.
    Once you create the model you can add Message Type, you need to specify the sender & receiver.
    Regards,
    Sumit

  • Distribution model. Create filters for custom message type.

    Hello,
    I have created a model view, and added a new message type (copy of HRMD_A). I want to add filters, but the system does not allow it. Do you know if I can only add filters to a standard message type, and not to a custom one?
    Thank you,
    Elena.

    Thanks for your answer, but I think I didn't explain my question well.
    I have created a message type ZHRMD_A, and a basic type ZHRMD_A07 (both copies of HRMD_A and HRMD_A07)
    I am creating the distribution model, in transaction BD64.
       I created the model view.
       I inserted my messsage type.
    Now I want to add filters to the message type in the distribution model. When I add a standard message type, I can see under the message type the text 'No filter set'. Then I double click this text, and I can add filters. When I add the custom message type, I don't see this text, and I have no option to add filters. That's why I think I cannot add filters to a custom message type.

  • 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

  • ALE with BAPI; No recipient found for message type

    We have to send sales activities from an ECC-system to CRM and tried to do this with message type SFADPSA and Idoc SFADPSA01.
    When adding this message type to the distribution model (transaction BD64) we got the SAP-message to use a BAPI instead:  IF1037SR with method RECEIVEPARTNERSALESACTIVITY. So we did.
    To trigger the Idoc, we customized an output type, with transmission medium ALE, program RSNASTED and processing ALE_PROCESSING.
    When processing the output type we get an error B1 129: "No recipient found for message type SFADPSA in the ALE model".
    Analysing the error I found out following: during processing (RSNASTED, ALE_PROCESSING) function module MMODEL_INT_VALID_GET is called. This FM only looks into table TBD05, in which no entry for message type SFADPSA is found.
    However, also function module BMODEL_INT_VALID_GET exist, searching table TBD06.
    This table does contain an entry for the above BAPI and method and would not lead to an error message.
    Obviously this last FM should be called, but this never happened...
    Has anyone a clue?
    Do we use the correct processing code?
    Another message type to use could be SFADSACTIVITY, but this message type has no Idoc type assigned.

    Hello Wolf,
    This error message come while determing the distribution channel.
    This error come from one of below includes. Can you please put a break point and swich update debugging on and check whether the program is populating reuqired parameters to determine the distribution model. by doing this you can understand what is going wrong....
    LBDMOU17
    PCHEAF01
    PCITEF01
    RBDSECOP
    RBDSEGLM
    if you are not able to check this let us know..
    Regards
    Naresh

  • Distribution Model (ALE) - Message type has to be deleted from model view

    Hello,
    I want to delete a message type from an existing model view in the distribution model (of the maintenance system).
    But when I mark the concerning message type and press Edit->Delete the message 'Action cannot be carried out on the nodes selected' occures. Deleting the complete model view would work...
    Does anyone know how I can get this without setting up a new model view?
    Many thanks in advance,
    Juergen

    hi,
    >>'Action cannot be carried out on the nodes selected'
    you get this message if you try to delete a message type
    from a model view that was not created on your system
    (it has been replicated and it's maintained on another system)
    so you can only delete this message type on the system that has
    "master" distribution model
    if it's not master then it's usually grey and you can only delete if it's black in change mode
    >Deleting the complete model view would work...
    if you try that you will see info that it's not the "master" system for this model
    check it and let me know
    Regards,
    Michal Krawczyk

  • Bind message type and process code

    Hi everyone,
    I want to bind one message type with two procee code,How can I do this?Thanks in advance!
    Best Regars,
    Yu

    Hi ,
          goto to transaction we41 if outbound process code ,go to respective process code or create ur own process code and add message type .
    goto to transaction we42 if inbound process code ,go to respective process code or create ur own process code and add message type .
    But when you add this message type in the partner profile or distribution model then i think it will give an option.
    Please reward if useful.

  • 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

  • Distribution Model Owner

    Hi,
    How do i find which system is the owner of the Distribution Model? As far as I know, that is the only system that can modify and distribute the model. Is that correct?
    Thanks,
    Vartika.

    Hi,
    I think the Sending System where you have to create the Modle View and Add the Message type & Generate Partner Profiles and Distribute
    The system(Sending System/Outbound System)  is the  Owner of this Model View
    so your thinking in a right way.
    Thanks & regards
    Sreeni

  • Find distribution model in source system and maintain filter in it

    I have an inbound idoc which is in status 51(error). The procedure shown by SAP is following:-
    It has been determined that the particular employee 11001189 has been received for the first time.
    Maintain the filter of the appropriate distribution model. To do this, call transaction BD64 in the source system.
    Add new  filter group to the data filter. Assign values to it.
    I cannot find the distribution model. Please somebody help me in finding the relevant distribution model in the source system.  One more thing, when I went to BD64 I found that some of the model views were in grey shade while others were in bold, please tell me why is it so.
    Please give me some hint.

    I have an inbound idoc which is in status 51(error). The procedure shown by SAP is following:-
    It has been determined that the particular employee 11001189 has been received for the first time.
    Maintain the filter of the appropriate distribution model. To do this, call transaction BD64 in the source system.
    Add new filter group to the data filter. Assign values to it.
    I cannot find the distribution model. Please somebody help me in finding the relevant distribution model in the source system.
    You never maintain Filters in receivin system those has to me in sender system. Also you
    need to distribute the Model from sender to receiver once you model is finalized thru menu
    option in sender system. Find the Models with HRMD_A as message type
    One more thing, when I went to BD64 I found that some of the model views were in grey shade
    while others were in bold, please tell me why is it so
    simple, If its greyed out then this model is maintained in some other system and is
    just distrinuted over to this system, you shuld not maintain the greyed out entries as Maintaince
    system is different. The non grey entires are those for which its same system in which the model
    is created

Maybe you are looking for