No messages created from split mapping - Multimapping

Hi,
Getting the error in MONI saying that : No messages created from split mapping
Sender is :
   <Purchase>
            <Number>007</Number>
            <Desc>RAJ</Desc>
            <Quantity>half</Quantity>
   </Purchase>
Target should be 3 files such as:
  <Purchase>
            <Number>007</Number>
            <Desc>RAJ</Desc>
   </Purchase>
<Purchase>
            <Number>007</Number>
            <Quantity>half</Quantity>
  /Purchase>
<Purchase>
             <Desc>RAJ</Desc>
            <Quantity>half</Quantity>
</Purchase>
Regards,
Y.Raj.

Hi,
In your mapping select the cardinality of source message as 0..1 while that of target message should be 0..unbounded.
Also since you are not using all the elements of source into all the target messages (seems using only two source elements in each target msg) do the mapping accordingly...i doubt whether you can achieve your requirement in one mapping itself....may be you will have to follow what Tarang mentioned:
3. have 3 mappings between source structure and MT1(map only num,dec), source struc and MT2(map num,Qty) ....
Exception to above statement:)
If you set the target cardinality as 0..unbounded then duplicate the root target node thrice (as per your requirement)....and then map each target section seperately....
Regards,
Abhishek.
Edited by: abhishek salvi on Apr 7, 2009 9:12 AM

