Question on BPM performance

Hi all
We have two source systems and data will be correlated based on filenames. Scenario is working fine when I test with small amount of file. But as per my interface specification, there might be quite big file (around 25mb) file come in a day. This instance BPM is showing as processing ( clock) symbol even though two files have been received. I noticed that, message is being processed at transformation step for long time. Can any one suggest me how do I handle this case. Can we increase queue size in BPE. All settings are fine in IE admin.
Thanks

Hi Yadagiri,
Your BPM is stuking in the transformation step in it, so increasing the queue size in BPE engine will not help.
Since you have to process large data through your scenario and you are using transformation step in your BPM, so in your mapping,that you are using in transformation step, you need to take care of mappping  performance. Your java code in UDF, if any, must be efficient enough. There should not any statement in it that has impact on performance.
Regards,
Sami

Similar Messages

  • BPM performance question

    Guys,
    I do understand that ccPBM is very resource hungry but what I was wondering is this:
    Once you use BPM, does an extra step decreases the performance significantly? Or does it just need slightly more resources?
    More specifically we have quite complex mapping in 2 BPM steps. Combining them would make the mapping less clear but would it worth doing so from the performance point of view?
    Your opinion is appreciated.
    Thanks a lot,
    Viktor Varga

    Hi,
    In SXMB_ADM you can set the time out higher for the sync processing.
    Go to Integration Processing in SXMB_ADM and add parameter SA_COMM CHECK_FOR_ASYNC_RESPONSE_TIMEOUT to 120 (seconds). You can also increase the number of parallel processes if you have more waiting now. SA_COMM CHECK_FOR_MAX_SYNC_CALLS from 20 to XX. All depends on your hardware but this helped me from the standard 60 seconds to go to may be 70 in some cases.
    Make sure that your calling system does not have a timeout below that you set in XI otherwise yours will go on and finish and your partner may end up sending it twice
    when you go for BPM the whole workflow
    has to come into action so for example
    when your mapping last < 1 sec without bpm
    if you do it in a BPM the transformation step
    can last 2 seconds + one second mapping...
    (that's just an example)
    so the workflow gives you many design possibilities
    (brigde, error handling) but it can
    slow down the process and if you have
    thousands of messages the preformance
    can be much worse than having the same without BPM
    see below links
    http://help.sap.com/bp_bpmv130/Documentation/Operation/TuningGuide.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/43/d92e428819da2ce10000000a1550b0/content.htm
    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
    BPM Performance tuning
    BPM Performance issue
    BPM performance question
    BPM performance- data aggregation persistance
    Regards
    Chilla..

  • BPM performance improving

    Hi everyone
    Do someone know if there is a way to improve a BPM performance?
    Or how to speed it up?
    ´
    I don´t know, maybe applying a note, setting a parameter, etc...
    Thanks in advanced.
    Emmanuel

    This may sound a bit off-topic but if you guess you have done the apt steps for BPM and still need a performance boost chuck the BPM and go for PROXY
    being directly on the ABAP stack it gives a significant performance boost...and going forward I see proxies being used for almost any interface which has a complex logic...
    high time to get a hold on ABAP fundamentals 
    Cheers!!!

  • Some generic questions on BPM of NW CE

    Hi Gurus
      i have over 6 years of ABAP business workflow experience and over 3 years of XI experience. Now i'm getting tough with this new stuff, BPM of NW CE. Here i have some generic questions of it:
    1. How can i trigger a BPM task while a document, like a sales order , has been created in the system? is there any processes to catch the event of R3 in NWDI?
    2. Can BPM consume RFC/BAPIs in R3?
    3. Is it possible to make message mapping in BPM? i found there is a 'mapping' choice in the context setting of NWDI whereas it is quite simple compared with PI.
    4. Can the BPM be integrated with webdynpro ABAP? or send the relevant tasks into R3 directly? Actually what i mean is , can i bypass java programing while dealing with BPM of CE, if possible.
    thanks

    Hi Stephen,
    In the first released version of SAP NetWeaver BPM it is not possible to catch events of R/3 directly. Anyway. In case you have the possibility to trigger a web service in that situation you could start off a specific (BPM) process instance that handles the situation.
    The same is basically true for the question regarding RFC: In the initial version you'd need to wrap the RFC into a web service in order to consume it.
    The mapping possibilities in SAP NetWeaver BPM are meant to perform data flow between different activities in a BPMN based process model. This way you could transform a message that came into the process in that way that if fits your needs in regards to the BPM process (data) context.
    Bypassing Java when using SAP NetWeaver BPM would be difficult as the supported UI technology is Web Dynpro for Java. In addition the possibility to add more flexibility to your mappings by defining custom functions is based on EJB, thus again Java.
    Best regards,
    Martin

  • Questions on BPM Modelling

    Dear BPM experts, I would like to raise few questions and get some guidance from experts working on OBPM for long time...
    1) We have a business process where data is received from external source and has to be evaluated before we could determine if a manual intervention is required to deal with the scenario. 70% of the time, there is no action required by the system.
    Hence my questions is, if at the start of a business process, data evaluations are to be done to determine if manual action would be required to handle the process, should that evaluation be done within OBPM or should that be done outside of OBPM?
    1a) If to be done within BPM, would it be done using a Global Automatic Activity?
    1b) If to be done outside BPM, why?
    2) We have another requirement where a task within a process must be handled by a different user that ealier assigned if specific instance data changes.
    Is it possible to reassign a task to a new user based on some business rule either using PAPI API or from within a process?
    3) Is it generally OK to query the status of a process instance and keep it in another application? If not, why?
    4) Is it generally OK to update / close a process instance from an external application? If not, why?
    5) How can an external application obtain a process instance id for JMS messages sent to be referenced later for update/delete the case? Or would that be better handled by exposing the process as synchronous web service.
    6) Is it generally OK to expose a BPM workspace to external users over internet? If not, why?
    7) Can BPM process handle escalations automatically using some in built feature or should they be designed as part of BPM process?
    Many thanks.

    Hi there,
    I am certainly not an expert, only started last month but lets hope I can be useful.
    2/ Install feature pack. Very easy to do that. You just select "exclude previous participant" and he wont be assigned the task.
    7/ When you generate the task form there is an "ACTIONS" menu. Amongst the choices there is "Escalate"
    Someone with more experience will have to help you through the rest.
    Regards,
    Yanis

  • BPM Performance monitoring

    Hi experts,
    I would like to monitorize the performance of my BPMs. I want to know how much each BPM last. This information it's available in SXMB_MONI -> PE, there I can know that by watching to begining and end of each singular process. 1.-How can I achieve to watch this information for many processes? (RTWB??) I'm sending tests of 10, 100 and 1000 process so its not nice going to SXMB_MONI -> PE for each one.
    By the way I'm having performance problems when sending a lot of them. 2.-Do you know if theres is any way of improve the performance? (like having a Queue of processes or similar)
    Regards
    Gonzalo

    Goncalo,
    This is what i did when i had to do a BPM perf analysis..just pasting my notes here...
    1) go to moni, set your filters to find your complete roundtrip for the message..go to your outbound column, click on PE, Calculate the time difference between the first and the last entry..
    Repeat this for several of the msgs to get a mean time..once you have a time..then you can start breaking down this into why and where its taking time...then analyze the bpm.
    Check if any one particular step ..has the time it takes ..going up, check specifically the transformations..are they taking too much time..
    Log into your xi server..run transactin ST03N, there switch to expert mode..filter in your time for the msgs...remember the user doing all this is always wf-batch..., Here you can analyze the load created by the bpe engine..
    let me know if you need more info..
    Regards
    Ravi Raman
    Reward points if helpful..!
    Let me know if you need more info..
    Regards
    Ravi Raman
    Reward points if helpful !

  • Question on BPM Transformation for File- RFC- File

    Dear All,
    I did the scenario from a blog (  http://www.sap-xi.com/sap-xi-scenario-file-rfc-bpm.html  ) which is file->RFC->File with BPM. RFC call happening in BPM which is Sync and they are not using a transformation step anywhere in BPM. can you please explain me how mapping has been performed in BPM for this scenario.
    BPM Design:
    Start->Receive->Sync->Send->Stop
    Thanks & Regards,
    Manikandan

    Suprised to see this from you raja..
    to better the performance of a BPM it is recommended to keep all the mappings in Interface Determination and not in BPM.....but in some cases it is required to have mappings within BPM.
    they are not using a transformation step anywhere in BPM
    Either mapping was not required or the same was included in Interface Determination.....it is not a compulsion to have a Transformation step.....i have not checked the blog but this should be the reason.
    Edited by: abhishek salvi on Feb 21, 2011 6:42 PM

  • SAP XI BPM Performance and statistics

    Hello all,
    I am currently working on an integration using the BPM process within XI.  During our initial testing, we noticed that, when it comes to the BPM process, XI takes too long to process a message.  The actual size of the payload is really small and there is not much to the BPM process.
    For example, I create one BPM process that takes a message and splits the message into separate documents for each target application and pass it on to another BPM process.  The second process takes the message and changes its format to what is expected by the receiving application.  It calls the target system and waits for a response.
    Sender     Recv'r     Begin       End        End - Begin
    SAPPRG     Split     11:29:46  11:31:01 74.810089
    Split     Route     11:35:11  11:35:17  6.312764
    Split     Route     11:35:28  11:35:40 12.021294
    Route     DW     11:35:49  11:35:59 10.71562
    Route     MPR     11:35:50  11:36:00  9.579952
    DW     Route     11:35:59  11:35:59  0.50343
    MPR     Route     11:35:59  11:36:00  0.485403
         Total                0:06:14  1.907142533
    We also noticed some gaps b/w a message been send and receive steps within XI.  I would like to know if there is any statistics on XI performance when it comes to processing messages within the BPM process and/or some documentation on how to improve performance using BPM.
    Please, advise
    Thanks..
    -OV-

    Hi,
    Checklist to use BPM-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    Also refer this Performance tuning guide-
    https://websmp106.sap-ag.de/~sapidb/011000358700000592892005E.PDF
    If you are using Correlation etc, then try to use Local Correlation. SO that you can avoid the scope of the correlation to the entire process. By default it will be for entire process. Even you can make use Block step and try to group related steps and give the scope of the steps for the block.
    Hope this helps,
    Regards,
    Moorthy

  • Some Questions on BPM

    Hi Master,
    I Attended the one Interview...I have some Questions, Please Reply ASAP..
    <b>What is Pattern</b>? Why we are using with Real time Example.
    Thanks & Regards,
    SReddy

    Hi,
    As moorthy already said pattersns are like templates that can solve many of the real time scenarios either as given or with some customization.
    In BPM there are different patterns and each one having some sub patterns within them with slight variations.
    Some Patterns are,
    1. Multicast Pattern.
    2. Serialization Pattern.
    3. Sync/Async Bridge Pattern.
    4. Collect/Bundle Pattern.
    You can go thro this help link for more examples in Patterns,
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    Regards,
    P.Venkat

  • Question on BPM Example

    Hi all,
       I am going through the following BPM example http://help.sap.com/saphelp_nw04/helpdata/en/ca/7c5c41fe06cf1ee10000000a155106/content.htm
    and the question I have is they are talking about configuring the receiver based on Receiver Determination. But I don't see a receiver determination in the diagram. Do we need to cinfigure as part of send step or something like that.
    Also they are talking about Request and Response messages so do we need to have a sync communication. How do we define a sync communication BPM since we have only tweo options Async Message and Open a Async / Sync Bridge.

    Hi-
    This is a good blog
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Just have a look into this.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ca/7c5c41fe06cf1ee10000000a155106/frameset.htm

  • Urgent : XI BPm Performance Problem

    Hy All,
    we have following big performance problem with BPM Scenario.
    Of the inbound site we can get at the same time more than 10000 messages that have to be read from BPM queue. The BPm execution time in strongly affected and slowly. Could anyone tell me how to improve the performance (parallel queue execution.....).
    I hope in your help.
    Thank's a lot
    Mat

    Hi Mattia,
    see for improving performace, you need to restructure your BPM process....if you want your input messgae to be processed in different queues, this is not possible  if all your message are of same message type as then XI uses the same queue for all your messages..........so see in your scenario if BPM is really needed or you can do your scenario without BPM.......
    Thanks,
    Rajeev Gupta
    Message was edited by:
            RAJEEV GUPTA

  • BPM Performance tuning

    Hi,
    I have a synchronous BPM that has
    1.receive (open s/a bridge)
    2.transform
    3.sync send
    4.transform
    5.sync send
    6.transform
    7.send (close s/a bridge)
    working (except for some merge issues in step 4). The BPM takes too long (up to a minute) to execute. How do I optimize the performance? Where can I find tips on how to tune the performance of a Bpm?
    I have to use the BPM in this scenario because I need stateful processing where I have to merge messages from step 1 and step 3.
    Thanks and Regards,
    Suresh.

    Hi,
    I don't think you can tune the BPM a lot as the must time would be used in the receiving system to post data etc.
    In SXMB_ADM you can set the time out higher for the sync processing.
    Go to Integration Processing in SXMB_ADM and add parameter SA_COMM CHECK_FOR_ASYNC_RESPONSE_TIMEOUT to 120 (seconds). You can also increase the number of parallel processes if you have more waiting now. SA_COMM CHECK_FOR_MAX_SYNC_CALLS from 20 to XX. All depends on your hardware but this helped me from the standard 60 seconds to go to may be 70 in some cases.
    Make sure that your calling system does not have a timeout below that you set in XI otherwise yours will go on and finish and your partner may end up sending it twice.
    Cheers
    Stefan

  • General questions to make performance better after a while in windows 8.1!

    hi,
    to make the performnance better after a while 
    I know  that I have,to clean up hard disk first, but when I run harddisk clean up  wizard I see a lot of options that you can choose to  clean the harddisk , but I  know also  that is not wise to choose  all of this
    options here  , my question  is which options in this wizard is wize  to vink and clean   when I want to make some space on harddisk?
    2--I read also if I want to speed up performance I have to delete virtual memory then I have to run disk defragmentation and then I have to make a  new virtual memory which wil be at least 1 and halve time bigger than the real memory and it is
    better if I make the virtual memory on a partition which has not  OS.   do you agree whith this advise?
    3- I have also heard from MVP"rs that third party register cleaners wil make more harm than speed the performance!
    4- how I know which services I have to enable and disable?
    5-if I upgrade the memory from 4 GB to six GB for example wil that effect the performance?
    6-is there also in internet options  any things to clean to speed the performance?   
    very short answers wil be enough.
    thanks
    johan
    h.david

    Hi,
    1,Detailed description of using disk cleanup in the following link, I usually just choose all, then OK, it will not cause any damages.
    Delete files using Disk Cleanup
    http://windows.microsoft.com/en-in/windows/delete-files-using-disk-cleanup#delete-files-using-disk-cleanup=windows-8
    2,For virtual memory, maybe this blog can help you
    Learn Best Practices for Optimizing the Virtual Memory Configuration
    http://technet.microsoft.com/en-us/magazine/ff382717.aspx
    3, Many third party software can provide some help in some cases but not all, so be careful to use it.
    4,For services, it depends on what you need, but some services running in the background are very important, when you want to disable some services, I suggest you first refer to some useful articles.
    5, Actually I think it all depends what you want to do with your computer. if you use graphic programs like 3D Max or play games with high resolution graphic ,then you need bigger rams. if it is just for normal
     use like surfing the internet, I think a smaller ram is also fine,
    6,To speed up the internet connection?  Please view this link
    http://www.auslogics.com/en/articles/speed-up-internet/
    NOTE
    This
    response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft
    does not control these sites and has not tested any software or information found on these sites.
    Regards
    Yolanda
    TechNet Community Support

  • BPM performance- data aggregation persistance

    Hi,
    I have a situation of large volumes of records to be evaluated, aggregated and split into different scenarios.
    Q1.
    Best way to persist this aggregated data.
    Q2.
    Has anyone found, know or could suggest the best way for this to run optimal.
    Regards
    Ian

    Hi Ian,
    I have both implemented some services on XI 2.0 using ABAP-Proxys at a XI-Application-System / Cluster-Databases and the same services on XI 3.0 with BPM. The proxy solution was much more performant but of course the BPM-Solution has a better monitoring and the advantage of beeing in standard. For a proxy solution you have to copy a XI mandant and configure it as "Application System". It will serve as a message allocator. The ABAP-Code (or Java) is executed in the Inbound proxys, where you can call Outbound proxys or implement database operations.
    Regards Udo

  • RFC Scenario using BPM -- Performance

    Greetings,
      I've implemented a File->XI->RFC->XI->File scenario.
    I use a BPM which transforms the lines of my inbound file into multiple sales orders & line items, then loops through them in a ForEach block to call an RFC and then output the RFC's return structure to a file.
      It takes about an hour for a thousand sales orders to go through & get created.
    That really doesn't sound so bad to me except for the fact that there is a good probability that I will occasionally be receiving files containing up to 10,000 sales orders.
      Could anyone with experience with this type of XI processing please suggest any performance enhancements that have provided results.
    Thanks,
      Doug -

    Hi Doug,
    For effectively using BPM, plz have a look at this checklist
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    An add on
    http://help.sap.com/saphelp_nw04/helpdata/en/43/d92e428819da2ce10000000a1550b0/content.htm
    1 Mapping inside a BPM could affect performance. If u have transformation step in ur Integration Process, then try to perform this mapping outside BPM. It will greatly improve the performance if mapping is complex.
    2. Reduce Tracing - parameter: LOGGING in SXMB_ADM
    Have a look here
    SAP note 857530
    And monitoring all these is always required
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
    Regards,
    Prateek

Maybe you are looking for

  • Help, how do I get iPad Photos to sort the way I want?

    I'm at wits end! After a week of constant sync/re-sync/re-name-stripping out all EXIF data, I'm still at the mercy of some random sort order for some of my photos. I have read: http://support.apple.com/kb/HT4221 - which seems to indicate that it read

  • Planned Conditions in Scheduling Agreement

    Dear Expert, We are using Scheduling Agreement for external procurement of materials,for few materials Condition like ZNMC Cess are applicable,In Purchase Order these conditions are automatically pickup if it is maintain  in MEK1,In Scheduling Agreem

  • New IPAD,transfer content

    I have a new ipad. how do i transfer content to new one and give old one to spouse

  • Workflow Material

    I need some workflow material. plz. help me out From Raj

  • Af:query User interface changes

    I was wondering what user interface changes can i make to an af:query 1) I was wondering if its possible to lock the disclosure button 2) Move the search,reset and add fields button to the top rather than at the bottom 3) remove tool tips? Thanks