Multi Mapping without BPM (JMS 2 IDoc)

Hi,
i have a JMS-Query where it is necessary to map the given data to two different IDoc Types.
Therefore i have to mappings in two different namespaces. Is it possible to use these insde of the interface Mapping?! Or does the target types have to be in one mapping and one namespace?!
Can i use context objects?!
Please guide me! br, Jens

HI,
Ingeneral multi mapping in IM , we can use , to do it it should satisfies accordingly .. i mean see the below link
/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
Multiple message mappings in one integration scenario
With context object , we can route based on condition , this will be used in interface determination with condition , to this condition , we can use Context object, but it should be configured in MI.
Regards
Chilla

Similar Messages

  • Multi-Mapping without BPM (Multiples IDoc To one EDI output?)

    Hi all,
    We are currently working for a client that want us to create, based on a multiple IDoc (an idoc that contains data of more than one idoc) only one output
    Meaning that we have to do a mapping that based in this multiple input generates only one output that cointains all that data in only one flat file
    example:
    Idoc: PERX2002.PAYTEXT generates an EDI 820 with this structure:
    LIST
    /S_ISA (first input)
    /S_ISA (second input)
    At this moment we tried to use "Collect IDoc" option in SAP, and as seen in other blogs we changed the ocurrency of the message mapping to "0.unbounded", but when we release several idocs (WE14) we only get multiples output files (3 idoc collected and released give us 3 different edi files) instead only one edi file with all the data gathered together as ISA segments
    In this required process possible???
    Thanks in advance

    As you can see in the following pics..
    http://img201.imageshack.us/img201/8352/process1xz1.jpg
    http://img244.imageshack.us/img244/4954/processvc9.jpg
    i already made those changes, the multi-mapping is set, and also the option for collecting the IDocs and the "enhanced" option in the Integration Directory, but when i release all the idocs i still get multiple outputs (2 files), instead one file with all the gathered data
    Could someone tell me if  i'm missing some step?
    Thanks for your time
    Edited by: Alexis Alanis on Jan 7, 2008 7:24 PM

  • Duplicate Message ID issue in case of Multi mapping (without BPM)

    Hi Experts,
    I am doing one sample Example for my requirement of converting the single source message data into the multiple Target messages.
    for example, when sender system is sending the 5 sale order details into a single message in PI then my Inbound proxy class of ECC R/3 receiver system must get this sale orders separately, that means inbound proxy class method must be triggered separately for 5 sale orders from sender system. for achieving this, I have used the Multi mapping concept in ESR (without BPM).
    This scenario is in Asynchronous mode.
    The below screen shots give the details on what I have configures so far.
    IN ESR
    IN ID
    IN SXMB_MONI of PI
    IN SXMB_MONI of ECC R/3 Receiver system (Error in Processing)
    due to this error, inbound Proxy class method is not being triggered for the single Sale order details as well,
    please let me know how to tackle this duplicate message ID issue when we have multiple payloads to process in a single message.
    please also let me know if is there any other workaround to fulfil this requirement.
    Thank you,
    Regards,
    Jagesh

    Hi Nunu,
    Check the below blog for restrictions.
    Multi-Mapping without BPM - Yes, it’s possible!
    Restrictions
    Messages that result from the split in a mapping-based message split are sent using one AE. So only adapters running on the AE are supported. In particular, this means that target IDOC message splits are not supported since the IDOC adapter is not part of the AE.
    Regards,
    Praveen.

  • Multi-Mapping without BPM

    Hi ,
    I am following this weblog
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    but stuck up with what are the fields contained by ID in target message2 ...
    Please check this for your clarification
    http://www.flickr.com/photos/11212307@N08/1135395357/
    Thanks
    dushanth

    ID will have only ID under it. instead of creating flat structure like the one above Jin has changed the strucutre below . you will have only ID field in it or you want u can add other fields in it .
    Regards
    Sreeram.G.Reddy

  • 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

  • 1:N mapping without BPM ( Idoc Receiver)

    Hi,
    I have a scenario like 1:N, source would be JMS and the receiver side have two Idocs with the same business system. based on one Item segment value, I need to route the input JMS message to corresponding receiver IDoc.
    INput Structure:
    Record
    Header 1..1
    H1
    H2
    H3
    Item 1..Unbounded
    I1
    I2
    I3
    NOte: Based on value I2, I need to route the message to corresponding receiver Idoc. like If I2=A then Idoc1 and I2=B then Idoc2. Can we achieve the same without using BPM?
    -Esha

    Hi,
    This can be achieved with Interface Determination conditions. Go for 2 mapping. And in Interface Determination put condition to check which mapping to use. No need of ccBPM.
    If you still want to go for 1:N multimapping please refer link:
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    without BPM.
    Regards,
    Vineetha.
    Edited by: Vineetha on Apr 27, 2010 11:44 AM

  • 1:n mapping without BPM

    Hello Friends,
    I need some help about this mapping issue.
    input file :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header></SOAP:Header>
         <SOAP:Body>
              <Object_1>
                   <ID>12222333444</ID>
                   <points>50</points>
              </Object_1>
              <Object_1>
                   <ID>12222333555</ID>
                   <points>20</points>
              </Object_1>
              <Object_1>
                   <ID>1222233777</ID>
                   <points>10</points>
              </Object_1>
         </SOAP:Body>
    </SOAP:Envelope>
    output file1 :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header></SOAP:Header>
         <SOAP:Body>
              <Object_1>
                  <ID>12222333444</ID>
                   <points>50</points>
              </Object_1>
         </SOAP:Body>
    </SOAP:Envelope>
    output file 2 :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header></SOAP:Header>
         <SOAP:Body>
              <Object_1>
                  <ID>12222333555</ID>
                   <points>20</points>
              </Object_1>
         </SOAP:Body>
    </SOAP:Envelope>
    output file 3 :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header></SOAP:Header>
         <SOAP:Body>
              <Object_1>
                  <ID>1222233777</ID>
                   <points>10</points>
              </Object_1>
         </SOAP:Body>
    </SOAP:Envelope>
    Best regards,
    FK

    I think you have not followed the blog properly for your requirement.
    for example: Source File is like this.
    <Records>
      <FirstName>Sarvesh</FirstName>
      <LastName>Singh</LastName>
      <Dept>SAP</Dept>
      <EmpID>12345</EmpID>
      <Domain>technical conslultant</Domain>
      <Experience>5 years</Experience>
    </Records>
    'N' Target Structure are
    <Records>
      <EmpName>
               <FirstName>Sarvesh</FirstName>
               <LastName>Singh</LastName>
      </EmpName>
    </Records>
    <Records>
      <EmpDetail>
             <Dept>SAP</Dept>
             <EmpID>12345</EmpID>
             <Domain>technical conslultant</Domain>
             <Experience>5 years</Experience>
      <EmpDetail>
    </Records>
    So if you think your requirement is as per the above examples then follow /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible blog.
    Regards,
    Sarvesh

  • Multi-Mapping with BPM?

    Hi Experts,
                    Can anyone send me a scenario which contains multi-mapping using BPM (collect pattern)........I searched on SDN but cudn't find any scenario which contains Multi-Mapping BPM scenarios. All the scenarios which r available based on without BPM.............points will given to the approriate replies.
    Thanks in Advance
    Faisal

    Hey
    strange you didn't find it,it was the second link when i searched SDN with the string "multimapping BPM"
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Thanx
    Aamir

  • 1:N Mapping without BPM - Inbound Structure

    Hello,
    I know that a 1:N Mapping without BPM should be possible with newer releases. I tried to do so and set the occurences in the signature tab of message mapping to 1:N.
    However the problem I am facing right now is that a new <Messages> element is wrapped around the source structure. So the incoming message is not valid anymore and therefore the target structure is empty. How should this be handled? Does the source system need to add a new <messages> root element or is ccBPM not avoidable in my case?
    Thank you!

    Hi Guppenberger,
    I understand your doing 1:N mapping without BPM.
    There is no need to added the message wrapper when you are testing your scenario end to end. But if you are testing your message mapping alone, wrapper is required in test tab of Message Mapping. Please refer this blow [Link|/people/ranga.rajan2/blog/2010/03/17/multi-mapping-with-a-simple-scenario--fledgling-kit ], have a look at payload screenshot. I suggest you to check you payload (for end to end testing) and mapping logic again.
    Regards,
    Raghu_Vamsee

  • N:1 mapping without BPM

    Hi All,
    Is it possible to do N:1 mapping without BPM in PI 7.1 ?
    Thanks and regards
    Uma

    Hi,
    >Yeah, It is possible.
    how can it be possible based on ANY requirement ?
    you just cannot receive many messages into PI and bundle them into
    one without BPM - and this is final
    can you tell the way if you know how to do it without a BPM
    in any (even very specific) scenario ?
    thanks,
    Regards,
    Michal Krawczyk

  • Error: 1:n multi-mapping using BPM for file to file scenario

    Hi. Iu2019m trying to do 1:n multi-mapping using bpm scenario. I use file to file. Input file consists of many records and then I want many record to be transformed into many file at target system. I follow step in http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/. However, I have a problem when file is retrieved in to XI. It doesnu2019t create any output file.
    When I look at SXMB_MONI, it shows u201CNo object type found for the message Check that the corresponding process is activated.u201D Besides, it shows error message "Unable to perform action for selected message" when i clikc at PE in SXMB_MONI.
    I have check at many previous posts with the same error message but still couldnu2019t solve it. I already activate my BPM and check that status in SXI_CACHE = 0. There is noting left in change list of my IR and ID.
    Here is my design and configuration.
    IR
    Data Type: DT_file_split -> for both input and output file
    Message Type: MT_file_split_sender, MT_file_split_receiver
    Message Interface: SI_file_split_in, SI_file_split_out, SI_file_abs_source, SI_file_abs_target
    Message mapping: MM_file_split for mapping MT_file_split_sender with MT_file_split_receiver
    Interface mapping: OM_file_split
    u2022     Source = SI_file_split_out
    u2022     Target = SI_file_split_in
    u2022     Mapping Program = MM_file_split
    BPM following this link http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/.
    ID
    Import my Integration process
    2 Communication Channel for getting input file (CC_File_split_sender) and creating output file (CC_File_split)
    2 Receiver determination:
    u2022     Source system to BPM using interface SI_File_Abs_source
    u2022     BPM to target system using interface SI_File_Abs_target
    1 Interface determination:
    u2022     from source system to BPM
    u2022     Sender interface: SI_File_Split_Out
    u2022     Receiver interface: SI_file_abs_source
    1 Sender Agreement
    u2022     Commu. Component: Source System
    u2022     Using interface: SI_File_Abs_source
    u2022     Sender Communication Channel: CC_File_Split_Sender
    1 Receiver Agreement
    u2022     Sender Communication Component: BPM
    u2022     Receiver Communication Component: Target System
    u2022     Receiver Interface: SI_File_Split_In
    u2022     Receiver Communication Channel: CC_File_Split
    Anyone know how to fix this?
    Thanks,
    Pavin

    Hi,
    Yes, thats the problem.
    You are creating file from test tab of  1..N mapping .
    In case of 1..N mappping in mapping Extra tags of messages are addded to the data.As shown here:-
    Messages
          Message1
               MessageType
    When you use this mapping to generate xml message then it will add additional tags for <Messages> and <Message1>, which is not correct. it should only have structure of you MT.
    So remove start and end tag of <Messages> and <Message1> from your data file. Mentioned below in bold.
    <xml......>
    <Messages>
    <Message1>
    <MT_...>
    </MT_...>
    </Message1>
    </Messages>
    This should solve your problem.
    Regards,
    Sami.

  • Multi mapping before BPM and then message routing to different IDocs

    I am working on PI 7.0.
    I have a scenario where a message from a third party needs to be split and then mapped to multiple IDocs in the target. This decision happens based on an RFC call to SAP ECC. Before the message passes to BPM, I have done a multi mapping to make the RFC call and split the message into multiple messages. Subsequently I have taken a multi line container inside the BPM to receive these messages and process them Parforeach and then a switch is applied to handle the rest of the scenario.
    Problem is when I am trying to execute the scenario, it fails in first step(multi mapping) before the BPM, it is not able to create the node for the multiple message.
    To explain a bit more, Message type say M1 is linked to Message interface MI1_OB. Then I have created an abstract message interface MI1_ABS and made it as 0---unbounded. Similarly in the message mapping I have changed the occurrence of the target message type (same as source message type)

    Hi Ambrish Mishra,
    Please check "Performing Several Multi-Mappings in a Series" [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/frameset.htm] . According it, second mapping should be able to accept this structure as input
    <?xml version="1.0" encoding="UTF-8"?>
    <sm:Messages xmlns:sm="http://sap.com/xi/XI/SplitAndMerge">
      <Message1>
      </Message1>
      <MessageN>
      </MessageN>
    </sm:Messages>
    Regards,
    Raghu_Vamsee

  • Multi Message Mapping without BPM: Limitaions

    Hi Crew,
    I have done this one(without BPM)
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3115. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    I understood that there cannot be multiple receiver services.
    This message splitting can be done only with one sender and one receiver business services (with many communication channels) without BPM.
    Am I right?
    Are there anymore limitations than this?
    Regards,
    Karthik kaveriselvan.

    <i>select multiple receivers using the + button.</i>
    one sender service.
    two receiver service referring to one target interface each with one communicaiton channel each.
    Two interface determination for two business services and they both are refering to the same enhanced interface mapping.
    Created receiver determination and added the two receiver service to it, but when looking at the configuration overview for receiver determinaiton, for each service, both the target interfaces used in interface mapping are listed and the reciever determination shows "Does not exist".
    When I run the scenario, I get "No receiver agreement found" error.
    Please calrify how many receiver agreements have to be configured and how?
    Thanks
    karthik

  • 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

  • Complicated n:1 mapping without BPM

    Hi all,
    I have a very hard requirement from my boss.
    There will be two source csv files. Header and Details.
    The target is an IDOC.
    There can be multiple lines in the Header, and in the Details as well. I need to join these two files and then group the right Header and Detail (using a key field in both sources).
    Here is an example:
    Source Header File
    123456 10001 20110809 cotton
    111111 10002 20110808 wood
    121212 10003 20110807 metal
    Source Details File
    123456 London A
    123456 Paris B
    123456 Amsterdam C
    111111 Japan A
    111111 Singapore B
    111111 China C
    121212 Egypt A
    121212 South Africa B
    121212 Syria C
    Target
    1st IDOC
    123456 10001 20110809 cotton
    123456 London A
    123456 Paris B
    123456 Amsterdam C
    2nd IDOC
    111111 10002 20110808 wood
    111111 Japan A
    111111 Singapore B
    111111 China C
    3rd IDOC
    121212 10003 20110807 metal
    121212 Egypt A
    121212 South Africa B
    121212 Syria C
    I need to do this without BPM. Any help would be appreciated.
    Thanks!
    Regards,
    SAPenthusiast

    Create 2 message types for header file having same fields but with differnt name ,
    2 message types for detail file having same fields but differnt name
    In the second message type add extra field called header  and detail respectively
    for header --- Map message type 1( header) with message type 2 ( header only but with an extra field )
    for detail --- Map message type 1( detail ) with mesage type2 ( detail only but with an extra field for file name)
    then comes the multimapping in which source will be message type 2 of header and message type 2 of detail and target will be idoc
    since both the source message type will have  source data and file name in them .. write a logic and try
    first the single one -to one mapping will get executed then the  multimapping will get executed ( if u write condition in it)
    even if u place both the files simultaneously on server there will be time gap in picking of these files therfore you have to write the condition and identify in multimapping to check and see that one header and one detail is present
    hope this helps I m not too sure .. BPM will only be used in case when u want the files at the same time  for multimapping
    if u can try and find logic to avoid that it wil work
    thanks
    Ninad

