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

Similar Messages

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

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

  • Multimapping (1:N) without BPM  idoc to file

    Hi
    I have a scenario in PI7.1 like source is idoc ,it should be splitted into 14 different files based on some condition.
    I am doing this without BPM(1:N) message mapping and operational mapping is working fine.
    Whent i am testing,empty files are generated means no values comming except the target message type.
    Note: checked the most of the links and blogs but no help
    Everything seems fine but not getting the values.Can anybody help. Can multimapping done with source idoc?
    Thanks in advance.
    Thanks
    Prasad Nemalikanti

    Hi Prasad,
    It will definitely work and please see the jin for exactly the same scenario.
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    While testing in mapping make sure you put your payload within:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <YOUR PAYLOAD HERE>
       </ns0:Message1>
    </ns0:Messages>
    Regards,
    ---Satish

  • 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

  • 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

  • 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

  • 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

  • 1:2 Message Mapping WithOut BPM - Split mapping created no messages Error

    Hi,
    I am a new-bie to SAP PI and am trying out the following scenario without BPM.
    Make multiple files based on Age received from input file.Input File contains Name,DOB and Output File contains Name, Age.
    I want to create 2 files, one containing details of people with Age <21 and the other output file containing details of people with Age >= 21.
    To acheive this,
    In IR, I created 2 DT and 3 MT,1 MM with 2 Target MT,both having occurences 0..unbounded, 1 IM with 2 Target MI,both having occurences 0..unbounded
    And in ID, 1 Sender Agreement, 2 Receiver Agreement, 1 Receiver Determination, 1 Interface Determination using Enhanced Interface Determination.
    When i run this scenario, I am getting the following error "Split mapping created no messages"
    Please let me know how can I resolve it.

    Oops, I did not know that.
    Thanks for that information. uhuuuuuuuuuuu, atlast the message is processed and I am seeing output files created.
    But, there is still one problem. My output files are created with just the following content
    <?xml version="1.0" encoding="utf-8" ?>
      <ns1:MT_2OP_File_Out xmlns:ns1="http://POC_Sec1_1IP2OP2" />
    In MM, I see the output message as follows:
    Message
         Message1
             MT_2OP_File_Out
                  Employee
                      Name
                      Age
         Message2
             MT_2OP_File_Out1
                  Employee1
                      Name
                      Age
    The mapping done:
    MT_2OP_File_Out and MT_2OP_File_Out with the Message Type element on source end.
    Employee and Employee1 are mapped as
         Age -> removeContext -> SplitByValue[Each Value] < 21, Map Employee
         Age -> removeContext -> SplitByValue[Each Value] >= 21, Map Employee1 resp
    The fields are straight maps.
    Is there any basic mapping error that I am making. Please help.

  • Sync/Async JMS without BPM - No receiver specified in message object

    Hi All,
    My scenario is Proxy - JMS - Proxy.  I have chosen to do this without BPM and had followed closely to the instructions given in various help documents/blog/forum threads.  During testing, the proxy returns a system fault 'No receiver specified in message object'.  In RWB it indicates that the correlation is correct and the JMS Receiver adapter is getting the response, below is part of the audit log:
    2009-08-03 18:12:32 Information WRB: retrieving the message for de80831d-97f5-08f1-bdaf-00145e6883af ...
    2009-08-03 18:12:33 Information WRB: retrieved the message: ApplicationResponse
    2009-08-03 18:12:33 Information WRB: leaving WaitResponseBean
    2009-08-03 18:12:33 Information MP: leaving
    2009-08-03 18:12:33 Information The message was successfully delivered to the application using connection JMS_http://sap.com/xi/XI/System.
    2009-08-03 18:12:33 Information The message status was set to DLVD.
    When I check SXMB_MONI in XI-ABAP, I see 2 messages with status 'System Error - Restart not possible' and 1 with status 'Log Version'.  The message with status 'Log Version' is the respond.  The other 2 messages has the following error:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">NO_RECEIVER</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No receiver specified in message object</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    It seem to me that the system does not know where to go/what to do next after returning to the JMS Receiver adapter.  I am at a lost what could have gone wrong.  Here is how I've done my configuration.
    Repository
    - Sync Sender Interface for R/3 Backend
    - Sync Receiver Interface for MQ
    - Async Sender Interface for the reply
    Directory
    - 1 CC for JMS Recevier
    - 1 CC for JMS Sender (for the respond)
    - 1 CC for Proxy Sender
    - 1 Interface Determination
    - 1 Receiver Determination
    - 1 Receiver Agreement for JMS Receiver
    - 1 Sender Agreement for the reply
    Any help is appreciated.  Thanks.

    Hi Prateek,
    This is what was tried in my first case. I did exactly what was given in that link.But since the Message id being 32 bytes and length of correlation id is 24 bytes id is getting truncated.
    So its not working fine.
    @ke i am having a look at the note will update you on this
    Thanks for your response
    Rgds
    Aditya

  • 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

  • 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

  • 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

  • Problem in 1:N mapping without BPM

    Hi Friends
    I am stuck with this problem.In Idoc to FIle scenario there are multiple files to be generated at the same reciever system.We are doing this without the use of BPM
    While running the scenario we get this error :
    <SAP:Stack>com/sap/xi/tf/_MM_COM_BONUS_BUY_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntimeException in Message-Mapping transformatio~</SAP:Stack>
    Even though when we test the same mapping in the Test tab of the IR we are not getting any error.
    We have checked "Enhanced" while creating Interface determination.
    Please help
    Thanks

    Hi
    According to the ur error u have a target node called ROOT_MixMatch.this node is not being generated proper.
    check whether this node u require maultiple times or single time if u require multilple time then the occurence for this node shoud be 0..unbounded.
    and also check the data that u are passing is correct or not means is u have defing as string so u are passing as string or not or there may be error in the data fornmat also.
    or just go the graphical mapping that u have craeted for this field/node just right click and then run the display queue. u will come to kow about the error.
    if u still face the problem please reply me back
    Thanks
    Rinku

Maybe you are looking for