Branch in BPM hangs

Hi,
Basically I have a BPM that has two parallel branches - one branch for sending to system A and a second branch for sending to system B.
The first parallel branch executes almost immediately with the data being sent ok to system A.
However, the second parallel branch seems to hang for about 10 minutes before it executes !!
I thought the idea of parallel processing was that it happens at the same time.
Any ideas what can cause this ?
Cheers
Colin.

Hi,
also check..
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/sap%20exchange%20infrastructure%20tuning%20guide%20xi%203.0.pdf
See the below links to solve the BPM performance problems
BPM Performance tuning
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
BPM performance question
SAP XI BPM Performance and statistics
Performance problem on BPM
BPM pros and cons
Performance problems using BPM
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
Regards
Chilla..

Similar Messages

  • Switch step is not processsing 2nd Branch in BPM !!

    Hi Guys,
    One BPM question please. I have got one BPM scenario as follows.
    One XML is splitting into 2 messages. First Target message has got 'n' number of messages and 2nd Target messages has got 'n' number as well. I need to process these two target split messages into ERP ABAP proxy.
    I have put
    1st step :receive step,
    2nd step: transformation step to split,
    3rd step :  switch with 3 branches
    4th step: first branch for Target1 split - on this branch I did put ForEach block in the block Sender (Async)
    5th step : 2nd branch for Target2 split - on this branch I did put another ForEach block, in the block Sender (Asyn)
    6th Step: Exception branch for alert.
    receive step is ok, transformation step also ok, First split goes into branch one, triggering messages to ERP. But 2nd branch is not executing at all.
    Please guys can any one solve this issue? Why the second branch is not executing at all, process is completing with out processing 2nd branch?
    Regards
    San

    I resolved myself.
    Thanks
    San

  • Wait step in BPM hangs!

    Hello,
    I am using a wait step in a BPM. Type is "Wait specified time period". The period is 2 minutes.
    I can see from process monitoring that my BPM reaches the above step. And then it just hangs !!!!
    Time goes by but nothing happens. The BPM never! goes to the next step.
    I cannot understand it. Such a simple step is causing me great pain!!!!
    Anynone outhere with similar experience ???
    Thanks in advance
    Dimitris Hagigeorgiou

    Hi,
    I know this question is inactive, but I had the same problem, and the proposed solution isn't correct. The problem came after upgrading to SP17- What had changed?
    Anyways, I checked the workflow customizing (trx swf_xi_customizing) and all were checked, green and good. Finally, after lots of testing and reactivating for no good, I tried executing the checked "Schedule Background Job for Missed Deadlines" function in the workflow customizing again, and behold: the scheduled job had been rescheduled after the upgrade to start 6 months into the future!? Why? No idea, but after re-scheduling, all wait step are executed nicely.
    Hope this will be helpful to some other frustrated BPM administrator someday. Regards,
    Emil

  • Deadline branch in BPM

    Hi
    I am using transport acknowledgement in my BPM.i am using deadline branch to cancel the process after 1 min ( if i receive -ve ACK) and i also need to send an alert also.
    question:
    can we use 2 control steps in deadline branch first control step to cancel the process and 2nd control step to send an alert?
    if it is not possible with only deadline branch do we need  to go for exception branch?
    Thanks

    can we use 2 control steps in deadline branch first control step to cancel the process and 2nd control step to send an
    alert?
    Throw Alert should come before Cancel Process.
    if it is not possible with only deadline branch do we need to go for exception branch?
    Normally the Deadline Branch Thows an Exception and then the Exception Branch catches this exception and executes the included exception-handling like Throw Alert/ Cacncel Process......we throw an Exception as an indication that the process has failed to achieve its functionality....we then cancel it so that it does not block execution of other messages.
    Cancelling the process & Throwing Alert in Deadline Branch is possible just that in moni there wont be an indication that something has gone wrong.
    Regards,
    Abhishek.

  • How can we handle Exception Branch in BPM effectively

    Hi,
    I want to capture errors occurred in PM during runtime by using special "Exception Branch".
    For example If i define exception branch for one black then any step within that block thrown error then automatically it calls that corresponding exception branch within that block. Now i want to identify which step within that block has thrown error and what is the error.How can i achieve this?
    Thanks and Regards,
    Sudhakara

    Hi Sudhakara,
    Generally we use control step to raise an exception, Please go through this link for better understanding:
    http://help.sap.com/saphelp_nw04/helpdata/en/bb/e1283f2bbad036e10000000a114084/content.htm
    Also,
    Exception Handling:
    http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm
    I hope it helps,
    Thanks & Regards,
    Varun Joshi

  • Htmldb page with 'File Browse' hang on submit change

    I have a htmldb page with 'File Browse' item. With File Browse empty, on pressing submit button with which has 'SQL UPDATE' action and returning to same page branch, the page hangs.
    It also happen on File Import page of htmldb application itself with File Browse.
    Anyone have the same problem or know why?

    I'm working with Sashisu on our problem and I wanted to give a few more details on what we've found.
    -We're using HTMLDB 1.6
    -The problem occurs only on pages with a file upload page item.
    -When clicking a link on one of the problem pages the browser will stick on retrieving the page for 1-2 minutes, then ultimately it will end in a page cannot be displayed error.
    -Sometimes the page will not hang and go directly to the page cannot be displayed error.
    -After encountering the error, clicking back to return to the page and then retrying the link will successfully load (and upload the file) the next page.
    -The problem only happens in IE 6.0. The submits work fine in FireFox.
    -Our development servers do not have this problem using the same HTMLDB code. The configuration between the servers on Development and Production is similar but not exact (we're working on finding the delta).
    -We did not have this problem on production until a recent code update.
    Thanks in advance,
    -John

  • Wait step in BPM stops the process permanently

    Hi all.
    I have a BPM with a Wait Step inside. When the process reaches the wait step the process gets locked permanently.
    I execute TCODE SM12, remove the lock for the process and the process finishes without errors.
    Why does the BPM hangs with the wait step? Could anybody help me with this issue.
    Thanks a lot,
    Gari.

    Hi Gökhan.
    I'm using SP12. The Self-test about BPE in RWB reports error for "Schedule Background Job for Packaging" and "Schedule Background Job for Reorganization". Details for the error say "Background job for packaging is not required".
    Thanks,
    Gari.

  • Mesage splitting using BPM

    HI,
    There is field called Quantity in my source message type.
    For each quantity (example quantity field if i get  = 10), I want to generate 10 Idocs in Target.
    Note: I have used syn proxy also in this BPM whether Quantity split is needed or not?
    Based on the response only i have done branch in BPM (that is working fine)
    In order to achieve 10 Idoc for the Quantity split, I used in Interface Mapping,
    Source Message Interface in Occurance is 1,
    Target MI occurance is 0 to unbounded (Idoc)
    In my Message mapping
    source Message Type occurance is 1,
    Target MT occurance is 1 to unbounded (Idoc).
    Is it possible?
    or do i need change  occurance of the Idoc as per Michal Krawczyk blog (/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change ) in order to achieve?
    Inputs reg. this appreciated.
    Thanks
    Praba

    HI,
    My complete scenario in BPM what i had currently
    Block name: PrepareIdoc
    Inside Prepare Idoc block, step name: sendProxysyn
    Mode: synchronous
    Response: Response
    Inside prepareIdoc Block i have switch,
    First branch, I have Quansplit condition and then Transformation step also.
    In that IM QUansplit source MI occurance is single
    Target MI occurance is 0 to unbounded
    But in my BPM on that IM, i did not able to make Target Message is not Mulitline(i guess here is mistake)
    if i make that as a multline, then
    My next step is Container Operation, in that Target is Multiline. expression is also multiline.
    after then step is receiver determination , message (i guess here is mistake) is giving error, saying that " expression must not return multiline.
    any way this is  link for my screen shot,
    http://www.flickr.com/photos/38608683@N03/3550047474/
    Edited by: Prabaharan Rangasamy on May 21, 2009 12:03 AM

  • ** Is it possible to skip messages with error in BPM and continue next msg

    Hi Friends,
    I am doing File to File BPM scenario. My Source XML is like as below.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Employee xmlns:ns0="http://www.test.com/XITEST/FileToFile/BPM">
       <Details>
          <EmpCode>10010</EmpCode>
          <EmpName>Jeg</EmpName>
          <***>M</***>
          <BasicPay>5000</BasicPay>
       </Details>
       <Details>
          <EmpCode>10011</EmpCode>
          <EmpName>Praksh</EmpName>
          <***>M</***>
          <BasicPay>4500</BasicPay>
       </Details>
       <Details>
          <EmpCode>10012</EmpCode>
          <EmpName>Nithya</EmpName>
          <***>F</***>
          <BasicPay>4300</BasicPay>
       </Details>
       <Details>
          <EmpCode>10013</EmpCode>
          <EmpName>Sunil</EmpName>
          <***>F</***>
          <BasicPay>4800</BasicPay>
       </Details>
       <Details>
          <EmpCode>10014</EmpCode>
          <EmpName>Abdul</EmpName>
          <***>M</***>
          <BasicPay>4750</BasicPay>
       </Details>
       <Details>
          <EmpCode>10015</EmpCode>
          <EmpName>Sathya</EmpName>
          <***>F</***>
          <BasicPay>4250</BasicPay>
       </Details>
       <Details>
          <EmpCode>10016</EmpCode>
          <EmpName>Rams</EmpName>
          <***>M</***>
          <BasicPay>8000</BasicPay>
       </Details>
    </ns0:Employee>
    If you look at the above message, the 3rd & 6th employee are female. In the BPM design,  we use
    a) 'Transformation' step, to split the messages (1:n).
    b) Block Step (Mode : For Each) to process one by one message
    c) in the Container Step, thru XPath expression we created one variable and assign '***' to that variable
    d) In the Switch step we check whether variable is 'F' (Female). If it is there we insert control step to throw exception. (But, exception Branch is not added to catch the exception. The reason is that to restart the BPM)
    e) If the *** is 'M' we insert Send Step to send the employee to the output file.
    Note that if we insert exception handler branch, the BPM will tell this is completed. So, we are not able to restart those records (*** = 'F') after correct ***. Once the BPM is completed, that work item will not come in tcode 'Continue Process Following Error' option in tcode SXMB_MONI_BPE
    Requirement is whenever the BPM encounters *** = 'F', it  should throw an error and the same time BPM should not stop and continue with the next records.
    Friends, we tried all the ways thru 'Queue Assignment' property of the BPM and made settings thru tcode SWF_INB_CONF. But, we are not able to achive this requirmenent.
    'Restart possibilitye of the BPM for the error record and the same time should process the remaining correct records'. 
    Any idea friends, to solve this issue.
    Kindly Reply,
    Jeg P.

    Use one more Receiver Abstract interface for this and do the message and interface mapping .
    Collecting :
    If ur record is female (u r checking this in swich step) ,  pass tht record to intreface mapping (use one branch here to collect the message).
    Else you send that message to the target(else branch)
    After that use one block for collecting messages and throw the exception for each record......

  • Deadline in BPM

    Hi,
    I have an HTTP --> RFC  synchronous scenario.
    There should be timeout error sent in response if RFC does not respond in 30 secs.
    However deadline branch in BPM does not allow to specify the duration in seconds.
    How can I specify 30 sec for deadline monitoring?
    Thanks in advance,
    Beena.

    Beena,
    As you will be aware the smallest time unit is one minute.
    There are always tradeoffs.  For example, consider the overhead of running the XI job that listen for alerts every 5 seconds or so.  Likewise with the SMTP mail send process etc. In our environment, even at one minute, there is a lag between picking up an alert and the final execution and delivery of an alert email.
    If seconds are really critical then can you redesign this scenario so that Web Application perform this task instead of XI.
    Regard,
    Mike

  • CP5.5 Navigation not working with 2 questions in different branches of a project.

    Ok.
    The project is a simple thing that advances to a two option menu.
    Each of the two options takes you down a branch of learning till you get to a single question slide (multiple choice)
    Once that is completed (either correctly or incorrectly) you can go back to the menu page and click on the button to go down the second branch which again ends with a question slide.
    Once that is completed (again either pass or fail) you progress through to the end of the product to the close.
    You can go down either branch.
    However, once you have done either branch 1 or branch 2 question (in either order), when you go down the alternate branch, the product hangs prior to the second question slide.
    Any ideas?
    I know quizzing in CP5.5 is a bit tetchy.

    Just had another idea.  This issue might be due to Quiz Scope.
    Try adding a score to the button/s that allows the user to head off down either branch.  Alternatively, try adding a True/False question on a slide BEFORE the branching slide. 
    If having a scored object at or before the branching slide solves the issue, then you know that what you're dealing with is a Quiz Scope issue.  Then you can just extend the quiz scope to at or before the branch slide to fix it.

  • Treatement of Fault Messages in Synchronous Scenarios?!

    Hi all,
    I got a question concerning the use of fault messages in
    synchronous scenarios...
    1. When I define a fault message for my synchronous   
       receiver interface, a fault message, coming back
       would  not be handled by my sync. Interface- and
       Messagemapping, right?
       So how can I give the fault messageinformation back to
       the sender?
    2. Will I have to define a second scenario for handling
       the fault message?
       (Meaning new Communication Channel, MI, IM, MM and so
       on)
       Thanks for help, anwers are quickly rewarded...
       Daniel

    > 1. When I define a fault message for my synchronous
    >   
    >    receiver interface, a fault message, coming back
    >    would  not be handled by my sync. Interface- and
    >    Messagemapping, right?
    > So how can I give the fault messageinformation
    > ion back to
    >    the sender?
    The fault message has to be handled in your BPM using an exception branch. You can create an exception branch in a block and assign it to be the handler for a particular exception(fault message).
    How can we handle Exception Branch in BPM effectively
    > 2. Will I have to define a second scenario for
    > handling
    >    the fault message?
    > (Meaning new Communication Channel, MI, IM, MM and
    > and so
    >    on)
    It depends on what you want to do with your fault message. If you want to throw an alert, that could trigger emails, you can do it by configuring alerts and using a control step in your exception branch to throw alerts. Only if you want to do something else like log a message into a database, you will need separate jdbc communication channel, MI etc.
    Regards,
    Suresh

  • Exception handling and Validation

    Hi Everyone,
    How to Validate and handle Exceptions if i use Sync/Async bridge in integraton process.
    Thanks in advance,
    Sakthi

    Hi,
    There are a couple of options available for handling validation and exception.
    Validations
    1. In Mapping
    2. In Adapter Module
    3. Condtion editor
    Exceptions:
    Alert rules
    Exception Branch in BPM
    Any kind of BPM the exceptions can be handled using the exception branch.
    Regards
    Vijaya

  • IDOC Negative acknowledge not triggering system Exception

    Hi guys,
    I've a send step in my BPM which sends an IDOC and waits for the application acknowledge.  After watching several threads, and specially SAP Note 837285, we can read that:
    "Permanent negative acknowledgements: If the BPE receives a
    permanent negative system or application acknowledgment, the
    asynchronous send step waiting for it triggers a system error for
    which you can define an exception handling."
    Well, in my send step I've placed a system exception for handling this negative acknowledges but eventough I'm getting the negative application acknowlege from R3 (in SXMB_MONI I get the ack figure with a red cross indicating 'Ackonwledgment contains applic. errors'), the BPE doesn't trigger the system exception. Instead it enters in my deadline branch after quite a long time, ending the process....
    Can you guys give me a hand?

    Hi Ravi,
    What is happening is:
    After the idoc reaches R3, the Send step begins waiting for the ALEAUD ack from R3. I've got a System Exception for handling negative acks and a deadline branch for communication errors during the sending step... Meanwhile, the negative ack reaches XI (I can see it on the SXMB_MONI of XI) but the send step still waits for the ack. Of course, after the timeframe which was set for the deadline branch, the bpm will be completed because it jumps to that branch.
    I can't figure it out why isn't the BPM catching the negative acknowledges..... :S If the acknowledge is error-free, the send step catches it and proceeds to the next step....
    Any ideas? suggestions....? crazy attempts....?
    The only point possible is the acknowledge received not being a permanent negative ack but a transient negative ack.... How can I check this IMPORTANT point.... ?
    Message was edited by:
            Gonçalo Mouro Vaz

  • Wait step not copmleting

    Hi Experts,
    I am working on simple BPM scenario with recieve,send and wait steps.I have placed wait step between recieve and send step.
    The issue is wait step is not completing in process.In wait step i have given 2minutes duration.
    Anybody plz help me in this issue.why wait step is not completing.
    Regards,
    Bhuvan.

    Hi Shah,
    I have gone through thread   Wait step in BPM hangs! .when i am trying to reschedule the Schedule Background Job for Missed Deadlines it is asking for change request.If i provide the change request,is it cause for any changes in other functionality of XI.
    Please suggest me in this issue.
    Regards,
    Bhuvan.

Maybe you are looking for