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

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.

  • 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

  • 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 ... multiple records works, one record doesn't

    I'm using JDBC to select rows from an external Oracle database, XI receives the message, splits it into multiple messages (one for each record returned) and, using RFC/BAPI, takes each record and writes it to an SAP table on an SAP system.  I'm using the RB_SPLIT option in my Interface Determination and in my Interface Mapping I'm using Source occurrences = 1, Target occurrences = 0..unbounded. 
    This works GREAT ... as long as there is more than one record returned from the select statement in the JDBC setup.  If the select statement only returns one record, nothing gets transferred.  If it's any amount of records more than 1, it works perfectly.
    Why won't it process one record?  What can I do to get it to process one record, without messing up the great job it does for more than one record?
    Thanks!

    Hi Michael -
    I have a similar setup (at least on the sender side) and whether I have multiple records returned or just one, I'm getting my expected result.  FYI, I'm using a file receiver.
    I would first take a closer look at your mapping.  Get the one record XML that is sent to the Integration Server and test your message mapping in the IR.  Remember to put it in between the tags below:
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
       </ns0:Message1>
    </ns0:Messages>
    Regards,
    Jin

  • 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

  • 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

  • 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

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

  • Problems with multiple idocs in one file ( Inbound file )

    HI,
    Thanks in Advance for your suggestions.. Highly appreciated.
    We have problems with multiple IDocs in one file.
    We are using XIB ( Amtrix ) as Middleware to receive the files.
    Curretenly When the file contains one IDoc then there is no problem. IDoc is created and everything is ok.
    If file contains two IDocs ( for example two messages ORDERS and DELVERY ) then it is creating two IDocs but both IDocs contains ORDERS plus DELIVERY segements information. That is the problem. Some how SAP unable to differentiate the IDocs in the file.. But it knows that how many idocs are there in the file..because it is creating exact number of idocs.
    We are using TRFC port ... Do I need to change it to File port..
    When we have more than one idoc do we need set any parameter in the file ...

    Thanks for the swift response. Always ideas are useful.
    As of now , Middleware cannot split the file.
    Thing is SAP is creating two Idocs with different message types. Problem is First IDoc contains ORDERS message type but also DELIVERY segments as well. Second IDoc with DELIVERY message tyoe but ORDERS segments as well... This is the problem... I think we are missing some field activation in file for EDIDC record.
    As far as I know file port supports the number of IDocs in one file.. Hope TRFC port also supports that

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

Maybe you are looking for

  • MM Integration with other modules

    Hello & thanks for being so quick in responding me , Can someone help me with the integration of MM-PP,MM-QM, is there anymore modules apart from these 4 which interact with MM i mean SD FI QM & PP.

  • How do i make windows 8 on my mac brighter

    My mac has boot camp installed using windows 8 and the brightness is set at its highest but the screen is pretty dim.

  • Funktion to create MM Scheduling agreement

    Dear all, I am looking for a funktion/bapi to create material scheduling agreements in SAP. I think BAPI_PO_CREATE1 does only create purchase orders. Any ideas how to create scheduling agreements by funktion? Kind regards Roman

  • MDM 5.5 installed in Netweaver/Abap instance MCOD

    Since MDM 5.5 install guide does not include Oracle as part of the installation (the installation is not SAPINST based), I installed MDM servers connecting to a netweaver/Abap instance that got installed separately, so in this case my MDM installatio

  • Macbook will only see AEx when I'm standing in the stairs

    All right, this might be a stupid topic title but at least it says it all. It reminds me of my first cell phone, that I could only use when crouching in the shower to get a proper signal. I can only get my Macbook to connect to my AEx network when I'