Avoid Process chain parllel run

Dear Experts
I have to execute 8 process chains through an interface A (8 PC handles by different dept people).
8 PC have a common IP,sometimes if they trigger at same time I am facing table lock error.
Now I want to avoid this parllel execution of PC eventhough they trigger in same time.
Requirement:out of these 1 PC runs then other PC should wait for the completion of 1 and then should get trigger.
Any logic for ABAP or any option on BI7 ?
Please help me
Assuring for full points.
Thanks and regards
Rajesh

Hi...
First create 7 Events in SM62........suppose.......A,B,C,D,E,F,G.........
U use the process Program ............and the Program name is BTC_EVENT_RAISE............
Incluse this program in the end of each PC......And this program will raise event........
First PC1 will run........make it time based.......in the end include the program............which raise Event A.......
Include A in the Start variant of PC2............(ie..make rest all the 7 PC event based)....so once PC1 completed.it will trigger PC2...........
Similarly...........PC2 will rsise Event B............which in turn will trigger PC3............
In this way the other chains.......
Design the PC s in this format......
Start Process
Program
Regards,
Debjani.......

Similar Messages

  • Process Chain excessive run time

    Hi all
    Would like to know if any of you have experienced what we are experiencing.
    We have a process chain that runs every night.  It is running the same master data which usually only takes seconds.
    However, on occassions, the same amount of data is taking over 18 hours to load.
    When we look on monitor in the detail tab, it shows that it has only taken seconds but the header tab is showing 18 hours.  This then delays any other subsequent process chains from being kicked off.
    We are investigating as to why this is happening but any comments would be appreciated.
    thanks in advance
    Sandra

    Hi Sandra,
    I can suggest you few things which may help u...
    1) Increase the parallel processing during extraction
    2) Selective loading.
    3) Every job will be having a priority (A, B, C – A being the highest and C being the lowest), choose this based on your scenario.
    4) Check with basis for the sizing of your server.
    5) You can increase the number of background processes during data loads. This can be done by making dialog processes as Background processes.
    For this you need basis inputs. (This is done in some profile settings by making the system behave differently during loads. (something like day mode/night mode))
    6) There are some maintenance jobs that should run regularly in any SAP box to ensure proper functioning.
    7) Use of start routines is preferred instead of update routines.
    Assign points if these help u...
    Regards,
    KK.

  • R3 job completion trigger a process chain to run on BW

    Hello,
    I was wondering how I can trigger a process chain to run on BW 3.5 after a SM37 job completes on R3?
    I have been searching the forums and the web, but I haven't found what I am looking for.
    Thanks,
    Nick

    Hello Pramod,
    I would need a more detailed suggestion to implement, but thanks for starting the discussion.
    I thought it would be as easy as this
    1. Create an event in BW
    2. Have a process chain that starts when that event is raised.
    Having implemented and successfully tested steps 1 and 2, the rest should be simple (I was able to raise the event on BW locally and the chain did run as expected)
    3. On R3, create a small ABAP program that calls the BP_EVENT_RAISED Function Module on R3.
    4. Pass that Function Module the following parameters
            A. My BW system name, and
            B. The event name that I created on my BW system
    5. Add that ABAP program to the end of the job on R3.
    It doesn't work though! The event i created on BW, doesn't seem to exist from R3's perspective.  I was hoping it was as easy as that.  Hopefully I am missing something simple, but so far R3 does not want to cause the event on BW to be raised.
    Thanks,
    Nick
    Edited by: Nick Bertz on Oct 13, 2008 12:19 PM
    Edited by: Nick Bertz on Oct 13, 2008 12:23 PM

  • Why the process chain always run twice when triggered from R3?

    I run a program from R3 by calling the remote function 'RSSM_EVENT_RAISE' on BW to trigger an event and in turn the event on BW bring up the running of a process chain.  But whenever I run the program on R3 to bring up the running of the process chain, I find the process chain always run twice at the same time.  Does anybody knows the answer? 
    And also I would like to know the functionalities of the two picture buttons "Activate" and "Activate and Schedule" in process chain.  In which case the "Activate" button should be used and in which case, the "Activate and Schedule" button should be used?   If we click the Start variant of a process chain, then click "Change Selections" button which bring up the window "Start Time" where the buttons "Immediate", "Date/Time", "After job", and "After event" are listed at the top.  If we modify at any of the above buttons, then after save this modification, we will have to click "Activate and Schedule" button to make it work, right? 
    Thanks a lot and everyone's idea is greatly appreciated!

    Kevin, make sure there is only one job scehduled for the Start Process of your Process Chain.  If you bring up the Process Chain (not the log view), right click on the Start Process and select "Displaying Scheduled Job(s)...".  There should only be one scheduled job with name BI_PROCESS_TRIGGER.  If there is more than one, then when triggered, it would execute more than once at the same time.  If there is only one job, then maybe your R/3 program is triggering the event more than once? 
    As far as the Start conditions for the Start Process, it works off the same principals as a scheduled job.  These start conditions determine when or how the Process Chain is to be executed.  You also have control over frequency.  These start conditions determine the scheduling of the Start Process of your Process Chain.
    When you schedule a Process Chain, a separate scheduled job is created for "each" process in the Chain.  BW controls the triggering of these jobs based upon how the processes in the Chain are linked.  All the jobs associated with Process Chains have strict naming conventions and all begin with BI_PROCESS_...  If you use SM37 to view all jobs that begin with BI_PROCESS_ you will find alot of scheduled jobs associated with your process chains.  Each job represents one of the processes within your process chains. 
    Does this help?
    Another tip might be to trigger the event manually in BW (use tx SM64).  If the process chain executes twice again, then maybe there is a separate scheduled job in BW that triggers the process chain that is triggered by the same event as the start process of the process chain.
    Message was edited by: George Shannon

  • How to setup process chains to run during office times every 30 minutes

    I want to set up a process chain to run only during 8 am to 6 pm MST every 30 minutes. How do I do such a setting in the process chain?
    Regards
    Ram

    Hello,
    You can do this by creating a daemon chain which runs once every 30 mins and triggers a event.
    You can use the event triggered by the daemon chain in the start variant of the PC which you require to run every 30 mins.
    But before doing that, make sure that one run of your process chain completes definetly in 30 mins.
    Let me know if you are looking for additional information.
    Cheers,
    MS.

  • Process chain to run every other Thursday (with exception of 53rd week)

    Hello Friends,
    I am trying to find a way to set up my Process chain to run every other Thursday (with exception of 53rd week).
    I am hoping that I can perform this via Decision variant.
    Any advice would be very much helpful.
    Regards,
    Vinoth V

    Hello Shankar,
    Thank You for the valuable comment. So you mean I would need to create a decision variant as shown below?
    DATE_WEEKDAY1( Current Date ) = 4 for running this every Thursday and DATE_TO_WEEK formula to meet the requirement of restricting the chain not to run on 53rd week?
    How can I make the chain to run on alternate Thursdays?
    Kindly advice.
    Regards,
    Vinoth V

  • How to trigger a local process chain to run manually

    Dear Experts,
    In my company, I have a Daily process chain.
    In this Daily process chain, it contains many other local process chains which are grouped by modules.
    For example, I have created the following 3 process chains:
    - Accounts Receivables Process Chain which contains all the required process for loading FIAR data.
    - Accounts Payables Process Chain which contains all the required process for loading FIAP data.
    - Inventory Process Chain which contains all the required process for loading  Stocks data.
    These 3 process chains are scheduled one after the other in the main process chain which is called Daily Process Chain.
    FIAR needs to be successful before FIAP can run and Inventory chain will run only after FIAP is successful.
    Normally it runs without any problems.
    But recently, when the previous chain is successful, the next process chain does not get triggered to run.
    In the end, I have to manually execute the remaining process chains to start running.
    With this, all data are loaded, but the Daily Process Chain status for the day is yellow because it is not complete.
    Is there a program or method which I can execute or use to trigger the process chain to continue to run in the Daily Process Chain? If there is, please let me know so that I can avoid having to run the process chains manually one by one.
    Thanks in advance for your help.
    Regards,
    Shunhui.

    Check thid thread with the similar issue:
    Process Chain - Node untriggered.
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains

  • Process chain is running even after the 'No Schedule After' date

    Hi Experts,
              On 19th sep, we scheduled a process chain where the scheduled start date is 20th sep, 07:30:00 and no start after date is 22 sep, 00:00:01. The periodic value is 'Daily' and there is no restrictions for this load.
             But yesterday the process chain ran at 7. We checked tbe jobs that triggered and found that the start date and no start after date is changed to 21 and 23 respectively.
            But the last changed date for the process chain is 19th sep only.
            Anyhow, we removed the process chain from schedule. But, I want to know the reason for this load that loaded even after the 'No start after' date.
           Please help me to know why this issue happened...
    Regards,
    Yokesh.

    I also have been caught by this option once : the "do not start after" is here to avoid problems of scheduling : let imagine your system can be stopped, for any reason, so the scheduling will be postponed. In this case, it avoid, for instance, to load data during the day. It's not for running a PC for only a certain period of time.

  • Error in process chain when running package (data manager)

    Hello experts,
    I try to run the following how to : "move date between applications using Data Manager ..."
    Yon can find the pdf here : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0480970-894f-2d10-f9a5-d4b1160be203
    I'm looking after someone who used it successfully, on my side after implementing all steps and running the package I get the message "IMMEDIATE RUN: Request to run the package on the server was successful The package is now running"
    When I look the log for the process chain, overall status of the process chain is yellow, and steps "modify dynamically" and "clear BPC Tables" are in error.
    I can't get any usefull error messages.
    If someone has an idea to have details about those errors, it will be appreciated.
    Points will be awarded, thanks in advance.
    Guillaume P.

    Hello Experts,
    I am also facing the same issue with PC failing at Modify_Dynamically step....
    This process type is working fine when used  in standard delivered process chain to load transaction data.
    I tried using this variant in my cutsom chain, but it fails.
    Please suggest.....
    Thx....D

  • Process Chains are running from 3 days

    Hi BW experts,
    Daily our process chains run in the night time.
    But Friday's jobs are still running. So i stopped all process chains on saturday.
    Friday's jobs did not finish till now. Still these are running. These are in active.
    Some process chains are stopped at CREATE INDEXES.
    Some process chains are stopped at ODS Activation.
    These are in yellow status.
    Please can anyone tell me the solution for this. I have to start our process chains today night.
    How can i rectify this problem? Can we stop the yellow status jobs
    Thanks & Regards
    Anjali

    Hi 
    check the loads in the process monitor whether it has completed or not??
    Some times it will show yellow if it gets completed also.Otherwise check for the source systems from where u r getting data.There may be a problem with that.
    Cheers
    Sunil Reddy LCP

  • Process chain doesnt run in background! URGENT

    hey
    i have a issue with process chains.  we are using a meta chain which consists of 5 local chains, when i activate and schedule this meta chain from the RSPC transcation code the meta chain runs fine. But when i schedule this as a job in SM37 than the job terminates. the start variant of the meta chain has direct scheduling and a date / time on it at which we want to run the meta chain. the local chain start variants have "start using meta chain" option. I dont know whats the problem.
    The error message in the job log says: Job BI_PROCESS_TRIGGER has been started because of event. This job is not known, in the active version of the process chain" What does this mean ?
    Please let me know
    thanks
    Laura.
    Message was edited by:
            laura s

    Hi:
    You cannot start process chains from SM37, that is the problem.  You shouldn't have to...?  You have not indicated why you would go into SM37 instead of simply starting the chain in process chains - you can simply edit the process variant of the meta chain start process if you want to change the start time.
    Thanks for any points you choose to assign.
    Best Regards -
    Ron SIlberstein
    SAP

  • How to modify  Process Chain to run under BWREMOTE

    Greetings,
    below is the setup
    - a process chain made up of an abap program
    + the program uses 'open dataset' to read the data on a file on the server and eventually to rewrite to a different directory
    - when run the process chain get the following message:
      "PC could not be scheduled- termination return code 8"
    -when I run the abap in the background -->  get the following message:
       "OPEN_DATASET_no_authority"
    - I have ful authorization to run any abap program and have full access to the server file.
    - Notes: 947690 & 511475 --> has solution for changing the user id for BW up to and including 4.6C.  Our system is 7.0
    How can I change the user id in Process Chain so it can run under BWREMOTE and not  under my user id.
    Any suggestions are greatly appreciated.  Thank you in advance,
    B.A.

    Thank you everyone for your responses. 
    After the responses, I changed the user to BWREMOTE
    - went thru the following steps:
    RSPC - chose my PC - change mode - Menu - PC - Attributes - Execution user - selected option 'BW background user' --> saved the PC, checked it, activated it and scheduled it.
    However, in sm37, I do not see the job under BWREMOTE, it is still under my userid. 
    Any suggestions please.  Greatly appreciate it.
    B.A.

  • Can I schedule Process chain while Running?

    Hi ,
    Can I schedule my process chain for monday 7:00AM. when it is still running today on saturday. kindly reply ASAP.

    Hi,
    Yes , you can but it can't be scheduled to run immediately.
    Thanks
    Alok

  • Process chain is long running

    We have a process chain that is long running even though there is not much data.
    It is long running in Load PSA step. It is getting data from other R/3 sap system. A job is also long running in the R/3 system.
    We can see data coming to BW system but not getting updated to PSA and even the job in R\3 is also not getting terminated.
    There are many other process chains too running in the system and they are running fine. So i feel that this may not be due to system performance. This is happening for last one and half week.
    If any one has faced similar problems or if you have any solution or checks that i can do, please reply.
    Regards,

    Hi sarafraz,
    If there are more than one run are active and running ,then delete the other extraction job and have only one at a time in source system. Because those may be causing lock issue .
    Also see system log in SM21 ,if you have any system termination message for this extractor .
    Check ST22,if you have any short dump for this extractor
    Also you can try to load for particular selection in Infopackage (for a month,company code or some other selection that restrict the data) and check whether it is completed or not.
    Also check to RSA3 and extract there.
    See SM12 -for lock entires
    SM51,SM66 in source system - What is running for this extractor,which program is being read,which table etc...
    so you can know the step where it got stuck or taking long time.
    Thanks,
    Naween

  • Process Chain takes alonf time to run

    Hello All,
    We have a process chain which loads data for texts, attributes etc.
    On certain days the process chain will run extremely fast and maybe take a couple of hours, other days the same process chain may take 24 hours to run.  It appears to get stuck when extracting the data from our source system.
    Is there any reason for these strange performance issues and does any body else have the same problem?  Is there anything that can be done about it?
    Thanks,
    Nick.

    Hi Nick,
    This error normally occurs whenever BW encounters error and is not able to classify them. There could be multiple reasons for the same
    Whenever we are loading the Master Data for the first time, it creates SID’s. If system is unable to create SID’s for the records in the Data packet, we can get this error message.
    If the Indexes of the cube are not deleted, then it may happen that the system may give the caller 70 error.
    Whenever we are trying to load the Transactional data which has master data as one of the Characteristics and the value does not exist in Master Data table we get this error. System can have difficultly in creating SIDs for the Master Data and also load the transactional data.
    If ODS activation is taking place and at the same time there is another ODS activation running parallel then in that case it may happen that the system may classify the error as caller 70. As there were no processes free for that ODS Activation.
    It also occurs whenever there is a Read/Write occurring in the Active Data Table of ODS. For example if activation is happening for an ODS and at the same time the data loading is also taking place to the same ODS, then system may classify the error as caller 70.
    It is a system error which can be seen under the “Status” tab in the Job Over View.
    Cheers
    Raj

Maybe you are looking for