BPM split message problem

Hi all,
I have a problem in splitting messages inside BPM.
My requirements are:
1. Receive message (message with apprx. 700.000 records)
2. Split message to smaller messages (1 message should not contain more than 10.000 records. 70 messages should be created)
3. Send these message with a delay, one by one. (after the 1. message is sent the next should be sent 1 minute later until all are processed)
My question is how do I split the messages into 10.000 records without using java or abap mapping.
2. how do I send them synchronously in a loop? How should the structure be???
Thanks.

Hi Chris,
You can use a transformation step wherein you will define a 1...n mapping. In the mapping create a logic(in UDF) to split the message after every 10,000 message --> Collapse message. This logic would be there in the root node.
Hope this helps.
Regards,
Rahul

Similar Messages

  • XI - BPM Split Message

    Hi I am doing some BPM and I have a scenario where we send a message into BPM and I need to split the message.
    The Source Message has Header, Account and Details
    I want to split this so one message has Header and Account
    The other Message has Header and Details.
    I have done message, types, mapping etc for all of these but my problem is how to split the message once it comes into BPM.
    The way I have done it so far is.....
    RECEIVE --> Transform1 --> Transform2 --> SEND
    Under Receive Step I have not defined anything.... Should I?
    Under Transform1 Step I have the interface mapping from Source to Account
    Under Transform2 Step I have the Interface mapping from Source to Details
    Under Send Step I have not defined anything.... Should I?
    Does that look like it should work?    Is there a way to test this with out configuring the the Integration Directory....

    Anyways if you are planning to use BPM proceed like this:
    1) Receive (receives the message, specify the outbound interface)
    I Dont have the option for specifying this.... When I double click on message in the properties box I just get a screen come up and and a greyed out box that say interface variable..... 
    2) Transformation (1:N mapping you are doing, so when you create Message Mapping, Go to the third tab named messages and include both the target Message Type there. And use the same MM here in transformation)
    So you are saying this part should be done in the design repository under message mapping? What about interface mapping here or is this not necessary?
    3) send1 (send MT containing Header and Account to one interface/Service)
    The send step should be twice... they are in a horizontal line in the bpm diagram is this ok or should it look like it is split.....
    What I mean is this.....      Transform->Send->Send
    4) send2 (send MT containing Header and Details to second interface/Service)

  • Bpm Collect message problem

    For the BPM Pattern BPMCollectMessage...
    I'm doin a file to file scenario.. Its fine at the sender side CC shows sucess and also moni but not able find any messages of my target interface any idea wat the problem is .. the recevr cc is active but no logs. .and also from IP to recvievr its not processed i guess no messages seen on moni....

    >
    Robin wrote:
    > For the BPM Pattern BPMCollectMessage...
    > I'm doin a file to file scenario.. Its fine at the sender side CC shows sucess and also moni but not able find any messages of my target interface any idea wat the problem is .. the recevr cc is active but no logs. .and also from IP to recvievr its not processed i guess no messages seen on moni....
    try to check the status using RWB -> Message monitoring ...
    you would be able to see what is causing the issue in the detailed log

  • How to split messages without using Message split (BPM)

    In file to file scenario how to split messages coming from file without using Message split (BPM)

    Thank you very much.

  • Split message using BPM

    Hi Experts
    I am getting the request through HTTP which i want to split using BPM and send each splitted message to synchronous step and get the response for each splitted message
    I have gone through the following blog
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    I am able to split the message into multiple messages but unable to send each splitted message to synchronous step and get the response.
    I am getting " NO Receiver Found" error.
    How to send each splitted message to synchronous step and get the response.
    Please suggest.
    Regards
    Sowmya

    Hi Sowmya,
    I referred to the same blog and the scenario was a success. Please note that in this scenario
    "Receiver Determination plays a key role.
    Three Receiver Determinations are required. One for the Sender to BPM and two others for BPM to the corresponding output files.
    In the Interface Determination for the two Receivers, specify the corresponding Interfaces."
    You are just a few steps from success.
    Rgds
    joel

  • BPM Synchronous Receive Problem.

    I have a following scenario
    Outbound Interface : Send Message to through SysA BPM.
    BPM :
    Receive Message ( Synchronosuly )
        This opens Sync/Async Bridge.
    Transofroms
    Send Message to Other Sys ( Sync)
    Close of Sync/Async bridge.
    I have defined the receive Determination and Intefrace Determination (but no agreement as not needed)
    The receiver agreement for BPM looks like below
    Sender : SysA
    Receiver : BPMProcess.
    Interface Determination looks as below
    Sender Interface : SenderInterface.
    Receiver Interface : Abastract Sync Interface (BPM)
    There is no interface mapping.
    When I post the message on Outbound Interface it complains NO_RECEIVER_CASE_BE:
    which suggest that there is no Receiver Determination.
    I am not sure where I am missing the configuration.Any pointer would be greatly appreicated.
    Thanks
    Samir

    Thanks for response.The problem is in receiving message by BPM not the sending message out of BPM.
    As explained in the scenario BPM is configured to recieve the message synchronously (Opens Sync/Async Bridge) and then does some logic to split the message and send each one to different sys ( synchronously) and then closes the bridge.
    The problem is when the message is sent from outbound Inteface ( exposed as WebService) the receiver BPM is not getting it.
    I have configured the recevier determination and Interface determination which looks like below.
    Interface Determination:
       Sender : SenderSys
       Interface : OutBoundInterface_Message (Sync , outbound)
       Reciver:  : BPM
       Interface : BPM_Interface ( Sync, abastract)
    Receiver Determination:
       Sender : SenderSys
       Interface : OutBoundInterface_Message
    Inbound Recives: BPM
    But when I try to post the message on OutBoundInterface which actually should have received by BPM it complains the following:
        NO_RECEIVER_CASE_BE:
    Hope this explains my problem more clear.

  • Splitting Messages

    Hi,
    I'm facing the problem to split messages like
    in this blog:
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Means, an input structure like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:hw_request xmlns:ns1="namespace">
             <hardware>
                <name>ab</name>
                <processor>intel</processor>
             </hardware>
             <hardware>
                <name>ab</name>
                <processor>AMD</processor>
             </hardware>
          </ns1:hw_request>
       </ns0:Message1>
    </ns0:Messages>
    Should be generate TWO files which contains
    single hardware nodes.
    Problem: In this blog, he splits by a node value.
    I would like to generate a new instance for every
    occurence of a node.
    I think this weblog would like to do the same:
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    But I am not able to define a message name like
    output[index] like he uses in integration process.
    I can only select container elements and I am not
    able to write them manuel. Also I can't see how his
    condition for the loop is generated.
    How to do this?
    Thanks
    chris

    The confusion never stops
    Once again:
    I receive a message like this:
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <ns1:hw_request xmlns:ns1="namespace">
    <hardware>
      <name>ab</name>
    </hardware>
    <hardware>
      <name>xy</name>
    </hardware>
    </ns1:hw_request>
    </ns0:Message1>
    </ns0:Messages>
    after mapping it looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns2:MT_Order_File_request xmlns:ns2="namespace">
             <hardware>
                <name>123</name>
             </hardware>
          </ns2:MT_Order_File_request>
          <ns2:MT_Order_File_request xmlns:ns2="namespace">
             <hardware>
                <name>xy</name>
             </hardware>
          </ns2:MT_Order_File_request>
       </ns0:Message1>
    </ns0:Messages>
    This is multiline? Isn't it?
    in transformation step I take the mapping between those and the container for the target IS MULTILINE?
    But he wants a non multiline container!!!
    So where do I go wrong??
    thanks
    chris

  • BPM sending messages to wrong inbound interfaces in PI and target system

    Hi All,
    i am doing File to proxy scenarion using bpm.i am receiving three files,two files splitting on based condition(location code) in receiver determination and sending to bpm(here one bpm receiving 3 files then it merges 3 files into one proact and some promo messages based promos in source file ,same in the second bpm with 2 files with different mapping,here target system is SAP APO SNC).i am doing testing now mapping and every thing is working fine.but first bpm sending messages(proact and promo messages) target sytem side (proact_in and promo_in)inbound inrefaces.if i am executing scenario both bpm sending (proact and promo) messaegs in target system its showing wrong bpm name.in target system also we can check messgaes sxmb_moni.
    ex:if first bpm A sending 1 proact and 2 promos,and second bpm B sending 1 proact and 2 promos to target system,but  in target syetm its showing sender component as 1st bpm A for 3 promo messages(here B bpm messages sending with A bpm viceversa i did the configuration correctly) and for 1 its showing second bpm. please give me suggetions how to resolve this issue.
    Thanks,
    seshagiri.

    Is the connection to SNC via idocs or proxies. If it's via idocs can you check the control record and see if the issue is not there ?

  • File to idoc scenario (split message)

    hello everybody
    i have a file (xml) -> XI -> Idoc scenario
    sometimes idoc message is so much big and i have problem to process it.
    so i would like split message in more idoc but i need decide a cut-point
    example in file i have 200 row and i don't want create 200 idocs but example 4.
    So i need cut file every 50 rows.
    It's possible?
    thanks
    Alex

    Hi Alessandro ,
    We had the same problem in HR implementation where we used to get data for thousands of employees in a single file.
    As Idoc was not able to hold this much of data,data used to be truncated.
    Then we had taken a field (employee number) as a criteria to generate IDocs,and now we have an IDoc generated for each employee record.
    This was helpful as for a single employee,there were a number of change records.
    The logic used was:
    Employeecode -> splitByValue(value changed) -> collapseContexts -> IDoc.
    Does it suit your requirement as well?I mean,may be you can find such field for splitting IDocs.
    Kindly let us know.
    Thanks.
    Regards,
    Shweta

  • BPM Collect Message dependent AND time dependent

    Hi
    I have a IDOC to file scenario where I have to collect all the IDOC until I receive a stop IDOC.
    Once the End collect IDOC is received I have to do a n:1 transformation and write the file to the FTP.
    The problem is, at times the IDOC which is suppose to end the collect loop gets stuck in ECC R3 system.
    So Im wondering If I can do something like say, we have two options inside BPM both time dependent and message dependent.
    In this case which ever comes first (the Stop/END IDOC or the Time say 3 mins) will end the collect process.
    Can anyone pls suggest will it work and if so what are the additional steps I have to introduce in the BPM.
    Pls advice.
    Right Now these are the steps in the BPM Collect Message dependent.
    1. Block (I have used correlation)
    2. Fork inside the block
    3. Fork branch one has a look with end condition as 1=1; then a receive step and a container operation inside the loop.
    4. Fork branch two receives the end collect idoc.
    5. Transform step outside the block.
    6. Send step.
    Thanks
    Prasanna

    Hi Abhishek/ Raj
    Thanks!!
    I have done the changes let me confirm after testing it once. In the mean time I have one more question regarding the same BPM, as I have mentioned in the first post, the BPM contains the 6 steps mentioned but the the 6th step is inside another block (Block2).
    The steps 1 to 4 are inside Block1.
    The step 5 ie the transformation step (n:1) is in between the Blocks ie not inside any block (hope im not confusing).
    The second block is for sending the file to the FTP and based on the acknowledgement (transport level) I have to send an email.
    So Block2 already contains a deadline branch, it is to wait for the positive acknowledgement for say 3 mins and send the error email if incase we dont get positive ack within the time limit.
    My doubt is,
    1. Is it the only way (having two block and two wait steps) to achieve this.
        (one block for collecting and one block for ack)
    2. Is there any way I can have a single Block in the BPM insted of two. If so what are the steps.
        Having single block, Will improve anything??
    Thanks
    Prasanna

  • Split Message Error

    Hi,
    I'm doing a split message without BPM, but I have found a weird error. When I change the ocurrences to unbounded (1:N) in target structure I am finding this error.
    http://picasaweb.google.es/hose86/SapXi#5324222633504070658
    In the picture above appears some yellow square instead of the source/target structure. At the bottom of the picture you can see " Object *** not found". Why?
    I try with other structures and I have the same error. If I try to create other MM the error persist. I tried to reinstall another java versions, and still not working.
    Could you give me any tips?
    I'm using PI 7.1 and JRE 1.5.
    Thanks in advance and regards,
    Jose Antonio.

    Hi,
    When I change the ocurrences to unbounded (1:N) in target structure I am finding this error
    where exactly you are changing the cardinality...it has to be changed in the Signature tab of Message Mapping....
    With the original cardinality:
    <SRC>
        <Node1>
              <Field1>
    Now when you change the cardinality in Signature tab:
    <Message>
             <Message1>
                   <SRC>
                          <Node1>
                                 <Field1>
    So basically the position of the elements in the structure is getting changed and hence the mapping getting disturbed.....
    regards,
    Abhishek.

  • Continuing the "status message problems" issue...

    in response to ralph johns suggestion to delete the buddy list file from my library to solve the outdated status message problem...
    RJ- haha.. i'm not sure i'm going to try the "beat it with a stick" approach quite yet.. i think i found out whats causing the problem. when i would use iChat on campus using our school's wireles, i didnt have the problem of outdated status messages. but when i come home, i do.. and i believe the reason is because i'm using a Belkin G Wireless router. although i do hard line, i'm almost positive this is the problem. i did some research online and it isnt one of the approved routers for iChat.
    so is my only option to buy a new compatible router to solve the problem? or is there somewhere i can go that can tell me what ports to open for a belkin router?? we're getting close... i can feel it!!! haha thanks..
    -brent

    Hi Anders,
    in order to quickly fix that problem, I would just adapt the provisioning function where the warning shows up and make sure that the function uError is called so that an error is created instead of a warning.
    Are you using the SAP Provisioning Framework or a custom provisioning framework. Which repository are you using?
    Best regards
    Holger

  • "Blocked plug-in message" problem on my OS X 10.6.8. (Safari's 5.1.10). Any solutions for a non-techie (step 3 on Adobe Flash's instructions leads to dead end). Thanks.

    "Blocked plug-in message" problem on my OS X 10.6.8 (Safari's 5.1.10). Any solutions for a non-techie (step 3 on Adobe Flash's instructions leads to dead end, i.e. product for sale). Thank you. 

    Prior to updating flash player, you must first uninstall all previous versions.  Make sure you are downloading from the proper Adobe website = Adobe Flash Player Software
    Flash Player Uninstaller
    Repair permissions and restart your computer after the installations.

  • HT1349 Hi all,I have just purchased new iphone but have difficulty in completing the itunes download with message : problem with Windows installer package. A program run as part of the setup did not finish as expected.

    Hi all,I have just purchased new iphone but have difficulty in completing the itunes download with message : problem with Windows installer package. A program run as part of the setup did not finish as expected.
    Would appreciate help...its driving me up the wall!!

    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • I get message, Problem scanning. Something went wrong. Please try again.

    My printer was working fine when scanning, but now I get a message: 
    Problem scanning.  Something went wrong. Please try again. I turned my printer off, rebooted my computer...updated the printer from hp website...but nothing.  I can see the document in preview, and I hear the scanner working.  HELP!!

    Hey there @leandermw , Welcome to the HP Forums
    I understand you're having scanning problem with your Deskjet 2540, on Windows 8.1 and would like to help you.
    I would first suggest that you run the Print and Scan Doctor, and choose "fix scanning" to see if the tool can correct the issue. Send me the results in your reply as well.
    If you have the printer connected to a network, either wireless or ethernet, try power cycling the network devices:
    Turn off the printer and computer and unplug the router for 1 minute (do not press any buttons on the router).
    Plug the router back in and wait another minute, next turn on the printer and computer and try scanning.
    You can also power reset the printer itself:
    Press the Power button to turn on the product.
    With the product turned on, disconnect the power cord from the rear of the product.
    Unplug the power cord from the wall outlet.
    Wait at least 15 seconds.
    Plug the power cord back into the wall outlet.
    Reconnect the power cord to the rear of the product.
    If the product does not turn on by itself, press the Power button to turn it on.
    Ensure the printer is plugged in directly to the wall outlet, avoiding power bars and surge protectors. This ensures the printer is receiving full power and may help greatly.
    Try scanning from the HP scan software on your computer, and also make a copy from the front of the printer.
    Write me back with the results
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

Maybe you are looking for

  • Erase and Sync Question..

    OK so annoyingly I formated my hardrive on my pc and reinstalled everything. Now I plug my iphone in to my PC and it upon clicking on Sync it says it must erase and sync as the iPhone was syned with another computer.... hmmmm So I don't mind losing m

  • How to add Distribution channel in Activity search result

    Hi All, As i am new in BSP area need your help. My requirment is to add a ditribution Channel in activity Search criteria as well as in search result.i am done with adding a DC in search critaria but not able to understand how to add a DC in Search r

  • HT201274 How do I reset and restore from itunes

    How do I reset and restore from ITunes.I have a IPhone 4s,and I can't reset from the phone because evidentally my 4 yr. old son set a password for restrictions.

  • Run JAAS Example with Tomcat 4

    Can someone explain me, how i can run the JAAS-Example from SUN with Tomcat. Please so that i can understand it, step by step. Thanks for your help and understand !!!

  • Is there a way to get  old system 4.7 version mangement to New ECC

    Hello D02 (ECC 6.0) system has been upgraded from D01 (SAP 4.7). The developers want to see the history of the SAP requests (Version Management) in D01. Is there a way to put this info into the new D02 (ECC 6.0) ? Regards, Venkat.