BPM Process Sleep / Wait for long duration - is it feasable in SAP PI?

Hi
We have a business requirement where based on a particular date in the future, we require a message we receive to "wait" until that date before it can bed processed (several weeks/months).
I understand that there is a "wait" step in CCBPM - has anybody had any experience with using this step for "long running processes".
When using this, is SAP PI intelligent enough to "sleep" and free resources for this process until the date arrives in the wait step?
What happens with other messages hitting the BPM and there is a process on a wait step? Can queing be setup that subsequent messages that are not on a wait step be processed ahead of the BPM sitting on a wait step?
Are there any other better solutions in SAP PI instead of using BPM wait for a long running transaction (several weeks)?
Thanks in advance.

Hi,
AFAIK it's an anti pattern to run a process over such a long time.
Here it's said that at should not longer run than a few days:
http://help.sap.com/saphelp_nw04s/helpdata/en/43/d92e428819da2ce10000000a1550b0/frameset.htm
But even a day is quite a long time.
All informations of the process must get stored and it's very memory consuming specially if you expext a lot process instances.
It would try to avoid this situation.
Regards
Patrick

Similar Messages

  • CFSTKE* Queues with few entries executing for long durations  (10 hrs)

    In APO 7.0 the CFSTKE* Queues with few entries executing for long durations  (10 hrs)
    Below are the FM from the queue 
    /SAPAPO/CIF_IRQ_REDUCT_INBOUND
    /SAPAPO/CIF_STOCK_INBOUND
    /SAPAPO/CIF_SL_DOC_INBOUND
    /SAPAPO/CIF_SL_DOC_INBOUND
    Do any one have the same problem and any fixes ?
    Thank You

    Hi Aravind,
    What is the status of your queue:
    Is it in status running, ready or sysfail?
    If it is in "Running" status since last 10 hours then check the following things:
    Check SM51 and see if you find a long running process, see if it is trying to do a sequential read on some table.
    If yes then ask your Basis team to run ST04 and see what index it is using,
    If that is also fine then ask them to check stat on that table.
    Builiding stat may help if a read on table is taking long time and index which is being picked up is correct.
    Your basis team should be able to help you.
    I hope it helps.
    Thanks,
    Anupam
    Edited by: Anupam Sengar on Aug 11, 2011 12:06 AM

  • Lync BToE - USB HeartBeat is not passed from Lync for long duration (more than 20 seconds)

    Lync BToE - USB HeartBeat is not passed from Lync for long duration (more than 20 seconds)

    Hi,
    Did the issue happen only for you or for multiple users?
    Make sure phone update to the latest firmware.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • User Event Case getting tied up for long duration in LV 2009 (with SP1)?

    Quick question here...is there any decent reason the user event case is getting tied up for long durations in LV 2009.SP1?  In 8.5 I never had an issue with my code doing this, though when converting to 2009.SP1 I am running into huge lock-up issues with the user event case.

    I have not seen aby issues...
    You are saying that the code from LV8.5 (unmodified) behaves differently in LV2009 SP1?
    Can you post your code?

  • Whenever I browse the apple website for long duration on my it ouch 4g the safari web page suddenly gets stuck

    Whenever I browse the apple website for long duration on my it ouch 4g the safari web page suddenly gets stuck&Goes off &am left on the homescreen I have an ipodtouch 4g 32giggs with ios 5.0.1&is non jailbroken so if any suggestions please reply!

    Boo. I can't edit. Sorry...
    I also want to note that my iPad is -not- rooted and is quite new. And also that it's a third generation iPad.

  • Wait step in quality is waiting for long time

    hi friends
      I have transported the workflow to quality. Am using a wait step in my workflow. Its waiting in that step for long time nearly 1 hour still its not cross the step. The workflow works fine in my developement. But in quality its not moving to the next step. i comparted the wait step in quality and developement. In developement wait step in outcomes tab green light is glowing in Actvie mode. but in quality green light is visible but in blured vision. even i have checked the configuration in swu3 in development and quality. Both have same configuration. What could be the problem that its not crossing the wait step. Plz help me
    Regards
    vijay

    hi Pavan
      I havn't used any deadline. Its working fine in development. y in quality its not working. That is my question. Even i have checked in the development wait step from the log i have these 3 steps for histroy
    Wait step created                                No errors
    Condition for wait step fulfilled               No errors
    Result Processing                               No errors
    But in quality
    Wait step created                                No errors
    Only these step is alone there. its has not yet come to other step. But my condition is fullfilling has i checked from the container elements. Am waiting for more than 3 hours. Still its not come to next step. y what could be the reason.
    Regards
    vijay

  • ABAP process job ( BI_PROCESS_ABAP ) in process chain running for long time

    Dear Experts,
    We have an ABAP process job  BI_PROCESS_ABAP  in a process chain. This job is running for a very long time than previous run time.
    Recently we had an ORACLE database upgrade from 9.2 to 10g.
    From the very next day , we are having this problem.
    And also previously this process-chain was under control of BASIS guys . they were using a tool called CRONACLE to schedule it. At the time of upgrade this tool was crashed and they asked us to schedule it in BW system instead.
    Underlying program is using two custom tables.
    one is having both primary & secondary indexes but the other table is having only primary index.
    I am not sure whether we have secondary indexes on other table prior to upgrade or not.
    Where must be the problem?...
    At the time of upgrade BASIS has re-organized the table space along with database upgrade.
    please help me...
    Regards,
    SRIKANTH

    Please ask yr basis consultant to check the system parms.
    Below i have listed down SAP recommneded system parms .
    abap/heap_area_total 4000000000
    abap/heap_area_dia 2000000000
    abap/heap_area_nondia 2000000000
    Also check in SM37 if any other jobs are running for long time, peventing the your job running.
    Check the SM12 for locks or SM58

  • Capture process status waiting for Dictionary Redo: first scn....

    Hi
    i am facing Issue in Oracle Streams.
    below message found in Capture State
    waiting for Dictionary Redo: first scn 777777777 (Eg)
    Archive_log_dest=USE_DB_RECOVERY_FILE_DEST
    i have space related issue....
    i restored the archive log to another partition eg. /opt/arc_log
    what should i do
    1) db start reading archive log from above location
    or
    2) how to move some archive log to USE_DB_RECOVERY_FILE_DEST from /opt/arc_log so db start processing ...
    Regard's

    Hi -
    Bad news.
    As per note 418755.1
    A. Confirm checkpoint retention. Periodically, the mining process checkpoints itself for quicker restart. These checkpoints are maintained in the SYSAUX tablespace by default. The capture parameter, checkpoint_retention_time, controls the amount of checkpoint data retained by moving the FIRST_SCN of the capture process forward. The FIRST_SCN is the lowest possible scn available for capturing changes. When the checkpoint_retention_time is exceeded (default = 60 days), the FIRST_SCN is moved and the Streams metadata tables previous to this scn (FIRST_SCN) can be purged and space in the SYSAUX tablespace reclaimed. To alter the checkpoint_retention_time, use the DBMS_CAPTURE_ADM.ALTER_CAPTURE procedure.
    Check if the archived redologfile it is requesting is about 60 days old. You need all archived redologs from the requested logfile onwards; if any are missing then you are out of luck. It doesnt matter that there have been mined and captured already; capture still needs these files for a restart. It has always been like this and IMHO is a significant limitation for streams.
    If you cannot recover the logfiles, then you will need to rebuild the captiure process and ensure that any gap in data captures has been resynced manually using tags tofix the data.
    Rgds
    Mark Teehan
    Singapore

  • Should I buy the new MacBook Pro 17 right now or wait for longer?

    I've seen a lot of people complaining issues of the new MBP 17. I just don't know it's the right time to buy one or wait for onther months. I am scared that if I ordered one online, and can't return it.....

    In my opinion not doing custom if you can afford it is a mistake. The only drawback is yes you cannot return it, but if your that unsure about it, do what i did. i went to an apple store and played with it. The only unsure thing i had was if i would like the operating system over windows.
    Also posted questions here. The downside of not least getting a higher processor is that it requires replacing sooner. Rather spend a few extra now and be able to use it an extra year or so. i speak from expierence of not upgrading and seeing my 3000 dollar sony blue ray i bought 3 years ago become an expensive blue ray player because i didnt upgrade my processor from a 2.0 to 2.5 back then. If i did it still be a decent computer but alot of games now require over the 2.0 to even run at low specs.
    But i buy for the computer to least last me 3 years, maybe you replace sooner. Again this is only my opinion. and for what its worth ANY computer you buy if you go to the forums of that computer you will see complaints and problems about it. Just Apple is a big name and this is a new release so the news people still have this computer in thier radar.

  • Approval process not waiting for approval tasks to be completed

    Hi All,
    I created an Approval process for a resource. When a request is created for this resource an approval task is assigned to the manager of the user.
    Before the approval task is completed by the manager the resource is getting provisioned. Is there something I am missing out here. Any suggestions about what I am missing here.
    Thanks

    The statuses shown are sometimes misleeding. There is a status for when the approval starts. There is a status when the Standard Approval process completes (this is normally set to auto complete). There there is a status for when the object specific approval starts, a status for if any of the approvals have been completed, and then one for when the whole request is completed. These don't neccessarily provide you with a sure answer to the status of the request.
    I think you need to disregard the statuses for now, and just configure the approval tasks as you intend to do so. If you do not want the standard approval to be required, set the Approve task to use the auto complete adapter. Then create an approval process specific to your resource object, and set it to the default. Then create an approval task and make to uncheck the "conditional" checkbox so that it always runs. Set your assignments appropriately, and you will be done. The provisioning will not start until all tasks are completed with a complete status for the tasks within.
    If you want to know the statuses between steps, then check those between all of the steps.
    -Kevin

  • My Iphone is Suddenly becom blank and only showing Apple symbol...I even tried pressing the sleep button for long..Please help me out

    I have Iphone 5s 64GB and the IOS is 8.1.2
    Suddenly from today morning my iphone screen has gone blank and the Apple symbol is displaying. I Tried to reset by pressing the Sleeping button but it does'nt work and its not responding to any buttons. Still it remains the same displaying apple symbol. How do i solve it..

    HI,
    I tried the same after seeing your reply. Now my iphone got turned On....Thanks you so much for the reply...Thanks a ton..:)

  • Wifi network not recognized for long duration after WPS button pressed on ap

    I have a TP-Link TP-WA901ND (access point) and it has been working flawlessly I pressed the WPS button on the device to get a wireless printer to acknowledge the network.
    Now after 10hrs all the devices and computers see the network except for my z10 and BOLD 9300 until I power cycle the device.
    Any ideas?

    Hello RonnonF 
    Please read these useful articles;
    • KB14477 Unable to connect to a Wi-Fi network on the BlackBerry smartphone
    • Speed up BlackBerry Wi-Fi connections a knottyrope...
    Good luck.
    • Click Likes to appreciate those who helps you
    • If your issue solved, mark the best post in your thread as Solution

  • HT202159 Mountain Lion Download: 'An error has occurred': Download stopped and its waiting for long.....download not starting

    I purchased Mountain Lion and it was downloaded upto 4.2 GB but then my internet connection went down and it started showing as 'waiting'. when the connection came back it didn't resume the download and vanished. On the 'purchases' icon in Appstore it says 'an error has occurred' and even after pressing download again and again The download is not starting. On the finder Mountain Lion Icon shows as waiting.
    What to do? I have tried unfinished downloads section in 'Store' but it says no unfinished downloads. Please help.

    You can have iTS clear the DL que.
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Processing large volume of idocs using BPM Processing

    Hi,
    I have a scenario in which SAP R/3 sends large volume say 30,000 DEBMAS Idocs to XI. XI then sends data to 3 legacy systems using jdbc adapter.
    I created a BPM Process which waits for 4 hrs to collect all the idocs. This is what my BPM does:
    1. Wait for 4 hrs Collect the idocs
    2. For every idoc do a IDOC->JDBC Message transformation.
    3. Append to a Big List
    4. Loop at the Big list from step 4 and in the loop for
    5. Start counter from 0 and increment. Append to a Small List.
    6. if counter reaches 100 then send a Batch JDBC Message in send step.
    7. Reset counter after every send.
    8. Process remaining list i.e if there was an odd count of say 5300 idoc then the remaining 53 idocs will be sent in anther block.
    After sending 5000 idocs to above BPM following problems are there:
    1. I cannot read the workflow log as system does not respond.
    2. In the For Each loop which loops through the big list of say 5000 idocs only first pass of 100 was processed after that the workflow item is not moving ahead. It remains in the status as "STARTED" but I do not see further processing.
    Please tell me why certain Work Items are stuck is it becuase I have reached upper limit and is this the right approach? The Main BPM Process is also hanging from last 2 days.
    I have concerns about using BPM for processing such high volume of idocs in production. Please advice and thanks in advance.
    Regards
    Ashish

    Hi Ashish,
    Please read SAPs Checklist for proper usage of BPMs: http://help.sap.com/saphelp_nw04/helpdata/en/43/d92e428819da2ce10000000a1550b0/content.htm
    One point i'm wondering about is why do you send the IDocs out of R/3 one by one and don't use packaging there? From a performance stand point this is much better than a bpm.
    The SAP Checklist states the following:
    <i>"No Replacement for Mass Interfaces
    Check whether it would not be better to execute particular processing steps, for example, collecting messages, on the sender or receiver system.
    If you only want to collect the messages from one business system to forward them together to a second business system, you should do so by using a mass interface and not an integration process.
    If you want to split a message up into lots of individual messages, also use a mass interface instead of an integration process. A mass interface requires only a fraction of the back-end system and Integration-Server resources that an integration process would require to carry out the same task. "</i>
    Also you might want to have a look at the IDoc packaging capabilities within XI (available since SP14 i believe): http://help.sap.com/saphelp_nw04/helpdata/en/7a/00143f011f4b2ee10000000a114084/content.htm
    And here is Sravyas good blog about this topic: /people/sravya.talanki2/blog/2005/12/09/xiidoc-message-packages
    If for whatever reason you can't or don't want to use the IDoc packets from R/3 or XI there are other points on which you can focus for optimizing your process:
    In the section "Using the Integration Server Efficiently" there is an overview on which steps are costly and which steps are not so costly in their resource consumption. Mappings are one of the steps that tend to consume a lot of resources and unless it is a multi mapping that can not be executed outside a BPM there is always the option to do the mapping in the interface determination either before or after the BPM. So i would sugges if your step 2 is not a multi mapping you should try to execute it before entering the BPM and just handle the JDBC Messages in the BPM.
    Wait steps are also costly steps, so reducing the time in your wait step could potentially lead to better performance. Or if possible you could omitt the wait step and just create a process that waits for 100 messages and then processes them.
    Regards
    Christine

  • Can a BPEL process wait for a second web service call

    Hi,
    My BPEL process is an asynchronous process, so the first web service call kicks off an instance of the process.
    what i want is somewhere down in the process i can put a "receive" shape to pause the process and wait for another web service call to come in, once the "receive" shape gets the second web service call, the process continues on.
    Is that a valid thing to do on BPEL?
    i don't seem to be able to get it working.
    i could change the WSDL for the BPEL process to publish two operations, the default "initiate" and another one called "continue", they both accept the same type of request message.
    but when i test it, the BPEL process just can't accept message at the second operation, it always creates a new instance to handle the web service calls, even when the call is targeting "continue" operation.
    Any ideas?
    Thanks in advance!

    I was just about to give up after the last post but then the "pick" shape hit my eye somehow ("thank God", that's all i can say)
    and it did the trick, the "pick" shape can wait for an incoming call from a partner link.
    so what i can achieve is this,
    the first web service call sends some thing like
    <Root><CorrelationId>1</CorrelationId><Content>first name</Content></Root>
    on the "initiate" operation, just like calling an "initiate" method in java code
    the BPEL instance gets initiated, reaches the "pick" shape and stops
    then a second web service call comes in as
    <Root><CorrelationId>1</CorrelationId><Content>last name</Content></Root>
    on the "continue" operation, again just like calling a "continue" method
    it works!

Maybe you are looking for

  • Safari won't open anything.  help!!!?

    Hi there. My name is Shelli. My husband and I recently went from dial-up to slow dsl. When we did, Safari would no longer open any pages, no matter what. It will not even open the apple store. Can anyone help me? I have emptied the cache, and I have

  • How do I get itunes 11 to sync my ipod nano? Itunes error message says ipod cannot be synched.

    My ipod is recognized in Windows but itunes won't synch thwe ipod nano. An error message says "The ipod "name of my ipod" cannot be synched. The required folder cannot found. The first time I downloaded itunes 11 it didn't install but it completely u

  • No entry was generated in Master catalog after contract upload by PI...

    We use CCM 2.0 as percurment catalog in SRM 7.0 server. 1.I finish the basic configuration and tranfer the product catalog to the CCM. 2.Then I do the mapping of product cat to master cat. 3.I finished the PI scenarios for upload contract. 4.When I p

  • Half my photos suddenly not showing up (version 7.1.5)

    arghhhh, half my albums have disappeared! this is what happened: i had just imported some new photos into iphoto. then i proceeded to upload some of them onto my facebook page using the facebook exporter within iphoto. i have done this many times wit

  • Reading a fle format thats part ascii and part binary

    Hey I'm trying to write a importer for the PLY filke format. That file format starts of with a header in ascii and then continues with either the data in ascii or in binary. When the data is in ascii I have no problem reading the file but when the da