Multiple message types for an idoc type

Hi all,
I created one custom idoc type with six segments. I heard that one idoc type can have any number of message types
if it is so pls tell me how to assign these two message types for my idoc .
i want to create multiple message types because i want to send same idoc type to diff legacy systems.
My requirement is message type one is only for first three segments and message type two is for another three segments .
The outbound program 1 for mess type 1 should fill fill the data for only first three segments and second outbound program corresponding to mess type 2 should fill the data for last three segments
how should i design for my requirement. suppose if the idoc has two message types then it has two outbound programs?

Hi Kunal,
Below are my thoughts from a design perspective,
My requirement is message type one is only for first three segments and message type two is for another three segments .
The outbound program 1 for mess type 1 should fill fill the data for only first three segments and second outbound program corresponding to mess type 2 should fill the data for last three segments
Before you look upon the no. of message types you need, i guess you need to look at the business requirement. Per your requirement you want to send send two sub sets of data. The first subset in the first 3 segments and other three segments for the second subset of data.
Is the structure of the first subset of data similar to the second subset If not, better to create two IDOC Types. If they are similar, then create one IDOC Type with three segments and have two message types for each subset of data.
For Ex: ORDERS05 is the IDOC type for Orders, this IDOC type provides capability to carry data related to any type of orders
but the action on the data is facilitated by the message type like ORDERS for create, ORDCHG for change, ORDRSP for Order response etc.
OR
Are these two subsets of data related to each other, if yes understand the relation? If not related at all then you might be better of creating two separate IDOC Types.
Like in the above example A purchase order is related to a sales order so you can use the same IDOC type, but in case of a order response and ASN that data sent is different and hence you will need different IDOC types (even though a SO is related to a DN).
how should i design for my requirement. suppose if the idoc has two message types then it has two outbound programs?
The above again depends on the how tightly/loosely coupled are the data sets, you can have just one program and have a simple case statement on the message types or have two different programs.
You will also have to consider points like, if any of the subsets is more prone to more change in terms of the structure and associated business logic. If yes, then you might want to keep the programs separate to reduce work on regression testing etc.
I am sure you will receive more inputs from the experts on the forum and the list of points to look for will get longer , so understand the requirement, dependencies and if you have any specific questions you could post it on the forum.
Regards,
Chen

