Mapping every record in a given message type to an IDoc

Hi all,
As per the requirement, I have a message type which stores a number of records from the database. The root node of the message type repeats as many times as the number of records. I need to map this message type to an IDoc with an IDoc created for each record. However, the pre-defined structure of IDoc has the root node occuring only once. Can the mapping of every record to an IDoc be acheived by using Message tab of the message mapping to have the IDoc occurence as 0..unbounded?
Thanks,
Amit

Hi,
  In message mapping Change the occurence of the IDOC as 0 to unbounded in the Target message inside Messages Tab.
Also change the occurrence of IDOC in the Interface mapping as 0 to unbounded.
Thanks,
Tiny
Edited by: TINY MAMPILLY on May 7, 2009 11:14 AM

Similar Messages

  • 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

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

  • 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

  • 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

  • Message Types in DELVRYxx IDocs

    Can anyone tell me why SHPORD/WHSORD/SHPCON/WHSCON message types apply for idoc DELVRY03 but not for DELVRY05?  I thought each new version of the IDoc would still be used for the original message types.
    Thanks,
    Keith

    Maybe because of some problems. For example : [Note 971803 - No IDoc object types for SHPCON and WHSCON|http://service.sap.com/sap/support/notes/971803].
    But I found no proof of this change! Normally it can't be changed without a note (I mean, without informing).
    For information, this note created the messages : [Note 311664 - Assignment of IDoc type DELVRY02 is incomplete|http://service.sap.com/sap/support/notes/311664].

  • Need of message type in ALE-IDOC

    Hi,
    Please tell me need of message type  in ALE_IDOC and its functioning.Also why it is required.Let me know its exact role.
    Thanks.

    Hi,
    Message types (required for sending the data across participating systems)relate to the structure of the data called an IDOC (Intermediate Document).Message types provide the format of the data, which can be exchanged betweenSAP and non-SAP systems. ALE supports over 200 message types in R/3.
    Also check the below links
    http://www.thespot4sap.com/Articles/SAP_ALE_Introduction.asp
    http://www.sap-img.com/basis/types-of-idocs-use-in-ale-configuration.htm
    Thank U,
    Jay....

  • Message type for generating IDOC  for SUBCONTRACTING PURCHASE ORDER

    Hi All,
    I have to generate IDOC for PO creation or change .
    I am using IDOC_OUTPUT_ORDERS and IDOC_OUTPUT_ORDCHG.
    The messagetype.idoctype  I am using is  ORDERS. ORDERS05  and ORDCHG. ORDERS05.
    Now the confusion is regarding whether  this message type will work in case of SUBCONTRACTING PURCHASE ORDER as well ?
    As I have gone through some websites and came to know that I will have to use PORDCR1.PORDCR102 specially for subcontracting.
    And programs we need to use is BUS2012_ICH_R3 instead of  RSNASTED and Form Routine SEND_PORDCR1 instead of EDI_PROCESSING.
    Purchase Order Collaboration scenario - Not generating IDOC in ECC
    http://www.erpgenie.com/faq/edi_purchasing.htm    on this site question no  8.
    Subcontract PO IDOCs
    I hope your experience will help me .
    Please reply ASAP.
    Edited by: uttam27 on Dec 4, 2011 1:47 PM

    There is a generic function to create change pointers for all message typs - 'CHANGE_POINTERS_CREATE_DIRECT'.  This is triggered only if you configure your message type to create change pointers from BD50.
    Once you activate it do any change to orders you can see change pointer tables BDCPV filled. Then BD21 will read the changes and generated outbound idocs accordingly.

  • 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

  • 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

  • Message type details of idoc

    Hi ,
    Is there any table where i can find message type details of an idoc like who created it , last changed by ??

    I wanted creation date and last changed for a particluar message type and not the idoc ....
    I think this concept is not there is SAP ...
    Anyways thanks for the help ....

  • How to maintain 2 condition record for the same message type

    Hi,
    My requirement is that I have got a PO output type NEU.Now when i release the PO 2 mesages  should get outputed.
    1) A print should go to the Printer ie:Option1 Print output
    2) A PDF should go to the vendor ie:Option 5 External send
    I have completed the config part but I am having a problem while maintaing the condition record for simultaneous output of message 1 & 5.
    In MN04 i tried to maintain 1 & 5 but it doesn't allow me to do so?Why
    How do I output  2 messages while releasing the PO
    KN

    Please check this answered link:
    Re: Two PO Outputs.
    Re: Emailing PO to Vendor, copy to buyer as well
    Edited by: Afshad Irani on Jun 16, 2010 12:05 PM

  • How to test message mapping in XMLSPY if two receive message types exist?

    Hi gurus,
    In our message mapping, we have one send message and two receive messages, the testing is ok in message mapping test tool in ESR. While in XMLSPY, it gave the error because of the reason as follows:
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
    Even after we added those statments, the error was still there.
    How can I resove this problem? Thanks in advance.

    Hi,
    In the source XML message you may find some extra tags being included.
    Just remove those extra tags, then it will work fine.
    For example:
    If your source XML message is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <ns1:MT_FileToFile_MultiMap_Src xmlns:ns1="http://FileToFile/MultiMap">
    <Input>
    <Name>ab</Name>
    <EmpId>123</EmpId>
    </Input>
    </ns1:MT_FileToFile_MultiMap_Src>
    </ns0:Message1>
    </ns0:Messages>
    remove the extra tags and then it will look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_FileToFile_MultiMap_Src xmlns:ns0="http://FileToFile/MultiMap">
    <Input>
    <Name>ab</Name>
    <EmpId>123</EmpId>
    </Input>
    </ns0:MT_FileToFile_MultiMap_Src>
    i hope this will help you,
    regards,
    ganesh.

  • IDOC Message type from XI

    Hi,
    I'm sending idoc type ORDERS05 from XI. Previously, I had set up message type ORDERS for this IDOC in the partner profile. But then I changed message type to ORDRSP, and process code ORDR for inbound idocs. I've also set message type ORDRSP for IDOC type ORDERS05 in WE82 message type - idoc type linking.
    But for some reason, the IDoc is looking for message type ORDERS and not taking message type ORDERSP, and it is erroring in SAP, when I view the status of the IDoc it says that EDI Profile ORDERS Message type was not found.
    So my question is - is this message type for an idoc type to be used passed somewhere from XI, do I have to make a change in XI side, or SAP side.

    Hi,
    I did all these changes, in the IDOC mapping in XI and also selected the option to select control record from payload in the idoc adapter. The messge in SXMB_MONI, I can see that EDI_DC40 has mestyp ORDRSP, but when I see SAP we02 IDOC transaction, it says that message type is ORDERS. Don't know why this is still happening? Any other option needs to be checked guys?
    Regards,
    Vijay
    Message was edited by: vijay srikanth

  • IDOC question on Message type and Basic Type - Partner Profile

    Hi all,
    I am wonder if I can post any IDoc question in this right forum/module. If not please direct me to the right forum/module. I am a newbie in IDOC setup.
    My question is about the setup of Partner Profile creation (WE20).
    When creating a new partner, for example with partner type LI, I notice there is outbound parameter and inbound parameter.
    Questions:
    1 u2013 It makes sense to have only one message type record appear in EITHER one of these two tables.  I notice that some partner in my system has message type record exist on both the inbound and outbound parameters table, why system allows? What is the business rational?
    2 u2013 May I have a list of standard SAPu2019s Message Type object of its usage description, and its allowable Basic Type (ie. IDOC TYPE). Basically a website to describe their (i.e. Message type and its Basic Type) business usage.
    Thanks.
    tuff

    Tuff,
    Below are my thoughts,
    There is a partner sing partner type LI. This partner in the WE20, has one record (i.e. with Message Type ORDERS) exist in the Outbound Parameter table. This partner also has 4 records (i.w. with Message Type DESADV, INVOIC, MBGMCR, and ORDRSP) exist in the Inbound Parameter table. So my question is what is the business rational behind this kind of setup. Because I am confuse when come to create a partner profile, whether I need to create a message type in Inbound Parameter table or Outbound Parameter table, or I need both.
    OK, so looking at the above example, you have an orders message type(This is for creating an order) in the outbound, this means that you are sending out an IDOC(purchase order for ex) to this partner, so that this partner can create an SO in his system and fulfill your order.
    Now you also, mention that you have other four Message types for the same partner on the inbound, now let us look at the above scenario, you have asked your partner to fulfill the order, i guess you would like to get a confirmation from him/her if the order was created or not in his/her system and how and when is he/she going to fulfill your order requirement. This he/she does by sending an response to your order -  ORDRSP.
    And when the partner is ready to ship your order to you, he/she sends out a Advance Shipping Notice - ASN via the IDOC of message type DESADV.
    Finally and most importantly , he/she will send you the invoice - INVOIC for the order.
    In general, you interact with your partner via Business Docs - Order, Delivery, ASN, Invoice etc, so whatever document come from your partner - ORDRSP, INVOIC etc will be on the inbound profile of the partner. Whatever docs that you send ORDERS, ORDCHG etc etc will be on the outbound profile of the partner.
    2 - Bascially I would like a reference in any website that allow me to choose which message type is best use for my partner profile, so that I don't have to reinvent.
    Well, there is no choice of choosing/best message type for a given requirement - So for sending an Invoice the message type is INVOIC, ORDERS - For order creation, ORDCHG for order change etc. However the IDOC type, is some thing that you can choose, for Ex: ORDERS01 - ORDERS05, these are the IDOC types that are available, so if you are interacting with a partner who are running an old version of SAP and their system has only upto ORDERS02 in their version of SAP then you would use ORDERS02.
    Regards,
    Chen

