Multi-mapping help

Hi, anybody can help to point out a blog about how to create multi-mapping with detailed step-by-step and pictures.
I try to learn how to create one.
I read sap help as below, it's too complex to understand , thank you
http://help.sap.com/saphelp_nw04/Helpdata/EN/21/6faf35c2d74295a3cb97f6f3ccf43c/content.htm

Hi Shiwudao,
  In case if you want to merge messages coming from different receivers by using Multimapping .You just need to create Multimapping between abstract interfaces and specify them in the Transformation step,and at the same time you need to take care of the ID objects also.Here u need not use any Enhanced interface determination also.
Refer the Integration process design in  following Wiki on BPM Pattern to get an idea on how to use multimapping in BPM transformation step.
https://wiki.sdn.sap.com/wiki/display/BPX/BPMPatternMultiIfconditionExplained(stepbyStep+Procedure).
Thanks,
Ram.

Similar Messages

  • Multi mapping - solution ??

    HI
    This is regarding a typical scenario where SAP XI 3.0 receives data through an outbound ABAP proxy , the output of these have to be files ...but the problem is :
    a) There will be around 15 files -  5 of type .txt , 5  of type .CSV and 5 of  .RTF  all to placed on a single location , how to achieve this ? design wise . ..
    b) all the files will have different formats i.e all txt files will be of a different format but the source data will be the same ,which means from the same  incoming Xl different files need to be formed , We dont want to use BPM ...
    does it mean we  need 15 differenct Communication channels ??
    and do we require 15 different mapping also ??
    Kindly suggest if it can be done through multi mapping ,  i am unsure how
    thanks
    Dev

    Hi,
    >>a) These 15 files are of different out put formats( as in the 5 csv files have different layouts and so does the 5 txt files ) , so does it essentially mean 15 different mappings and 15 different file communication channels ?
    No need of 15 mappings, one multimapping will do.. where from one source message type you are creating 15 target message type....
    >>b) Enhance interface determination basically helps me in creating (n)Target interfaces from 1 source message, right ?
    but then when i have 15 different mappings ... how does multi mapping help ? isnt itas good as 15 different interaces ??
    i think you are confused.. do like this
    1. Create a message mapping
    2. Go to the signature tab and add one source message type and 15 target message type..
    3. Come to definition tab and complete the mapping
    4. You can see that lot of Message, Message0 etc are created, these help in doing multimapping and this is multimapping
    1. Create interface mapping
    2. Go to the signature tab and add one source message interface and 15 target message interface..
    3. Do read interface and select the mapping done in above step
    1. Create interface determination.
    2. Provide the interface mapping created above there
    3. Create 15 communication channel and 15 receiver agreement
    Regards
    Suraj

  • Need help in Multi mapping

    Hi experts,
    we have a scenario need to send an EDI text file to 2 different receivers. We are receving the EDI file using the JMS adapter as Sender and File/FTP adapter as a receiver.
    We are using Multi mapping (includes Java mapping and Graphical ) to send the Messages to receivers, While sending we are getting the Error In Moni as "Error in creating Multi XML Document".
    In Java Mapping we are Converting the EDI text to EDI xml with <ns0:Messages1> and the output of Java mapping to Graphical Mapping,
    While testing in Interface Mapping Test it works fine.
    Please provide your Valuable inputs.
    Thanks,
    Ramg

    HI
    The below is the output im getting from Interface mapping
    =====
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1><ns2:MT_Req xmlns:ns2="http://test.com/CommonServices"><DataConversionArea><SapQtySign>P</SapQtySign><Filler>                                                              </Filler></DataConversionArea><DataElement><RspShipToLoc>000000</RspShipToLoc><Filler>                                                                       </Filler></DataElement></ns2:MT_Req></ns0:Message1>
    <ns0:Message2><ns2:MT_In_Req xmlns:ns2="http://test.com/CommonServices"><DataElements><ProdSchedNbr>             </ProdSchedNbr><Filler>0030</Filler></DataElements></ns2:MT_In_Req></ns0:Message2></ns0:Messages>
    =====
    Thanks
    Ramg

  • Help on config 1:n multi-map

    Hi, guru
    I refered https://weblogs.sdn.sap.com/pub/wlg/3115. [original link is broken] [original link is broken] [original link is broken]
    In PI7.1 ESB, Now I created 1:n message mapping and Operation Mapping.
    I think next step is to create a Integration process and go to Integration builder to build a scenario for it?
    right?
    Are there any detailed info about those steps? thank you !  The blogs about multi mapping have not talked about much about those steps.

    what?
    It output results even I did not specify  the Receiver determine to the Extended option!
    Howevey it output many files, is it correct?
    The source XML are:
    <source>
    <item>  <name>aa</name> <country> AAA</country> </item>
    <item>  <name>aa</name> <country> BBB</country> </item>
    </source>
    I expect output 2 files:
    <output1>
    <name>aa</name>
    <name>bb</name>
    </output1>
    and
    <output2>
    <country>AAA</country>
    <country>BBB</country>
    </output2>
    However it output 4 files.
    2 for name
    and 2 for country.
    Is it correct behaviour??

  • Multi Mapping

    Hi all,
    I need a help on how to go about the following scenerio.
    XI first performs a multi-mapping that creates two output messages:
    One is the target message in Flat File Format. The mapping also generates the filename for the output message which should follow the format 11_<Unique ID>.txt. This filename is written into the XML Payload of the message. The File Adapter later does a flat file conversion on the message. In this step, the filename is not written into the flat file. Instead, it is used by the file adapter as the target filename.
    The file should be placed in a specified directory. 
    The mapping also creates a second message, which only contains the same filename in the payload. This message goes to a second File Adapter, which also does a flat file conversion. Its output only contains the filename that was created by the mapping, followed by a line break. The output of this File Adapter is written into the same directory as the first file. The name of the output file is 11.catlg. If the file already exists in the target directory, the output needs to be appended to this file.
    Thankyou.

    Shruthi,
    It seems the payload contains the filename and this filename as to be used in the Communication Channel of file adapter.If my understanding is correct the problem can be solved by the Variable substitution. Refer the below link:[http://****************/Tutorials/XI/Variable/substitution.htm]
    Regards,
    Kiran Bobbala

  • Multi Mapping error

    Hi,
    I am required to have a IP recieve 3 IDOC types triggered from BD10 . It can trigger 3 or more IDOCs. For Eg.
    1 ARTMAS (only 1) , 2 INFRECs and 1 LIKOND.
    If anyone IDOC has come then after a waiting period of 1 minute it should come out of FORK.
    My IP is like this.
    In a FORK there are 4 branches.
    1) ARTMAS receiver
    2) Loop(infinite) with INFREC Receiver and a Container Operation to collect all IDOCs
    3) Loop(infinite) with LIKOND Receiver and a Container Operation to collect all IDOCs
    4) A wait Step with a container operation to initialize endtime variable
    necesary branches: 4
    The Fork Comes out when the end condition is met ie the End variable is Set or if all the IDOCS have  come.
    Corelation on MATNR.
    Next I have the transormation and send step.
    In the MM i have 3 Source and 1 Target.
    Artmas 0-1 occurance
    INFREC 0 - unbounded
    LINKND 0-unbounded
    I have created the Target with External Definition and have set the correct occurance in the XSD file
    I have mapped the neceessary Segments from INFREC and LIKOND and all the Segments of ARTMAS to the Target structure.
    In SXMBMONI it says error on Outbound side and
    I see Mapping Exception  when I seen in WORKFLOW.
    Is my design Correct?
    I have tested the Interface & Message Mapping they are correct
    Request your help.
    John Rajesh
    <?xml version="1.0" encoding="utf-8" ?>
    - <MappingTrace>
      <Trace level="1" type="T">Mapping-Namespace:http://test.com/usa/SapRetail/ARTICLE_CLASSIFY/TESTDEMO</Trace>
      <Trace level="1" type="T">Mapping-Name:IM_ARTMAS04_TO_ZARTMAS04_PUB01</Trace>
      <Trace level="1" type="T">Mapping-SWCV:00000000000000000000000000000000</Trace>
      <Trace level="1" type="T">Mapping-Type:JAVA</Trace>
      <Trace level="1" type="T">Mapping-Program:com/sap/xi/tf/_MM_ARTMAS04_TO_ZARTMAS04_PUB_</Trace>
      <Trace level="3" type="T">Multi mapping required.</Trace>
      <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_ARTMAS04_TO_ZARTMAS04_PUB_.</Trace>
      <Trace level="3" type="T">Load b8f12d30-2c45-11da-90af-ef160a892024, http://test.com/usa/SapRetail/ARTICLE_CLASSIFY/TESTDEMO, -1, com/sap/xi/tf/_MM_ARTMAS04_TO_ZARTMAS04_PUB_.class.</Trace>
      <Trace level="3" type="T">Search com/sap/xi/tf/_MM_ARTMAS04_TO_ZARTMAS04_PUB_.class (http://test.com/usa/SapRetail/ARTICLE_CLASSIFY/TESTDEMO, -1) in swcv b8f12d30-2c45-11da-90af-ef160a892024.</Trace>
      <Trace level="3" type="T">Loaded class com.sap.xi.tf._MM_ARTMAS04_TO_ZARTMAS04_PUB_</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_ARTMAS04_TO_ZARTMAS04_PUB_</Trace>
      <Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_ARTMAS04_TO_ZARTMAS04_PUB_</Trace>
      <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns4:Messages/ns4:Message1/ZARTMAS04_PUB/IDOC. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:292) at

    Check the following
    1. Have u mapped the root level element?
    2. Inside interface mapping, when u say read interface, is it diplaying both the interface.
    Also check ur input
    may be u r not providing proper input
    Regards,
    Prateek

  • SP14 Multi-mapping - error in receiver idoc adapter

    Hi,
    I have a scenario where a business service should send some XML to SAP CRM. I get the file via a sender JMS adapter and try to post it to CRM via a receiver IDOC adapter.
    I have created a multimapping (1:N - 1 XML file to many Idocs) as should in the repository.
    In the configuration under Interface Determination, I have chosen 'RB_SPLIT' and selected the interface multimapping.
    It should be pointed out, that when testing both interface and message mapping i get no error. All idocs seem to be created as they should.
    When testing the setup 'real life' the message fails. The error message in the monitor says:
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_WRONG_INTF</SAP:Code>
      <SAP:P1>InterfaceCollection</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to interpret IDoc interface InterfaceCollection</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Notice that the above error is when trying to send only 1 record, which in turn then should result in only 1 idoc.
    If trying to send multiple XML records, i get the following error:
    - <!--  Technical Routing
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="OUTBINDING">MMF_ENGINETYPE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>A system error occurred in the outbound binding</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    In the monitor in the payload of 'Request message mapping' I see as many Maindocument, Submaindocument pairs as should be Idocs.
    Now i really don't know how to interpret the error messages in both cases, so I'm a little lost here...
    It should be pointed out that the idoc being used everywhere in this scenario, has not been modified - from all places it is being used (and only exists) in the 'Imported objects | Idocs' place.
    Also the Idoc is also being used as Inbound interface - so no mistakes here either.
    I really hope someone can help me here, as I'm otherwise pretty stuck in this case.
    Best regards,
    Daniel

    Hi Daniel,
    I have exactly the same type of scenario (under SPS14 and now also SPS15), sending an XML message over JMS to XI and trying a multi-mapping to many IDocs (actually a list of orders in XML is mapped to n ORDERS Idocs).
    I also face problems doing so, when I use the IDoc Adapter as outbound in the Receiver Agreement. I receive the following error:
    <i>CO_TXT_MMF_ENGINETYPE
    Messages in multi message format can be sent to one adapter engine only</i>
    However, I tested the same scenario by just changing the Receiver Agreement to a File Communication Channel and - surprise, surprise - it works. One file per IDoc is created.
    Of course, this is not what we want to accomplish, but when I checked this piece of documentation (sorry another link
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/content.htm
    the IDoc adapter is not listed in the list of Adapters that are supported. Does that mean, that this feature is not supported for generating IDocs? Maybe that's a question for a SAP OSS Message?
    I hope that helped you a little further - if you find out more I'd be happy to learn about it.
    regards,
    Peter

  • Multi mapping with out BPM

    HI ALL ,
           I am trying to do multi mapping with out using BPM .I will get message from the sender and i need to send that to two different target system. I have defined the mapping in the IR . In ID i  have created the configuration scenario and i have created the receiver determination .In receiver determination i have selected "EXTENDED" and when i select input help for mapping name it says "NO Object found". What else should i do get the mapping program here .
    Regards,
    Tarun.

    Bhavesh,
    I'm sorry but if he needs 2 different receivers, then it's not the case of using Enhanced Interface Determination.
    sapuser,
    if you scenario is asynchronous, then it's easily implemented.
    But it won't be achieved with multimapping.
    You'll have 2 receivers in receiver determination (normal RD, not enhanced). For each of those, you'll have to create a separate simple mapping (that will generate the message expected at each receiver system) and refer that mapping in the interface determination of each receiver.
    For example, you have input_message containing data1 and data 2. You'll have 2 simple mappings (not a multimapping), 1 generating output_message_1 containing data1 and the other generating output_message_2 containing data2. Then refer those mappings in the proper interface determinations.
    Regards,
    Henrique.

  • Multi-mapping for ibound IDOC

    Hi! All
    It would be of great help if you provide your suggestions on:
    Mapping one XML source file to 6 IDOC receivers, 2 of them are of the same type and 4 are distinct idoc types.
    I tried multi-mapping and received the following error:
    "Messages in multi-message format can only be sent to one Adapter Engine"
    Looks like IDOC adapter does not support multi mapping...
    Can you please suggest any other option apart from using BPM(since it consumes lot of resources).
    Thanks a lot!!
    Regards,
    Patrick

    Hey
    its not possible to do Multimapping over IDOC's without BPM.
    other way around can be to do a single -single scenario,suppose u have 6 IDOC's to post then u need to design 6 different scenarios for them.
    without BPM you cant do multimapping for IDOC or HTTP
    Thanx
    Aamir
    Message was edited by:
            Aamir Suhail

  • Multi-mapping 1:n - 1:1

    Hi,
    We are using multi-mapping in a file-to-file interface. When we have 1:n everything is ok, but when we have 1:1 we have this error:
    Success The message status set to DLNG.
    Error Unable to find channel ID
    Error Delivery of the message to the application using connection AFW failed, due to: Couldn't find delivery channel for message: f285a9a0-4a74-11dc-b843-00145e1b2f3d.
    We need this interface working for both 1:n and 1:1 situations.
    Any idea?
    Thanks for your help:)

    Hi Diana !!
    Check this thread:
    Re: Couldn't find delivery channel !!!
    Regards,
    Matias.

  • Multi-mapping not found at configuration time

    Hi
      I have defined an interface mapping that takes one msg interface as source and two msg interfaces as targets - the underlying message mapping is a multi-mapping.
    However , when I go to configuration time - and create a enhanced interface determination - and drop down - to pick up multi-mapping - it says no objects found !!!
    I double check the sender interface and its link with the SWCV , the interface mapping - everything is ok . Coud anybody help me - as to why my multi-mapping is not being picked up at configuration time ( I also check the runtime cache - everything is ok )
    Please help !!!!

    HI,
    see the below links
    multi mapping - /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    multi mapping without bpm -/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI.
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    Multiple mappings into one Im - Multiple message mappings in one integration scenario
    Regards
    Chilla

  • Multi-mapping activate changes error

    Good afternoon!
    I want to use multi-mapping to split one IDoc(WBBDLD04) to some xml documents.I want XI to create one xml document per segment E1WBB01 of WBBDLD04 IDoc. I set Occurrence = 0..unbounded for target interface in interface mapping . Then I try to activate changes. IX generate errors:
    MaterialMasterRequestMapping | http://sap.com/xi/SBO:
    A multi-mapping with multiple source or target interface instances is only recommended with asynchronous interfaces, since only a mapping of this type can be used in the process editor. IDoc WBBDLD.WBBDLD04 | urn:sap-com:document:sap:idoc:messages are not asynchronous abstract interfaces
    Mapping program Message Mapping MaterialMaster2SBO_GT2 | http://sap.com/xi/SBO does not match the interface mapping. The number or frequencies of source or target messages for the message mapping are not identical to the number or frequencies of source or target interfaces.
    Tell me please, what I do wrong?
    Thanks!
    Lositskiy Alexandr

    Alexandr,
    You need to create an Abstract from your IDoc (Message Interface).
    To use mutli mapping, you need to create a Business Process.  Then in your Business Scenario, use your Business Process and reference your multi map.
    Hope this helps.
    Regards,
    Simon

  • Multi-Mapping Error in PI 7.1 - External Definitions

    Hi all,
    We have just upgraded to PI 7.1 from 7.0 and run into an issue with message multi-mappings, just wondered if anyone else had met the same issue and worked it out...
    When creating a message mapping, we are using as the target an external definition which is defined by an XSD generated by a third party tool (Seeburger).
    When I map 1:1 (1 source message to one target message) in the message mapper, all is fine but if I try to create a multi mapping, I get an error. The process is:
    a) I have a message mapping with one target message, defined as an External Definition.
    b) I then go to Signature tab and add a second target message as an External Definition
    c) Click back to Definition tab
    d) Get the error "Object XXXXX | YYYYY not found" - where XXXXX is the external def name and YYYYY is the namespace (the SWCV namespace that is, not the XML namespace)
    This only seems to happen with External Definitions which are autogenerated and I strongly suspect that is has to do with the fact that the tool that generates them always  does so without an XML namespace. I have not proved this though (other Ext Defs with namespaces work for multi-mappings but that is not the only difference so I can't be sure that is the issue but have a strong hunch. This problem did not occur in 7.0.
    Anyone got any ideas?
    Thanks,
    Chris

    Hi,
    This would not be of much help but, I was able to encounter this issue in XI 3.0.
    What we did was to manually edit the XSD and add a namespace to it. I'm not sure if PI 7.1 is able to handle mutiple namespaces, so we limited it to this value <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> and made sure that this value is used for all the External Definitions used in the multi-mapping.
    Regards,

  • Error in Multi-mapping without BPM

    Hi frnds,
    I am doing a scenario File-XI-File. I am using the multi-splitting thing in the Message mapping. I have taken care of all the occurance's and "enhanced" thing in the IR and ID resp. I m using SP16. I want to avoid BPM.
    But therez sme error cming up. When I check the MONI, its shwing "No messages created from split mapping" and when I test my interface using the Test Configuration in the ID, its shwing error in the Receiver Determination -- "HTTP connection to ABAP Runtime failed. Error: 403 Forbidden"
    I have checked most of the blogs and forum suggestions. I have checked the ICF activations as well ...
    So, do come back to me with your valuable suggestions, and I will award them points, if they really help me out.
    Thanks and regards.
    Neetesh

    Hi Neetesh,
    <i>
    When I check the MONI, its shwing "No messages created from split mapping"</i>
    For this, Can you check the source XML. Does it contain Tags like <messages> .. If yes, you need to remove them from your source XML.
    If i am right, you have copied the XML from the TEST tab of the message mapping and pasted it in a notepad and saved it without making any changes at all..... Just do as i have mentioned above and i am sure you will no more get that error message in your MONI....
    Also go through this weblog which talks about multi-mapping without BPM,
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Regards,
    Abhy

  • Error wile Outbinding of the message in multi mapping

    HI
    I have a scenario SIEBEL->XI->R/3
    the data from siebel system is send through web services
    in xi this data is mapped into 2 IDOCS using multi mapping .
    I tested the scenario and i am getting the following error .
    <b><SAP:Code area="OUTBINDING">CO_TXT_MMF_ENGINETYPE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Messages in multi-message format can only be sent to one Adapter Engine</SAP:Stack>
    </b>
    Can some one help with this issue
    Thanks
    Nikhil

    Nikhil,
    For IDOC bundling, take a look at this blog and note no : 814393.
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Regards,
    Bhavesh

Maybe you are looking for

  • Call of duty modern warfare 3

    Why isin't 'Call of duty modern warfare 3' compatible for mac honestly do you know how much money you would get on Mac Apple Store then people won't want a windows anymore since most of the people or young people use windows for games honestly Mac ca

  • EXCISE REGISTER EXTRACTION AS PER MATERIAL CODE

    HI GURUS OF MM,         Pls help me solu for this. Whether Excise extraction is possible material wise . Since the standard Register exctration is through J2i5 ( J2i6 for printing) in SAP, datewise extraction is possible. But Can Material wise extrac

  • Return function issue

    Hi All, I am trying to use @RETURN function in one of the requirments and unfortunately it is not behaving as I expect out to be. My sample psuedo code is: FIX(A,B,C) "SomeAccount" if("Account%age" <> 1) <do some calc> else @RETURN("Percentage is not

  • Combining data from iptc fields

    Hello group. Happy New Year. I'm looking for a script which would perform an action of copying data from the city, state/prov and country fields and adding that data to the description field. I still wish to retain the content in the description fiel

  • Unable to 'see' videos

    I have Windows 8 with the updated Flash Player.  Whenever I click on a video clip I can see any commercials in advance of the video and I get the audio portion of the actual video clip, but I get a green screen during the video itself.  Any suggestio