Similar Messages

  • Find Idoc extension type for Basic Idoc type

    Hi all,
    Is there any way to find existing extesions for Idoc given by SAP? For example, for basic idoc DEBMAS05 for version 4.7 , Idoc extension is DEBMASEXT.
    In similar way I want to know what is Idoc extension for Idoc basic type PREQCR02 [Create Purchase Requisition].
    Thanks in advance.
    Madhura

    The reason is preqcr02 is a generated idoc type  and matmas05 and debmas05 are not generated idoc types .
    You can search in table EDBAS for this .  If you go for dynamic debuggin , message comes from form
    create_ext_structure  in include MSED5F02 
    data: l_edbas type edbas.
      select single * from edbas into l_edbas
         where idoctyp eq edi_iapi01-idoctyp.
    if l_edbas-generated eq 'X'.
       message e099(b1) with
          'Action is not possible for generated idoctypes'.
    endif.
    Edited by: anil sasidharan on Feb 25, 2009 12:51 PM
    Edited by: anil sasidharan on Feb 25, 2009 12:59 PM

  • Creation of  New Message Type for Extended IDoc

    Dear Friends,
    I want to create New Message Type for MATMAS and want to Active Change Pointers accordingly. Thru this Message Type how can I able to use Extended IDoc which I have created for Basic Idoc Type MATMAS05.
    I am Sending Data from SAP to XI ; Any one can help me in this How can I create the Message Type with the IDoc Extn .
    for Change Pointers.
    Warm Regards,
    Naveen Mutyapu.

    Hi naveen mutyapu,
    see these links
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappoint.com/presentation.html
    http://www.allsaplinks.com/idoc_search.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.erpgenie.com/sapedi/idoc_abap.htm
    http://www.allinterview.com/rss/interview-questions/new/SAP-ALE-IDocs.xml
    happy learning.
    thanks
    karthik

  • Receiver determination doesn't work for same IDoc type but in differentSWCV

    hi guys,
    we have an emergency now. Receiver determination doesn't work for same IDoc type but in different SWCV.Please check below for detail.
    1. The process flow is : R/3 IDoc -> XI -> Third party system
    2. In previous release R13, IDoc ORDERS05 was imported and used in XI and software component version is R13. And receiver determination was created.
    3. Now, in new release R17, IDoc ORDERS05 was imported from R/3 to XI again and software component version is R17. And in R17, the receiver determination created in R13 was used for both old interface(R13) and new interface in R17.
    Then we encountered the problem, both interfaces doesn't work now, even we deleted the receiver condition(In R13, IDoc ORDERS05 was sent to system A, and in R17 IDoc ORDERS05 was sent to system B, RCVPRN was used as an condition).
    Does anyone encounter this problem? really need and appreciate your help.
    -Eddie

    information from monitor:
    Status     Sender               Service Sender Namespace                         Sender Interface
    reschedul  XXXCLNT100     urn:sap-com:document:sap:idoc:messages   ORDRSP.ORDERS05
    columns for "Receiver Service","Receiver Namespace", "Receiver Interface" are blank
    And then double click records in monitor, go into detail information...
    Normally there's lots of setps existed, such as
    Inbound Message ( CENTRAL )
    Receiver Identification
    Interface Determination
    Receiver Grouping
    Message Branch According to Receiver List
    Technical Routing
    Call Adapter
    But now there's only one setp -
    "Inbound Message ( CENTRAL )" existed, no any another setp..., and payload in inbound message looks good.
    And in SMQ2, I checked the queue information, found there's an error - "An exception occurred that was not caught." No any other detail information for this error.

  • Posting goods issue using Message type SHPCON and idoc type DELVRY03

    Hi SAP Gurus,
    I am using message type SHPCON and idoc type DELVRY01 with processing code DELV to post goods issue for a delivery note.
    I tried to simulate the inbound entry via WE19. The scenario should be posting goods issue based on the delivery order.
    In some cases, quantity issued is less than the quantity in the DO. For this, I need to change the delv quantity in the DO via VL02N before I select Post goods issue button. This will change at the same time post the goods issue.
    What I have filled up are the fields:
    E1EDL20-VBELN = DO num
    E1EDL20-VSTEL = Plant
    E1EDL18-QUALF = "PGI"
    E1EDTH13-QUALF = "006"
    E1EDTH13-NTANF = date today
    E1EDL24-POSNR = 000010
    E1EDL24-MATNR = material num
    E1EDL24-WERKS = delv plant
    E1EDL24-LGORT = sloc
    E1EDL24-LFIMG = updated quantity
    But everytime I simulate using WE19, the entire quantity in the DO is not changed at all. The goods issue quantity posted is still the original DO quantity.
    May I know how to do this? Thanks.

    Put value in E1EDL24-LGMNG for qty to pgi.

  • The meta data for the IDoc type "LOIPRO01" is unavailable

    Hello,
    i'm trying to send idocs via rfc from SAP ERP ECC 6.0 to SAP MII 12.06, but we always get errors like:
    The meta data for the IDOC type LOIPRO01 is unavailable
    I've checked the parameters on MII side of the IDOC Listener:
    Servername  MII_JCI33 
    server Properties 
    gwhost H33-I0.rz.k-plus-s.net 
    gwserv sapgw02 
    progid MII_JCI33 
    trace 1 
    params   
    snc_myname   
    snc_qop   
    snc_lib   
    unicode 1 
    max_startup_delay   
    Client Properties 
    client 303 
    user RFC-I33 
    alias_user   
    passwd   
    lang en 
    sysnr 02 
    ashost h33-i0.rz.k-plus-s.net 
    mshost H33-I0.rz.k-plus-s.net 
    gwhost H33-I0.rz.k-plus-s.net 
    gwserv sapgw02 
    r3name H33 
    group   
    tpname MII_JCI33 
    tphost H33-I0.rz.k-plus-s.net 
    type 3 
    trace 1 
    codepage 1 
    There is no saprouter between ERP and MII as in the thread from Christoph Mertins in November 2008. The user rfc-i33 on the ERP has SAP_ALL permissions.
    Has anyone an idea ?
    Kind Regards,
    Thomas Strecker

    Thomas,
    There is a link for a basic IDoc installation that may help.
    [IDocListener|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/bpx-community/manufacturing/how%20to%20send%20an%20idoc%20from%20sap%20ecc%20to%20the%20sap%20mii%20idoc%20listener.pdf]
    One other issue that has occurred to cause problems is registering the program in Visual Administrator.  If you registered the ProgID in Visual Administrator, there will now be two ProgIDs registered (MII does self registration with the RFC Destination upon starting the server).  Delete the registration in VA, if you did it.
    If there are other error messages available, please post them.
    Good luck,
    Mike
    I also just remembered, if you have two ProgIDs that are the same, running on two separate MII instances, you may run into a problem.  Not sure it will have the same symptoms or error messages, but something else to check with (especially when migrating from dev to prod).
    Edited by: Michael Appleby on Feb 10, 2009 5:02 PM

  • Message Types in an IDOC Type

    How I can identify the various message types that are been plugged in an IDOC Type? What will be the Transaction Used to identify that?  I used the Transaction WE30, but I see the various segments that are been attached to the IDOC type and Not at the Message Type level. I used the IDOC type ORDERS02.
    SAP uses a single IDOC type for several logically related messages. For example, the Orders IDOC type (ORDERS02) is used for several messages, such as Order (ORDERS), Order Response (ORDRSP), and Order Change (ORDCHG).
    Create Message Type                          WE81
    Create IDOC Type                                WE30
    Assign Message Type to IDOC Type      WE82
    Can some one please help me? Appreciated.
    ,J

    You can check this in the table EDIMSG.
    Alternatively you can check this in WE82 as well:
    WE82 --> Menu func. 'Selection' --> By Contents --> Select "By Contents" --> I/P your basic type &  select "choose"
    This will give you the list of the basic types associated with the message types.
    Edited by: Suhas Saha on Jun 23, 2010 6:40 PM

  • The meta data for the IDoc type "MATMAS05" is unavailable

    Dear Gurus:
    I need  help in completing small test that I am doing to send MATMAS IDOC to xMII.
    I have done:
    1.     RFC connection SM69 and tested ok
    2.             xMII IDOC Listner config with my SAP client
    3.     Connection appears in –smgw ok (in logon client screen)
    4.     Completed Distribution channel and we20,we21
    All above looks in place when I send one IDOC (BD10) it remains in 03 even after I run RBDMOIND. Besides IDOC is not appearing in C:\Lighthammer\JCO\Output.
    On tRFC I see error “The meta data for the IDoc type "MATMAS05" is unavailable.”
    Note that
    a) I am NOT using transaction on routing tab
    b) xMII version 11.5
    c) I used "How to send IDOC ...." Version 2 PDF that is available on web (thanks to Bimal)
    d) I looked at other two posts which has to do with LOIPRO message type and with JCO issue
    Please help.
    Thanks
    Jay

    Jay,
    What version of ERP are you using, perhaps this note will help: 770239
    Also the SAP Help has some suggestions as well...<a href="http://help.sap.com/saphelp_nw04/helpdata/en/8a/b8b13bb3ace769e10000000a11402f/content.htm">Click Here</a>
    -Sam
    null

  • Create a sequencial serial number for different Idoc Types

    Hi,
    we've got a legacy system which requires a serial number in a flat file for different Idoc types.  The target filename for the three different Idoc types is exactly the same, lets say: InboundFile_nnnnn.xml (where nnnnn is the sequence number)
    In the header of the file we will specify what type of file it is according to the Idoc that was received, but regardless of the idoc type, the sequence numbers for all three idoc types must be sequential.  The files are placed on the target server using a receiver ftp adapter on the central adapter engine.
    I would like to know if there is any way to store\maintain this sequence number in XI and use it accross different message mappings?
    Your response is appreciated.
    Thanks
    Rudi
    (and a merry christmas to you all

    You can create a number range object in SNRO transaction abap stack in SAP XI and use that in the mapping by connecting through JCO in XI.RFC enable Number_Get_next.
    check this for more info
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i

  • Multiple customers for same message type "invoic" and idoc type "invoic02"

    Dear Experts,
    I have SAP ALE process configured for single customer u2018Au2019 where I send invoic02 idoc (message type invoic) to the customer via PI server. Now I need to add one more customer u2018Bu2019 which require recepient determination. I am not sure whether this resolution of customer address at PI level or config is required at R3 itself.
    I tried to maintain partner profile type as KU but it generates the error "No partner profile is maintained". For existing customer u2018Au2019 I am keeping the partner profile type LS.
    I want to know the following:
    a.Whether the recipient determination at R3 (config of partner profile we20)- if so what are the essential steps. Do I really need to shift partner profile type as KU?
    b.Whether config is required at PI level itself- if so is there any pre-requisite config in R3 to support that in PI.
    I hope my question is clear since this is my maiden attempt to seek solution from expert group.
    Regards & Thanks

    Hi ,
    if you want to trigger the idoc  two times for basic type& Extension..
    1 ) you need to maintain  WE20 Partner Profiles (This is good already you did)
              --> But the Output type for Bsic type & extension type is same so output type is triggered Once so idoc is created One.
    2) try to create another Output type in T-code NACE for extension then two Idocs is created one for Basic and another for Extension.
    Regards,
    Prabhudas

  • ALE-IDoc : Outbound message control for MIRO,IDoc message type for INVOIC

    Dear Experts,
                        I am using the IDoc message type INVOIC. For that i have created the new output type. Then i assinged the the Program RSNASTED and form routine ALE_PROCESSING.
                        But when i am saving the transaction in MIRO i am getting the Update Error like VN 056: Processing log for program RSNASTED
                        Please help me to rectify this problem

    Hi Dharmendiran,
    We also have the same requirement to send status acconf messages on Inbound INVOIC idoc posting..
    Can you let me know how you went about creating new output type..did you mean new output type in NACE for application MR?
    Thanks.

  • Logical Message Types for MM IDOCs

    Hi,
    My Client is on ECC 6.0. They are using a third party system and the information coming from that system has to create a PR, PO, GR, GI, Invoice receipt(MIRO) and Vendor Invoice (FB60) through IDOC's, which are inbound to SAP.
    What are the Logical Message Types we can use to transfer all the data into SAP. Also, how to look at the fields in the IDOC to check if all the required fields are available in the IDOC.
    Thanks,
    Randy.

    I'm not an expert but as per my knowledge these are the IDOC types and you can check the IDOC structures using we30.
    Purchase Requisition: PREQCR101
    Purchase Order: ORDERS01
    Post Goods Issue: MBGMCR01 / MBGMCR02
    Goods Receipt: WMMBID02
    Invoices: INVOIC01

  • Outbound FM For CLFMAS01 Idoc Type

    Hi Frnds,
    My Requirement is Need to send classtype 001 details to CRM from ECC..using CLFMAS01 Idoc Type.
    but i am unable to find out the Outbound Function Module..Please help to find that one.
    Thanks,
    Laxmi

    Hi ,
    As per ECC6 , the above FM is exist and also maintained in BD51 and WE57 for same message type.
    Just recheck the same. If the FM Exist in the system them you can configure the same in BD51 and WE57 .
    Thanks
    Subhankar

  • Message determination for 103 mvt type

    Hi all,
       Can any one please tell me the reason for "Incorrectly Processed" message output for 103 movment. We have maintained all the indicators and output tab is getting appeared in the material document, but the status of the message shows "red colour".
        We are not able to understand the reason for the incorrect processing of the message. Whether this is related to the "Print Parameter" which is maintained as Plant / storage location combination.
    thanks & regards
    Chaitanya Rayaprolu

    Hi sir,
    Iam new to SAP but juz giving a try to answer your question. 103 mvt type is for posting to GR blocked stock. ie. no accounting docs are generated. Are you trying to post to blocked stock or GR block stock.
    Pls note that both are different..!!
    Pls excuse me if Iam wrong...
    Thanks & regards,
    ashwin_.

  • PO Output message types for different document types

    Hi,
    I wanted the system automatically generate the messages whenever a PO is created for different document types like NB,UB,Blanketorder, Pilot run.
    These are the steps i did...plz advice any more steps to make this work
    1. the output type I am using is NEU-purchase order
    2. I have created condition records for document types NB,UB,PR etc
    I was sucessfull in getting the messages automatically for the standard(NB) PO..but not for the other document types
    Plz advice me how I can achieve this with further configurations
    Thanks
    SKid

    If you have created conditin record for all the document type in MN04 then it should work becuase doc type has nothing to do for printing config.
    this is basically a condition record.
    check your condition record

