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

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.

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

  • 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

  • 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

  • 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

  • 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

  • My MacBook is incorrectly recognizing fresh DVDs as needing to be erased before use, and then announces that this disc cannot be erased.  How to correct?

    My MacBook is incorrectly recognizing fresh DVDs as needing to be erased before use, and then announces that this disc cannot be erased.  How to correct?

    All over the internet, you can also pick them up in any electronics store or electronics section of a store (wal-mart for example).

  • Is it possible to load an instructional DVD with several chapters onto my iMac and then somehow access the different chapters as needed remotely on my iPad?

    Is it possible to load an instructional DVD with several separate chapters onto my iMac and then somehow access the different chapters as needed remotely on my iPad?

    The "TDMS Open" node does more than open a file handle, it will load meta data (including file/group/channels' properties) and create index structures in ram for fast accessing any raw data in TDMS file. Thus, my advice is:
    1) You can save the efforts to write sub-VIs to preload properties of a TDMS file at least, since they are already kept in memory after the file is opened.
    2) Since index structures are presented, the performance to read data of any part in a tdms file will not be affected by the file size and the read performance might already satisfy your application. You can have a try.

  • 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

  • Exception Handling for Multi Mapping in bpm

    Hello,
    does anybody know a way of catching an error occured in a multi-mapping used in an integration process.
    It seems to me, that when i am using a multi-mapping in an integration process and an error occurs, the message cannot get back to the integration process. In smq2 I can see, that there is the following error:
    CX_MERGE_SPLIT
    Regards
    Günther

    The transformation-step is in an block with an exception branch and it is well configured.
    When I use a 1 to 1 mapping and an error in the mapping occurs, all is correct. The integration process jumps in to the exception branch and finishes  correct. But when use a multi mapping (1 to n; n to 1; n to m) and an error in the mapping occurs, then there is always an error in the bpe inbound queue.
    There must be some problem with the split-and-merge program. I think that the split-and-merge program handles the merging of n messages into 1. You can see this when you test a mapping in the integration builder designer. In a multi-mapping there you can see a xml-structure that envelopes the application messages, f. ex.:
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <myMessage1>data</myMessage1>
       </ns0:Message1>
       <ns0:Message2>
          <myMessage2>data2</myMessage2>
       </ns0:Message2>
    </ns0:Messages>

  • Spliting files based on condition using multi mapping with BPM

    Hi All,
    Can any one please let me know How to <b>Splite the outbound records based on condition using multi mapping with Integration Process in BPM</b>?
    Thanks
    Govindu.

    Hi All,
    Sorry for mistake this question for Exchange infrastructure guys.
    Thanks,
    Govindu

  • Screen gets blurry and then message

    HI.
    I was recently give a imac. It is a G4 - 1.8Ghz. It starts up fine and works for a little bit and then all of sudden the screen starts to get pixelated and everything hangs and then a message pops up and says that I must restart the computer. I read some stuff about it being a panic kernel but no mention the screen going wonky when that happens. I reset the pram, reset the firmware, and did a file system check on start up. Nothing seems to work. I even tried to do a disk repair but when it starts - it goes crazy again and the message comes up.
    Is this fixable? Any ideas on how to fix this?
    Thanks in advance.
    L

    Here is an excellent article on resolving kernel panics:
    http://thexlab.com/faqs/kernelpanics.html
    I was recently give a imac. It is a G4 - 1.8Ghz
    The iMac G4s were never faster than 1.25Ghz. Is it possible you have a G5 iMac like this:
    !http://images.apple.com/support/images/heroimacG5isight.jpg!
    The most informative way to confirm a Mac model is to do "About this Mac..." from the Apple menu and, in the resulting window, click the button labeled, "More info...."
    System Profiler opens to a "Hardware Overview" window whose first few lines absolutely identify your model.

  • Why are my imessages and text messages in a different chat when im texting one person?

    when i am texting my friend and my message sends as a text everything is fine but when she replies with an imessage it goes into a different chat so i have to keep changing chats to reply depending on whether the message is an imessage or text message, how do i make it so they are in one chat?

    Greetings Tiffany,
    It sounds as though you are receiving iMessages from your friend yet she is receiving SMS text messages from you rather than iMessages, and this is causing your conversations to appear as two separate items in the Messages application, is that correct?
    I would suggest following the steps in this article to troubleshoot this issue, so that what you send is sent as an iMessage -
    iOS: Troubleshooting Messages - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Extraction failure and then picked up due to IDOC setting on source system

    hi All,
    Just give one master data Company Code load as an example.  We run the data load every night around 12 though Process Chain.  When we checked the monitor, find that it ran twice, 1st time, it ran at 12 which was supposed to run, but it failed with red error and the red error msg is:
    "IDocs were found in the ALE inbox for Source System that are not updated. Processing is overdue."
    then it ran again at 07:45:55 which was successful with green light. We guess this problem is caused by IDOC setting on the source system.  Run WE02 on the source system, expend Inbound IDocs folder and then expend RSRQST folder, find status 64 which indicates the yellow status. 
    Can anyone explain here why the extraction failed 1st time around 12am due to IDOC setting on the source system, and then the run was picked up around 7am successfully?
    Thanks in advance!

    Hi Kevin,
    this is really a strange behaviour. What I could imagine: it could be temporary network issue or performance issue or system unavailability on the r/3 source system side. maybe you could check if other processes/jobs on R/3 were canceled, or if there is any system log available at the time concerned.
    Lilly

Maybe you are looking for