Maybe you are looking for

  • Problems trying to load SCORM version of Presenter module with Macs

    Hi there I am thinking of using a Presenter module to provide orientation information to students. The module will have quizzes embedded in it. Because of this, I am planning to upload the Presenter file as a SCORM package to our Learning Management

  • Default Value for Order Type based on Company Code  in ME21N

    Hi,      Using ME21N, I want to make the PO type defaulted to a certain company code, say for instance Company code  XYZ should have a PO type XYZ Purchase Order, ..company ABC should have a PO type ABC Purchase Order, and so on...I'm just puzzled ho

  • Changing views in Mail

    Hi, I hope this is the right section. Couldn't find a dedicated Mail one. I have just reinstalled everything to get my MacBook Pro running 10.8. When I open Mail I get a list of emails, which is fine. But I used to have the window split 50/50 with th

  • Is there a way to have the same action listener for few buttons?

    guys, lets say i have button1, button2 and button3 how do i add the same action listener for 3 of them. doing 3 different action listener is very tedius! my assignment have almots 100 buttons but I need their action listener to be the same.

  • Java Runtime will not uninstall!

    I just tried to install sun's java vm (v.1.4.1_02), but nearing the end of the installation, the install would not go any further so I had to cancel. Now my system says that the runtime environment is installed, but if I try to uninstall it in the co