Maybe you are looking for

  • Help on locking MySQL tables (many can read, but only one can write) Java

    Hi there, I have a question regarding locking of tables so that only one person can write to the file, but many are able to read the files (or tables entities). I am not sure if I need to lock the tables in my Java code or do I lock the tables within

  • Transfering information from a macbook pro to a macbook air

    I am trying to transfer my information from my mac book pro to my new mac book air. It keeps telling me i have "2 hours left" and then "30 mins left" but its been over 24 hours now and the transfer is still not complete?

  • Adding 2nd Monitor - HP3065....resolution issue

    Hi, I just received my new 27" iMac with the upgraded video card.  I hooked up my 30" HP 3065 monitor using the Apple Displayport to DVI adaptor.  I am only getting roughly 1280x900 resolution on the HP monitor.  I am very suprised if this new video

  • Infinity vs Virgin

    Does anyone have any thoughts on Infinity vs Virgin?  We've recently moved from out in the wilds (download speed of 4 mb) to Gloucester (a big town but we are lucky if we achieve 1 mb download).  I probably should have investigated further at the tim

  • Cache Event polling S_NQ_EPT in Cluster Env.

    Hi, How to use event polling mechanism in Clustered Env to purge cache ? It works fine in non - clustered env. I'm getting errors - 2009-12-16 15:40:45 [55003] The cache polling SELECT query failed for table S_NQ_EPT. 2009-12-16 15:40:45 [nQSError: 1