Similar Messages

  • No messages created from split mapping

    Hello,
    My Scenario is JDBC to Proxy and there is  1:n Mapping
    I had done the multi mapping and done the all the necessary configuration in the MM, IM and ID
    I tested the payload in the MM and IM and it is working fine.
    But while iam doing the end to end testing in the ID --- Test Configuration,It is showing the error at Interface Determinmation and Mapping step.
    In SXMB moni, iam getting error as
    - <!--  Request Message Mapping
      -->
    - <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="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>No messages created from split mapping</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No messages created from split mapping</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The below is my source payload.
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:mt_vendor_fusiondb xmlns:ns="http://loreal.com/poc_vendor">
    - <row>
      <ID>1</ID>
      <LIFNR />
      <NAME1>SriTest</NAME1>
      <PSTLZ>07066</PSTLZ>
      <LAND1>USA</LAND1>
      <TELF1>1234567890</TELF1>
      <Status>READY</Status>
      <LastUpdated>2008-11-20 09:20:00.0</LastUpdated>
      </row>
    - <row>
      <ID>2</ID>
      <LIFNR />
      <NAME1>GilderTest</NAME1>
      <PSTLZ>07066</PSTLZ>
      <LAND1>USA</LAND1>
      <TELF1>1234567890</TELF1>
      <Status>READY</Status>
      <LastUpdated>2008-11-20 09:20:00.0</LastUpdated>
      </row>
    - <row>
      <ID>3</ID>
      <LIFNR />
      <NAME1>KarthikTest</NAME1>
      <PSTLZ>07066</PSTLZ>
      <LAND1>USA</LAND1>
      <TELF1>1234567890</TELF1>
      <Status>READY</Status>
      <LastUpdated>2008-11-20 09:20:00.0</LastUpdated>
      </row>
      </ns:mt_vendor_fusiondb>
    Please help me in resolving this error
    Srinivas

    Hi Carlos,
    Now my message mapping is working, the error is in the messagetype i declared 'row' as capital letters,due to this in the runtime it is erroring out in the request message mapping.
    But still I had one more issue,iam getting error in Technical routing, the error is
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  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">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 be sent to one adapter engine only</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    In the ID i checked the radio button extended.
    But still iam getting the above error.Can you guide me in resolving the error

  • No messages created from split mapping   error .....

    HI XI Friends..
    In My XML to RFC scenario,,
    i am doing message splitting withput BPM.
    in message mapping ..i changed target message occurance to unbounded
    and same i did in interface mapping also..
    static test is OK..creating multiple target messages in static test.
    in interface determination,using enhanced option i given interface mapping.
    file is picking but in SXMB_MONI ...i am getting error like this
    <?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="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>No messages created from split mapping</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No messages created from split mapping</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    please guide me..
    regards
    ram

    Hi Ram,
    Check these..
    Split mapping created no messages
    Message Split without BPM - Error
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Duplicate Messages created on target with Multimapping(No BPM)

    Hi
    I am working on PI7.1 .
    My sceniro
    IDOC to JMS using message split
    Receiving IDOC with Header and Items, PI splitting IDOC and sending to Multiple JMS queues, Header segment data to header queue, Item segment data to Item queue
    PI Successfully Posting data to Queues, but duplicate messages creating on target sys(One IDOC with one header and one item date, PI sending 2 header messages , two item messages to target sys) .
    I did following steps
    ESR
    1. Created two target messages
    2. Created Two target inbound interfaces
    3. Created Message mapping using with multiple target messages, changed signature occurrence to 0 : unbounded , and mapped to source node to target nodes
    4. Created operation mapping with one source to two target interfaces
    EB
    1. Created one business components and assigned one sender and two receiver service interfaces
    2. Created Two receiver communication channel
    3. Created One receiver determination
    4. Created One interface determination , added two inbound interfaces with one operation mapping (Multiplicity is blank )
    5. Created two receiver agreement
    Please help .

    Thanks Gouri ,
    My IDOC structure (Source Message Type)
      HEADER_SEG Node (0:9999) -
    > MT_HEADER ( 0:unbounded) (this one of target message type)
                                                                    HEADER_FLDS  (Element - Main hierarchy)
             FLDS----
    >  FLDS
    ITEM_SEG Node (0:9999)  -
    >MT_ITEM(0:unbounded ) (this is another message type)
                                                                    ITEM_FLDS (Element - Main hierarchy)
             FLDS----
    >  FLDS
    I tried with the below mappings
                    HEADER_SEG Node -
    >MT_HEADER
                    HEADER_SEG Node -
    > HEADER_FLDS (element )
                    ITEM_SEG Node -
    >MT_HEADER
                    ITEM_SEG Node -
    > ITEM_FLDS (element )
    2. method
                    HEADER_SEG Node -
    >MT_HEADER
                                                           HEADER_FLDS (element )(not mapped)
                    ITEM_SEG Node -
    >MT_HEADER
                    ITEM_SEG Node   ITEM_FLDS (element )(not mapped)

  • Accessing SAP:HopList element in message header from JAVA-mapping

    Dear Experts,
    Is it possible to access the SAP:HopList element from message header in JAVA-mapping? 
    I need this to get the list off all receivers of current message (I have a ReceiverDetermination with two receivers, without any conditions, so both receivers are receiving each message and in InterfaceDetermination to one of the receivers I have a JAVA-mapping, in which I need to know the name of another receiver. And the SAP:HopList is containing this information).
    Or maybe where is some other solution?
    Best Regards,
    Artsiom Anichenka

    That's tricky, since the proper way of doing it would be through BPM.
    Anyway, if you expose your XI interface as a WebService (Soap sender cc) you could access it through Mapping Lookup (lookup works for RFC, DB and Soap lookups). Check https://help.sap.com/javadocs/NW04S/current/pi/index.html
    But be aware that Mapping Lookup API is not intended for inserts/updates (since it doesn't contain any transacational handling), just mere lookups (selects in tables), so I'm not sure it is the best approach for your case.
    Regards,
    Henrique.

  • Query another message payload from graph mapping program

    Hi all,
    I have the following scenario
    Third Party Business System -> XI -> ECC 5.0
    Third Party sends ORDER to ECC and ECC answers with ORDRSP
    When mapping ORDRSP.ORDERS05 to Third Pty format, I need to use info that the Third Party provided us on the ORDERS.
    So... I have to query the ORDERS message payload from ORDRSP message mapping program.
    Any ideas?
    My first idea deal with doing an RFC lookup to search the ABAP Database for this info (my ABAP background raises ) but I'd like to know if there is a more elegant and efficent way of doing this.
    regards,
    David R.

    Hi,
    Let's try again to explain myself with my poor english!
    Time frame
    A) TPart system sends order. XI maps to ORDERS.ORDER05 idoc and is forwarded to ECC.
    B) In ECC users modify Sales order and then triggers the outbound ORDRSP.ORDERS05.
    C) XI has to map ORDRSP.ORDERS05 and include some info (in fact the original message) that was sent in step B).
    The xmls from TPart could be (simplified version):
    Orders (step A)
    <?xml version="1.0" encoding="iso-8859-1">
    <document>
      <header>
      </header>
      <Items>
      </Items>
      <Items>
      </Items>
      </Header>
    </Document>
    The received XML on step C) could be something like this:
    <?xml version="1.0" encoding="iso-8859-1">
    <Document>
      <PurchaseOrder_from_vendor>
      <i>Here I have to include the whole xml sent in step A</i>
      </PurchaseOrder_from_vendor>
      <SalesOrder_from_customer>
      <i>Here the ORDRSP.ORDERS05 mapping stuff</i>
      </SalesOrder_from_customer>
    </Document>
    All the communication will be always async.
    Any ideas?
    regards,
    David R.

  • Call another Message Interface from Java Mapping

    Hi Gurus!!
    I have designed a Java Mapping that does a Socket Connection. Before send the response of the Java Mapping, I have to send information to our SAP System.
    I have see in a blog that I can call a RFC from the Java Mapping, but my doubt is, can I call another Message Interface designed on XI?
    Thanks and regards,
    Manuel Míguez.

    That's tricky, since the proper way of doing it would be through BPM.
    Anyway, if you expose your XI interface as a WebService (Soap sender cc) you could access it through Mapping Lookup (lookup works for RFC, DB and Soap lookups). Check https://help.sap.com/javadocs/NW04S/current/pi/index.html
    But be aware that Mapping Lookup API is not intended for inserts/updates (since it doesn't contain any transacational handling), just mere lookups (selects in tables), so I'm not sure it is the best approach for your case.
    Regards,
    Henrique.

  • Terminate Message processing From UDF/mapping

    i think u will be checking the condition first if its false then u will be raising alert.
    wat u can do is when the condition fails u set the flag to false and send the output of UDF to ifwithoutelse statement and becuase of which ur mapping will not be processed.
    u have to do it at root node level and u have to supress the target node when the condition fails.
    chirag

    wat exactly r u doing?
    U have to first check all the condition at root level only before message get processed, based on that result u will stop the processing of message at the target end.
    u ahve to set the falg in UDF and accordingly u need to suppress the target root node.
    chirag

  • Multi Mapping issue - *Split mapping created no messages*

    Hi,
    The scenario I am trying to test is a multi mapping scenario where I am trying to split one source message and create two target messages by using two different inbound service interfaces, one for each message type.
    I am on PI 7.1 and when I test message mapping and operation mapping using the payload from SXMB_MONI, it is successful. Whereas when I test the scenario end to end I am getting the following error messages:
    Runtime error
    *Split mapping created no messages*
      Start tag ns0:MessagesStart tag ns0:Message1Close tag ns0:Message1Start tag ns0:Message2Close tag ns0:Message2Close tag ns0:Messages
    Could someone please help
    Cheers,
    S

    Hi,
    (1)First change the occurrence of target message to 0..unbounded.
    (2) Do the mapping and test it under test tab of mapping whether your mapping is working fine creating target records.
    (3) Copy the source code from mapping and remove the unwanted tags "as Mark said " those were created due to multimapping.
    Then test that file and that will work.
    You can follow this link .
    Link :Message Splitting
    Thanks
    Rabi
    Edited by: RabiPanda on Nov 17, 2011 8:42 AM

  • MAPPING GENERIC (Split mapping created no messages) error is sxmb_moni

    Hello,
    We are having thousands of messages failing in sxmb_moni due to MAPPING GENERIC error. It also states that <i>Split mapping created no messages</i>. Where will I start my investiagtion? I already checked both ID and IR but I could hardly determine what causes this error.
    Here is a part of the error message from the trace:
    <Trace level="2" type="T">......attachment XI_Context not found</Trace>
      <Trace level="3" type="T">Mapping already defined in interface determination</Trace>
      <Trace level="3" type="T">Object ID of Interface Mapping 6FB317EF58B136D6BEAB6E567934CC40</Trace>
      <Trace level="3" type="T">Version ID of Interface Mapping A872F380930B11DAAB6EF47891374079</Trace>
      <Trace level="1" type="T">Mapping-Object-Id:6FB317EF58B136D6BEAB6E567934CC40</Trace>
      <Trace level="1" type="T">Mapping-SWCV:A872F380930B11DAAB6EF47891374079</Trace>
      <Trace level="1" type="T">Mapping-Step:1</Trace>
      <Trace level="1" type="T">Mapping-Type:JAVA</Trace>
      <Trace level="1" type="T">Mapping-Program:com/sap/xi/tf/_GBO_MaterialMaster_StandardBusinessDocument_TO_LOCAL_Governor_</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="3" type="T">Multi mapping required.</Trace>
      <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_GBO_MaterialMaster_StandardBusinessDocument_TO_LOCAL_Governor_.</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._GBO_MaterialMaster_StandardBusinessDocument_TO_LOCAL_Governor_</Trace>
      <Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
      <Trace level="3" type="T">Using existing</Trace>
      <Trace level="3" type="T">Executing Query: SELECT TO_VALUE FROM ICC_MAPPING_VIEW WHERE FROM_CODING = SIRIUS AND TO_CODING = GS1 AND OBJECT = TRADE-ITEM-TYPE AND FROM_VALUE = 30</Trace>
      <Trace level="1" type="T">SELECT TO_VALUE FROM ICC_MAPPING_VIEW WHERE FROM_CODING = SIRIUS AND TO_CODING = GS1 AND OBJECT = TRADE-ITEM-TYPE AND FROM_VALUE = 30 successfully returned: E-HPC_PRODUCTS</Trace>
      <Trace level="1" type="T">ret: :E-HPC_PRODUCTS</Trace>
      <Trace level="2" type="T">noReceiverFound</Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
      <Trace level="2" type="T">Java mapping com/sap/xi/tf/_GBO_MaterialMaster_StandardBusinessDocument_TO_LOCAL_Governor_ completed. (executeStep() of com.sap.xi.tf._GBO_MaterialMaster_StandardBusinessDocument_TO_LOCAL_Governor_</Trace>
      <Trace level="3" type="T">Message Type 1 Number of Messages 0</Trace>
      <Trace level="3" type="T">Message Type 2 Number of Messages 0</Trace>
      <Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
      </Trace>
    - <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">
      <Trace level="3" type="T">No persisting of message after plsrv call, because of config</Trace>
      </Trace>
      <Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
    Thanks in advance!

    <Trace level="3" type="T">Using existing</Trace>
    <Trace level="3" type="T">Executing Query: SELECT TO_VALUE FROM ICC_MAPPING_VIEW WHERE FROM_CODING = SIRIUS AND TO_CODING = GS1 AND OBJECT = TRADE-ITEM-TYPE AND FROM_VALUE = 30</Trace>
    <Trace level="1" type="T">SELECT TO_VALUE FROM ICC_MAPPING_VIEW WHERE FROM_CODING = SIRIUS AND TO_CODING = GS1 AND OBJECT = TRADE-ITEM-TYPE AND FROM_VALUE = 30 successfully returned: E-HPC_PRODUCTS</Trace>
    <Trace level="1" type="T">ret: :E-HPC_PRODUCTS</Trace>
    <Trace level="2" type="T">noReceiverFound</Trace>
    <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
    You have used the Trace object to write some Trace in your User Defined Functions. Does this trace make sense in terms of your mapping logic to you?
    Did you remove the <messages> tag from your source message?
    Also, If you are using multimapping make sure that the mapping creates all the messages in the Target Side and that the Inbound adapter is neither Idoc nor HTTP.
    Regards
    Bhavesh

  • Split mapping created no messages -Mluti Mapping

    Hi ,
    I am using Multimapping without BPM,XML to flat file Scenario (PI SP12) and I am getting this following error in SXMB_MONI
    <?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="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>Split mapping created no messages</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Split mapping created no messages</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I know this is very known error.
    I refered  Split mapping created no messages
    and blog  /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    but they didn't help,but I have just one target message structure not two like in the blog.
    I double checked my source input XML file
    1.mapped my header (0--unbounded) to the Message type ,cos I need to get many file as many times my header occur in the source.
    2.checked in MM target Mesasge is   0---Unbounded
    3.checked in IM target Messag is 0--- unbounded
    4.used Enhanced Interface determination.
    when I test with the same sample XML data in test MM ,I am getting
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1></ns0:Message1></ns0:Messages>
    seems like no data in it,but system message is <b>Mapping executed successfully</b>
    does it give like this when use multimapping?
    basically it is not able to split the source message as required.
    any suggestion?I think I chcked all whatever needs to be right.
    thank you,
    Babu

    Hi Agasturi,
    thank you for your response.
    >>If the Pay load is huge some time it will be empty message after pasting one time try to execute it again, Let us check the error message now.
    I don't think my message is huse.just 60MB but header repeating like 100 times ,so it would generate 100 output files
    OK,for safe side,I just took one record from my payload and also three records from my payload (SXMB_MONI),I get the same error in  SXMB_MONI
    "Split mapping created no messages "
    and in MM Testing similar to the previous one ,like
    no output data just empty tags as given in my very first message and system status "mapping executed Successfully.
    I have done similar scenarios using Muli mapping ,and I did this same way.there is no difference .I did exactly same as my earlier interface.but in this interface I have only differences from earlier interface "occurences of my source structure.
    earlier I have SOURCE Header(1-unbounded ),header fields 1-1  trailer (0unbounded) trailer fields 1-1 so I created  my target structure Header,header fields 1-1 and trailer(0unbounded) trailer fields 1-1 that time.
    now I have
    SOURCE Header(0-unbounded ),header fields 0-1  trailer (0unbounded) trailer fields 0-1 so I created  my target structure Header,header fields 0-1 and trailer(0unbounded) trailer fields 0-1
    and mapped my header(0unbounded) to my MT-XYZ(0unbounded (after changing in the message tab occu to 0--unbounded)) to get as many as my hear times.
    any suggestion?
    thank you,
    Babu.

  • Please help me to solve error: Split mapping created no messages

    Hi Experts,
    I am facing Split mapping created no messages  when i run my scenario.
    My Scenario is : Proxy to FILE.
    I am triggering Proxy and based on one condition i am generating different Flat Files.
    Now when i do this i am getting error :Split mapping created no messages in SXI_MONITOR.
    When i check this in Message Mapping by taking data from SXI_MONI its working fine...
    but when i trigger the data from RUNTIME WORKBENCH its throughing the error.
    When i remove the NameSpaces <ns0:message>
    and <ns0:messages1> its working fine.
    How can i solve this issue.
    Even though i removed Namespace in Message Type, i am getting the error.
    I changed occurance of Target message to O..unbounded both in Message Mapping and Interface Mapping.
    Its working fine in Message Mapping, problem occurs only when i run end-to-end scenario.
    So please help me to solve this issue.

    I think there might be mismatch between your name spaces.
    may be this link might help you
    Split mapping created no messages -Mluti Mapping
    are you getting the same structure from your proxies whatever structure you have in your XI structure(sender) and NS should match.
    but I dont have exp with proxies.
    Sri

  • Split mapping created no messages

    hi All,
    I have an issue while using multi- mapping runtime in PI 7.1. The messages work successfully in Operation mapping. However, during runtime it fails with the message "Split mapping created no messages".
    The issue is the same as we have in the below link :-
    Multi Mapping issue - *Split mapping created no messages*
    But there is a slight difference in the scenario. Please find the same below:-
    There were initially two mappings in the operation mapping.
    The first one is a shared mapping and 1:1 to 1:1 occurence
    The second one is a new mapping which should have 0:unbounded to 0:unbounded containing 4 different message types at the target
    Due to the first mapping being shared, and already in production, we can not do any updates on it. Hence a workaround was to add a Java mapping in between the two mappings simply  to add the Message - Message 1 header as for multimapping.
    This works in ESR but not during runtime or test configuration.
    Please let me know if this is the wrong perspective to it. I understand that the final solution can be to simply split all messages and have four different mappings in the Interface determination itself. But i would really like to know why this adding of message- message1 header is not possible.
    Regards,
    Ninu

    hi All,
    I have an issue while using multi- mapping runtime in PI 7.1. The messages work successfully in Operation mapping. However, during runtime it fails with the message "Split mapping created no messages".
    The issue is the same as we have in the below link :-
    Multi Mapping issue - *Split mapping created no messages*
    But there is a slight difference in the scenario. Please find the same below:-
    There were initially two mappings in the operation mapping.
    The first one is a shared mapping and 1:1 to 1:1 occurence
    The second one is a new mapping which should have 0:unbounded to 0:unbounded containing 4 different message types at the target
    Due to the first mapping being shared, and already in production, we can not do any updates on it. Hence a workaround was to add a Java mapping in between the two mappings simply  to add the Message - Message 1 header as for multimapping.
    This works in ESR but not during runtime or test configuration.
    Please let me know if this is the wrong perspective to it. I understand that the final solution can be to simply split all messages and have four different mappings in the Interface determination itself. But i would really like to know why this adding of message- message1 header is not possible.
    Regards,
    Ninu

  • PI 7.30 Message Mapping with MsgSplit error Split mapping created no messages, cannot proceed.

    Hi @all,
    I am working on a scenario to split one soruce message with several items to 0..n message for the same receiver.
    Therefore the occurrency of target message (signature in MM) have been adjusted.
    Not all items are forwarded to receiver, only if the content meets some rules the item should be forwarded.
    It could be that no item of the source message meet these rules and therefore no target message at all should be created.
    During test of this case I am facing following error in RWB, scenario is setup as integrated configuration.
    MappingException: Split mapping created no messages, cannot proceed. Review your mapping setup: splitting to 0 messages is not allowed.
    As the occurrency of the target message is 0..n, 0 should be also valid and there should be no error in this case, just stop processing like if there is no receiver in receiver determination step (mode IGNORE)
    Otherwise this will end up in lots of error messages which have to be analyzed and canceled manually which is quite time consuming.
    Maybe someone faced the same issue and found a solution to get rid of this error message.
    Best regards
    Jochen

    Hi Somil,
    hi Sriram,
    thanks for your response.
    In my scenario there also multiple receiver applications receiving data from one single sender application. We are using PI 7.30 dual stack and major goal is to setup all scenario as integrated configurations to have java only processing. One reason for this setup is that the main support user do not have extensive PI knowledge so far and we want to keep it as simple as possible and therefore do not want them to care about the abap stack as much as possible.
    Unfortunately migration to java only is not possible yet.
    In this release extended receiver determination using operation mapping is not supported in integrated configuration.
    There is quite complex rules to check if an item should be forward or not including lots of fields and also value mapping, so it would be quite difficult/impossible to write XPATH expression to have the same check during receiver determination step.
    One workaround could be creating a dummy message in case of no item to be forward and root this message to different place (local file which is always to be overwritten)
    Are there any alternatives/workarounds?
    Best regards
    Jochen
    Message was edited by: Jochen Gugel

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

Maybe you are looking for