Split file in various messages

I have an interface that reads a file and send to the BW. But the file is very large. As talked with SAP, they sent me split the file in various messages. Does anyone know how I can do this?
Thank you.

point taken Aamir. i got confused between some of the topics.
Thanks.
Aashish
Message was edited by:
        Aashish Sinha

Similar Messages

  • Adapter file sender doesn't split file into multiple message

    Hi everybody.
    We are in PI 7.0 SP10.
    In adapter file sender, I want to split a file into multiple file.
    We use protocole "file content conversion"
    in the field "recordset per message", I put the value 10 to test.
    The file content 30 records .
    The result we have is the treatment is not split into multiple message .
    The treatment is made but with one message.
    I need  to treat big files.
    Is there some one who have an idea  why t doesn't work ?
    Thanks in advance for your help.
    Regards
    Edited by: Eric  KOralewski on Jun 25, 2009 3:14 PM

    Hi,
    have you specified recordset name......if not, then specify it.............
    in recordset structure, specify like RECORD,1 and not RECORD,*
    again test your scenario......if still your file data is not getting split, then ask your basis guys to do a full CPACache refresh using PIDIRUSER..........your basis guys will know how to do it..........then again test your scneario............
    Regards,
    Rajeev Gupta

  • Split File to MQ Messages

    Hi
    My scenario is FILE -> XI -> MQ
    I have flat file
    I want to split every line of it to seperate MQ message
    have any1 did it already? I must convert it to xml?
    any relvant weblogs/threads will be usfull
    thx,Shai

    Hi,
    You can use Multi Mapping
    In the message mapping goto Message Tab change the occurance of the target message to 1..Unbounded. Then do the mapping.
    While doing the interface mapping change the occurance of the target interface to 1..unbounded.
    In configuration do enhanced Intergace determination. This is produce N message.
    During mapping assign the "row" node which is occuring n times to the message type of the target.
    Thanks,
    Prakash

  • Message Split -- File to Idoc Scenario  -  ( Without BPM )

    I have multiple records coming to XI in a File and I have to create Multiple Idocs to R/3.
    Due to Complexity of mapping I'm splitting Maaping step into 2 message Mappings.
    A-->B
    B-->C
    In the 2nd Mapping step  I'm doing message Split meaning for each Source record I'm creating multiple Idocs ( To be precise each record on the source becomes 4 idocs in the Target.
    2nd Mapping step is as follows
    Source 1..1
      Sourcerecord 0.. Unbounded
        field1  0..1
        field2  0..1
        filed3  0..1
    Target
    Message 1
        Idoc   1.. Unbounded
          Idoc Structure..
    Message 2
          Idoc   1.. Unbounded
    Message 3
          Idoc   1.. Unbounded
    Message 4
          Idoc   1.. Unbounded
    So based on some criteria each record of Source will be mapped to 4 Messages (  1 each under each Message )
    Is it possible to do this without BPM?. Iam sending all these Idocs to same R/3 System.
    Thanks for any help..RK

    Hi,
    See the blog
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    <i>Basicly we have 2 ways of handling such scenarios:
    - we can use a block step and send multiple IDOCs from our BPM
    - we can also do a little trick and send multiple IDOCs from the XI without a BPM
    The first approach is a standard XI approach. It involves the use of a BPM
    so the speed of this transfer many not be very good in case you'd like to send
    hundreds or thousands of IDOCs in just one call.
    The second approach uses a little trick that was mentioned several times
    on the XI Froum by a number of XI developers but is still not very clear to the XI newbies.
    It allows us to send multiple IDOCs without the use of a BPM. Most probably this will be your choice
    if you'd like to use such 1:N (IDOCs) scenarios effectively.</i>
    Please see the bwlow threads also..
    IDOC Splitting
    File To IDOC Thru XI
    Multi-Mappings in BPM (XI 3.0)
    Please let me know , your prob..is solcev or not..
    Regards
    Chilla..

  • How To Split File In to Multiple Files With out using B.P.M

    Hi Guys,
    How To Split File In to Multiple Files With out using B.P.M.
    Thanks in advance
    Regards's
    KIran.B

    Hello
    below r the links were u will find message spilitting by graphicaaly i.e without using BPM.
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    Sender File Adapter with file conversion  Multimapping --file content conversion with split messg mapping
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2748---- [original link is broken] [original link is broken] [original link is broken]
    multimappig
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    hope this resolve your problem
    thank's
    Chetan

  • 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

  • Help needed in splitting files using BPM

    Hello experts,
    I am working on an interface where i need to split files within BPM.
    I know,i can achieve it in Message Mapping by mapping Recordset to Target structure and then using Interface Mapping within Transformation step.But i dont want to follow this.Is there an alternative way to achieve this within BPM.
    I have an input file with multiple headers and i need to split for each header.My input file looks like this:
    HXXXXXABCDVN01
    MXXXXXXXXXXXXXX
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    HXXXXXABCDVN02
    MXXXXXXXXXXXXXX
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    HXXXXXABCDVN03
    MXXXXXXXXXXXXXX
    SXXXXXXXXXXXXXX
    Is there a way, where i can specify this condition within BPM , that split files for every H.
    Thanks in advance.
    Regards,
    Swathi

    Hi,
    have your target structure with occurence as 0...unbounded in the mapping and map the header filed to the root node (repeating parent node) of the target structure....this will create as many target messages as the header fileds....if you want to send these messages separately then use a block in BPM with ForEach option....
    Splitting and Dynamic configuration can be applied in the same mapping.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Dec 18, 2008 12:59 PM

  • 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

  • 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

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

  • Multi-Mapping "Split mapping created no messages"

    Hi there
    I have some issie when trying to create multiple messages from a single message. I am using file to file adapter and in the interface determination, enhanced config. Also my file structures are setup correctly. The inbound and outbound structure looks the same so theres no funny mapping used. I cheked my comm channels in the RWB and its fine and when I do a test config in the integration builder it complains about my interface determination but does not say whats wrong. Just the icon. I looked at some of the other blogs but they do not really help. Any ideas what this might be? The inbound message looks like this:
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_Allocations_Reply_OUTB xmlns:ns="urn:metcash.co.za:test">
    - <IDOC_Recordset>
    - <IDOC_Structure>
      <PLANT>134</PLANT>
      <ORDER_NUM>50885006</ORDER_NUM>
      <FILLER>1</FILLER>
      <PLU_NUM>00000000074893650</PLU_NUM>
      <QTY>000024.00</QTY>
      <FILLER_2>j</FILLER_2>
      </IDOC_Structure>
    - <IDOC_Structure>
      <PLANT>134</PLANT>
      <ORDER_NUM>50885006</ORDER_NUM>
      <FILLER>1</FILLER>
      <PLU_NUM>00000000074893650</PLU_NUM>
      <QTY>000024.00</QTY>
      <FILLER_2>j</FILLER_2>
      </IDOC_Structure>
    - <IDOC_Structure>
      <PLANT>134</PLANT>
      <ORDER_NUM>50885006</ORDER_NUM>
      <FILLER>1</FILLER>
      <PLU_NUM>00000000074893650</PLU_NUM>
      <QTY>000024.00</QTY>
      <FILLER_2>j</FILLER_2>
      </IDOC_Structure>
      </IDOC_Recordset>
      </ns:MT_Allocations_Reply_OUTB>
    *And the 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="">
      <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>
    Thanx,
    Jan
    Edited by: Jan de Lange on Nov 24, 2008 10:25 AM

    I checked my config in the IR with the following payload, but is still only shows a stop icon on interface determination & mapping with no error trace:
    <?xml version="1.0" encoding="utf-8" ?>
      <ns:MT_Allocations_Reply_OUTB xmlns:ns="urn:metcash.co.za:test">
      <IDOC_Recordset>
      <IDOC_Structure>
      <PLANT>134</PLANT>
      <ORDER_NUM>50885006</ORDER_NUM>
      <FILLER>1</FILLER>
      <PLU_NUM>00000000074893650</PLU_NUM>
      <QTY>000024.00</QTY>
      <FILLER_2>j</FILLER_2>
      </IDOC_Structure>
      <IDOC_Structure>
      <PLANT>134</PLANT>
      <ORDER_NUM>50885006</ORDER_NUM>
      <FILLER>1</FILLER>
      <PLU_NUM>00000000074893650</PLU_NUM>
      <QTY>000024.00</QTY>
      <FILLER_2>j</FILLER_2>
      </IDOC_Structure>
      <IDOC_Structure>
      <PLANT>134</PLANT>
      <ORDER_NUM>50885006</ORDER_NUM>
      <FILLER>1</FILLER>
      <PLU_NUM>00000000074893650</PLU_NUM>
      <QTY>000024.00</QTY>
      <FILLER_2>j</FILLER_2>
      </IDOC_Structure>
      </IDOC_Recordset>
      </ns:MT_Allocations_Reply_OUTB>

  • Error - Split mapping created no messages

    Dear Experts,
    while executing the IDOC to File scenario in PI 7.0, it shows error as u201C Split mapping created no messages u201C.
    To resolve this error I have removed the extra tags with namespace specified as "\SplitAndMerge" in source XML message and also IDOCs used in the Interface maps are standard. no issues with mapping also.
    kindly suggest me to solve this issue.
    Thanks and Regards,
    Srinivas

    Hi,
    Now i have solved the error of empty file creation. in my target file i am able to populate the data. but now ths issue is --
    i have source IDOC with 3 sales items and i need to generate 3 records in Output file. but now i am geeting only the first record.
    So please let me know how to get the remaining 2 line items also in my Output file.
    Source MT:                                                                               
    Messages                   1..1                                                                  
          Messages1               1..1                                                                               
    ItemMain                  1..1                                                                               
    item                        0..unbound                                                            
          Messages2           1..1                                                                               
    Item2                     0..1                                                                       
    Target MT
    Messages                   1..1
        Messages1               1..1
            TItem                          0..1
               item                         0..unbound
       Messages2                1..1
           TItem2                         0..1
    Best Reagrds,
    Srinivas

  • Split mapping created no message-how to avoid red flag message in SXMB_MONI

    Hi,
    In my scenario I'm putting files in an external server with multi mapping and a condition in graphic mapping in MM, when condition is not true and no files are generated I see a red flag message in XIP MONI, "split mapping created no message".
    I do not want this red flag message to come.
    I see this thread:
    Split mapping created.. No message exists
    My problem is the same, "nikhil a " said that he solved the problem creating a dummy message in Message Mapping, but I don't know how to do that. Someone could explain to me?
    I do not want to use BPM.
    Thanks
    Fabio Boni

    when condition is not true and no files are generated I see a red flag message in XIP MONI, "split mapping created no
    message".
    This is correct behavior i suppose.
    Check if you can verify the condition in the Receiver Determination itself so that the process will stop in the first step itself if Condition = false
    Even when you say that a dummy message is created, it is to be sent somewhere or if not send then again it may give an error.
    Lets see what experts have to suggest here.

  • Split Mapping created no messages in SXMB_MONI

    Hi All,
    I have an IDOC to File scenario in which the target forms an XML file based on some RFC lookups. The problem i have is that whenever the RFC do not return any values, i am getting an "Split Mapping Created no messages" error in the SXMB_MONI. Is there any possible way that i could suppress the target and i should not form the target when the RFC do not return any output.
    Regards,
    Sherin Jose P

    The problem i have is that whenever the RFC do not return any values
    If you are trying to generate the Parent element using the RFC response then you are bound to get the error as no target structure will be poduced when the RFC does not return any value....may be doing a check on RFC response and then using MapWithDefault or any other term so that at least one valid element is produced will prevent the error from occuring.
    Regards,
    Abhishek.

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

Maybe you are looking for

  • JSF page values are getting cleared with validation errors

    Using Jdev 10.1.3.4, JSF and ADF BC I have 2 jspx pages - 1 input page(with bindings to VO) and a lookup page bound to a read-only VO. page1: I am entering values to all the fields and then saving the form. Now if I had entered an invalid value for o

  • SSL Problem in Flex

    I am using Flex with PHP via AMF PHP. Building application was fine. But it gave me problem when I deployed it to server which sits behind SSL layer. The problem is not associate with data accessing I can access data very well but I when I go to any

  • Mandatory field Export/Import Procedure for Foreign Trade

    Hello all! Is there any possibilty to define the field Export/Import Procedure for Foreign Trade within the infoset as a mandatory field? Table T162 doesn't show me this field. Kind regards, Barbara

  • Upgrading from 4.2 to 4.3 in Lightroom

    I get the message : the file does not have a program associated with it for performing this action. Create an association in the default programs control panel I went to default programs control panel an did not see where you change anything ?   And

  • Java encoding on OSX Mountain Lion

    Hi all! I noticed since Mountain Lion, every app I run has the incorrect encoding: Instead of MacRoman, every app running Java uses the encoding "USA-ASCII", which is a pain for european users. This happens both when I run my desktop apps, made in ja