Maybe you are looking for

  • IPhone 3g S Video to Computer

    Does anyone know if video captured on the new iPhone 3G S be transferred to a PC Computer to be edited and burned to a DVD? Also, would the quality be acceptable or no? Thank you, Eric

  • Showing Data from 2 tables in jsflv

    I am developing a project in jsf and JPA I have one table called employees with column Name,Job_code,Dept_code For employee table I have a entity I have another table called ListOfValues with column Prefix,Lov_code and Lov_desc Prefix can be JOB(for

  • Re:Problem in BAPI_WARRANTYCLAIM_CREATE

    hi, Iam trying to copy a claim to new claim using the Bapi 'BAPI_WARRANTYCLAIM_CREATE'. In the old claim if there is any condition type is incorrect (in red) that condition type copied multiple times to the new claim. Please suggest me the solution.

  • [Solved] Can't remove nolisten on Xorg

    I want to be able to do remote X forwarding without relying on ssh tunneling. I removed -nolisten tcp from /etc/X11/xinit/xserverrc: [nathanb@nathanb-box /etc/X11/xinit] cat xserverrc exec /usr/bin/X "$@" [nathanb@nathanb-box /etc/X11/xinit] I can fi

  • Slow load/ jerky playing of music through i-Tunes.

    Double clicking on i-Tunes on my desktop used to get it loaded pretty fast, now it takes up to a minute. Very strange. Then, when I play songs the music sounds jumpy, wierdly enough only at the start of the song. On Task Manager it seems as tho i-Tun