How to schedule process chains to be run on certain dates contained in DSO

Here is what I am trying to do.
We have a set of objects that need to be loaded with data, however they have to be loaded only on certain dates.
We are using process chains. What I would like to do, is to automate this load.
Essentially, I am thinking that I need to create some kind of event/service on the BW side that will sit and listen by comparing the system date to a set of dates defined in one of the DSOs containing data on Academic Calendar.
For example, the process chain should only start when the system date is = to the beginning of academic subsession date defined in one of the DSOs called Academic Period. Once the execution happens, then the event/service would sit and listen until the next time system date is = one of the dates in that DSO.
I am looking into the detailed steps in how this automation could be accomplished.
Thank you

did this once a long time ago...other kind of requirement but the principle is the same.
create a program_1 that updates table TVARV.
you need a selection screen with a paramter 'run_pc_2' and an input field for 'X' or ' '.
when you need to run chain2, you run this program and put X in the input field and run the program to update TVARV.
after the run of the process chain you run the program again and put ' ' in the input field.
create a second program_2 that reads this entry in table TVARV. If 'run_pc_2' = 'X' then you trigger event1. else you trigger event2.
create two process chains.
1/  PC1PC2PC4
2/ PC1PC3PC4
the first process chain is to be scheduled by event triggering after event1.
the second one is to be scheduled by event triggering after event2.
schedule program_2 to run daily.
the program will now check the entry in table TVARV and will trigger the corresponding process chain.
i hope it's clear what i mean to say.
M.

Similar Messages

  • How to schedule Process chains in Bi Admin Cockpit

    Hello friens,
    I am working on installing Bi cockpit.
    After installing the info providers, i have to schedule the process chains for Bi admin Cockpit.
    I know the transaction is RSPC.
    But I dont know how to schedule process chains for Bi admin cockpit.
    How to schedule Init and Delta
    If you can send me step by step documents.
    Or any good sap note number.
    Or any good links i will really apreciate it.
    I want to schedule process chains
    Content Master Data
    Data Load Statistics # Delta
    Data Load Statistics # Init
    Query Runtime Statistics # Delta
    Query Runtime Statistics # Init
    System Master Data
    Please advise

    Hi,
    Please check out this document:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    Hope it helps.
    Thanks
    Mona

  • How to schedule Process Chain with Full Update for the past closed month

    Hello,
    I have an HR-BN benefits transactional data extractor - http://help.sap.com/saphelp_nw70/helpdata/en/08/b01d3cf8aa101ce10000000a11405a/frameset.htm
    One of the selection fields for that extractor is calendar year/month 0CALMONTH and it is a full update extractor.
    SAP recommends running this extractor once a month after the month has been closed.
    If I were to include this update/extract into my process chain, would it be possible to automate the process in a way where the process chain is scheduled to execute once a month (I know how to do that), but that also only pulls values for the past/closed CALMONTH (as if it had a variable value of which would be automatically set to the last closed month when pchain is run)? As I mentioned 0CALMONTH is one of the selection criterias in the infopackage for that extractor.
    let me know how I might be able to do that.
    P.S. we are on BI 7.0/2004s
    Thank you

    For Calmonth selection in infopackage you can use the SAP-Exit OLAP Variable 0CMLMON (Last Month)
    select Type "7" ("OLAP Variable")
    and in Details of Type screen, Select OLAP Variable "0CMLMON" Which is SAP-Exit variable for Calmonth, that returns the last month from the current system-date.
    If variable 0CMLMON is not active, you need to activate it from Business content.
    Assign pts if helpful.

  • HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING IN THE PRODUCTION?

    HI ALL,
    CAN ANYONE TELL ME HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING DAILY AT 5.00 PM. I NEED TO STOP THE PROCESS CHAIN FOR COUPLE OF DAYS AND THEN RESTART IT AGAIN.
    cAN ANYONE TELL ME THE PROCEDURE TO STOP THE ENTIRE PROCESS CHAIN RUNNING IN THE PRODUCTION.
    THANKS
    HARITHA

    Hi,
    First and foremost let me advice you to be very careful while doing this.
    For Rescheduling
    RSPC> chain > Goto > Planning view and
    click on Execution tab > select > Remove from Schedule and then in Maintain variant of start process reschedule for the day you require it to run.
    For terminating active chain
    You can start from SM37, find the process WID/PID then go to SM50 or SM51 and kill it. Once its done come back to RSMO and check the request, it should be red but again manually force to red and save by clicking on the total status button in the status tab. This shuld ensure that the process is killed properly.
    The next step will be to go to targets that you were loading and remove the red requests from those targets.
    Note: For source system loads you may have to check if the request is running in the source system and kill if needed and pull it again.
    But for BW datamart delta loads u may have reset the datamarts in case u are going to pull the delta again.
    Re: Kill a Job
    Re: Killing a process chain.
    Regards,
    JituK

  • How to stop a process chain when its running?

    Dear Experts,
    How to stop a process chain when its running? is it that a chain can be stoppend when we open an info package of that chain ?
    Thank you,
    Raj

    Hi,
    Goto the main menu process chain --> choose the remove from the Schudule...
    Regards
    sathis
    I hope it helps to u... please assign the points

  • How to Trigger process chains??

    hi all
    How to Trigger process chains??
    Can anybody step by steps??
    thanks
    Senthil

    The background control options are available to directly schedule the start process. You can start the start process immediately , that is when activating the process chain, for a specified time, or after a particular event. When you activate the process chain, the start process is scheduled in the background as defined in your selections.
    You can also trigger the start of a process chain via a meta chain. A meta chain is when a process chain, to which you set this start condition, is fixed to another process chain. The process chain is started directly by this meta chain.
    When you start the start process via a meta chain, it is not scheduled after you activated the related process chain. The process is only started when the meta chain, to which it is linked, is running.
    The remaining chain processes, that is the application processes and the collection processes, are scheduled to wait for an event.
    The start process has the following special features:
    Only the start process can be scheduled without a predecessor process.
    The start process can not be a successor to another process.
    Only one start process is allowed for each process chain.
    One start process can only be used in an individual process chain

  • UNCAUGHT_EXCEPTION with msg CX_RSR_X_MESSAG while scheduling Process chain

    Hi Gurus,
    We are facing a short dump while scheduling process chains, as follows:
    <BR><BR>
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_RSR_X_MESSAGE
    <BR><BR>
    Error analysis
        An exception occurred which is explained in detail below.
        The exception, which is assigned to class 'CX_RSR_X_MESSAGE', was not caught
         and
        therefore caused a runtime error.
        The reason for the exception is:
        No text available for this exception
    <BR>
    Information on where terminated
        Termination occurred in the ABAP program "SAPLRRMS" - in "RRMS_X_MESSAGE".
        The main program was "RSPC_MAINTAIN_SINGLE ".
        In the source code you have the termination point in line 82
        of the (Include) program "LRRMSU13".
    <BR>
    We tried to schedule it as a remote process chain from some other system it cancelled the job there with an ERROR_MESSAGE. We checked the RFC Connections at the source system side but it is working properly. We then tried to schedule the chain manually, we had this exception. Then we tried to have a look at previous logs of the process chain. It had this exception. We tried to reactivate the chain it was successful but when tried to schedule the chain same issue again. We tried to run the Meta chains under the same chain separately. They too gave us the same exception.
    Please help.
    Regards,
    Sourabh Deo

    S Simran wrote:
    Hi,
    >
    > Ours is a fresh installation..
    >
    > When i am loading for the first time till PSA it is successful..
    >
    > As HR data sources are 3.5 datasources, i am loading cube via infopackage..
    >
    > When i start the load to cube it is giving me dump with exception CX_RSR_X_MESSAG.
    >
    > i checked note  615389 which talks about "buffering of number range object BIM9999998".  the 0REQID is not buffered, but it does not throw any error msg in RSRV to correct the error..
    >
    > and one more note 1157796 which talks about patches with version BI 7.0.
    >
    > Now we are in BI 730 with heighest level 0005.
    >
    > Not sure how to solve this error
    >
    > Any ideas?
    What's your SP? Are you having any master data updates left unattended? Check the Master data objects, check the flows. Related SAP Notes : 914304 / Check 967202(SP10) and 998673(SP11), 1157796, 763203 and 615389
    Edited by: Arun Bala G on Feb 12, 2012 9:50 PM

  • Modifiying, Transporting and Scheduling Process Chain

    Hello ALL,
    i have to create a new process chain for a delta Load and put this process chain in a big existing Meta Chain, after i have to transport to Quality System.
    if i control the difference between Dev and Quality system to have an idea i see that the Infopackages in Dev have the execution tab: Load Data Immediately without job: BI_BTCH
    in Quality some Infopackages have execution tab: run successively in batch with job like this:
    BI_BTCH LX6CW08S1ICM04I4O06KOPL
    can you tell me please in detail how should i complete this activity:
    - wich type of control should i do before creating and modifiying process chain in DEV and Quality
    - how should i do to control in Quality the scheduling of a process chain
    - if i modify a process chain in DEV and after i will transport in Quality what will be the affect in Scheduling, the scheduling will be the same without problem or i have to schedule again
    - in generale how can i schedule a process chain, wich transaction and how in detail
    Thanks a lot for your help
    Bilal

    Hi Bilal,
    1) EVENT: When you want to have a process chain 'A' to be started after completion of a process chain 'B' or any process in process chain 'B' we can use this event.  These two chains can also be from different BI systems.  Like Chain 'A' could be from one production system and Chain 'B' could be from different production system.  As soon as the chain A finished an event will be triggered and this event will trigger the chain B.  The start time of chain B might differ because it depends on the completion of chain A. To schedule a process chain using an event, Go to Tcode: RSPC look for your chain. Switch to change mode. Right click on the start variant and select maintain variant. Click on "change selections. click on "after event," give the event name in the slot and select the periodic job.
    2) RUN JOB PERIODICALLY: When you want to have the chain run for more than once periodically we select this option.  Suppose, chain B has to run after completion of chain A periodically we have to use this option.  If you do not check this option, your chain B will run only once when the event is triggered after completion of Chain A.  From the next time onwards, it not run even the event is triggered.
    3) JOB: For every process when it runs a job will be created assainging it to a work process in the system.  Similarly, when the chain starts a job will be created containing the log of the run.  Also, in the scheduling options of a process chain, you can have your process chain started after completion of a particular job in the system (ex: an attribute change).  For this, Go to Tcode: RSPC look for your chain. Switch to change mode. Right click on the start variant and select maintain variant. Click on "change selections. click on "after job" give the job name in the slot and save the settings.
    4) SCHEDULING PROCESS CHAIN: Means to make settings to a process chain so that it will run on a periodic basis at a certain time.  If you want to start a chain immediately, you will choose the option immediately and trigger it.  It will run for only once.  But, if you want to have your chain run everyday at 7:00 am in the morning, you have to schedule it using the scheduling options as below:
    In Tcode: RSPC look for your chain. Switch to change mode. Right click on the start variant and select maintain variant. Click on "change selections." Click on Date/Time button. Give the start date and time in the Scheduled Start slots. (Ex: 09-04-2009, 7:00, to have the chain run at 7:00 everyday starting from tomorrow). Tick the check box Periodic job in the bottom and click on "periodic values" button and select the option as daily and save it. Then click on "Restrictions" button to specify the factory calander. The Tcode for calander is SCAL, where you can see all the factory calanders in the system and you can choose that suits your requirement. Save the changes and navigate back to process chain maintaince screen and click on "Schedule" button.
    Now your chain is automated for trigger

  • How to find process chain using background job in sm37

    How to find process chain using background job in sm37

    Better is to select the job.
    Select (Define) Step (s) or F6.
    Select the line and Menu Goto>Variant.
    The variant contains the name of the CHAIN and its VARIANT.
    Success
    We faced an old job and via job monitoring we were informed about a cancelled job every 'interval'.
    We noticed that the related chain was deleted but still the job was scheduled each interval again and was cancelled because an event was missing
    We could not find the scheduled job via SM37.
    Via view V_OP, view over tbtco abd tbtcp, we find the related entry.
    We delete these entries via function BP_JOB_DELETE....
    Edited by: Jack Otten on Jul 9, 2010 2:50 PM

  • How to stop process chain, if it is taking too much time than expected.

    Some times if a process chain takes to much time to finish than expected, how I can stop the process chain and execute it again.
    Thanks in Advance.
    Harman

    how I can stop the process chain ??
    If the job is running for a long time ,
    1)GOTO RSMO and SM37 and check the long running job over there.
    2)There you can see the status of the job.
    3)If the job is still running you can kill that job
    4)delete the failed request from data target.
    for more details go to this below link
    how to stop process chain if it yellow for long time
    how I can execute it again ?
    GOto Function module  RSPC_API_CHAIN_START
    and give u r process chain name there.and execute.

  • How to create process chains, infopackage groups & Meta chains

    Hi,
    can anyone explain me about process chains,infopackage groups & Meta chains.
    if possible give me examples for each.
    Thanks & Regards,
    cheta

    <b>Metachain</b>
    Steps for Metachain :
    1. Start ( In this variant set ur schedule times for this metachain )
    2.Local Process Chain 1 ( Say its a master data process chain - Get into the start variant of this chain ( Sub chain - like any other chain ) and check the second radio button " Start using metachain or API " )
    3.Local Process Chain 2 ( Say its a transaction data process chain do the same as in step 2 )
    Steps for <b>Process Chains</b> in BI 7.0 for a Cube.
    1. Start
    2. Execute Infopackage
    3. Delete Indexes for Cube
    4.Execute DTP
    5. Create Indexes for Cube
    For DSO
    1. Start
    2. Execute Infopackage
    3. Execute DTP
    5. Activate DSO
    For an IO
    1. Start
    2.Execute infopackage
    3.Execute DTP
    4.Attribute Change Run
    Data to Cube thru a DSO
    1. Start
    2. Execute Infopackage ( loads till psa )
    3.Execute DTP ( to load DSO frm PSA )
    4.Activate DSO
    5.Further Processing
    6.Delete Indexes for Cube
    7.Execute DTP ( to load Cube frm DSO )
    8.Create Indexes for Cube
    3.X
    Master loading ( Attr, Text, Hierarchies )
    Steps :
    1.Start
    2. Execute Infopackage ( say if you are loading 2 IO's just have them all parallel )
    3.You might want to load in seq - Attributes - Texts - Hierarchies
    4.And ( Connecting all Infopackages )
    5.Attribute Change Run ( add all relevant IO's ).
    Start
    Infopackge1A(Attr)|Infopackge2A(Attr)
    Infopackge1B(Txts)|Infopackge2B(Txts)
    /_____________________|
    Infopackge1C(Txts)______|
    \_____________________|
    \___________________|
    __\___________________|
    ___\__________________|
    ______ And Processer_ ( Connect Infopackge1C & Infopackge2B )
    __________|__________
    Attribute Change Run ( Add Infobject 1 & Infoobject 2 to this variant )
    1. Start
    2. Delete Indexes for Cube
    3. Execute Infopackage
    4.Create Indexes for Cube
    For DSO
    1. Start
    2. Execute Infopackage
    3. Activate DSO
    For an IO
    1.Start
    2.Execute infopackage
    3.Attribute Change Run
    Data to Cube thru a DSO
    1. Start
    2. Execute Infopackage
    3.Activate DSO
    5.Further Processing
    6.Delete Indexes for Cube
    7.Execute Infopackage
    8.Create Indexes for Cube

  • How to create Process chain for Aggregate for Master data

    Hello friends,
    I created Aggregates on Navigational Attributes.
    Now they are working fine, but i need to know that how shall i create the Roll up for Aggregates on Navigational Attributes.
    The point is the master data changes frequently a lot of time for e.g. for 0customer etc.....
    So if any one can send me the step by step documents so as to know how to roll up the Aggregates for Navigation attributes or for aggregates created on Master data....
    How to create process chains for the same ?????????
    Because if master data changes, then rolling up the aggregates straight forward will not help.
    So we need to write a process chain so that it deactivates the aggregate and reactivate again and fill up again..........
    If i mis interpreted something please rectify it.......
    Please advise

    Hello,
    the changerun that you have to schedule in order to activate the master data will adjust the aggregates automatically.  There is no need to deactivate them after master data loads.
    Best regards,
    Ralf

  • How to create process chains,and how to use process like and or xor

    Hi,
    How to create process chains,and how to use process like and or xor.
    can any one please give me a example in each.
    Thanks,
    cheta.

    Hi Cheta,
    Here is step by step procedure to create process chains
    Process chain is nothing but executing a process ..(or) loading the data any process we can do in background.. that means.. automatically we can execute our process based on Time or any event..
    Creating Process Chains
    Prerequisites
    If you want to include a load process in the process chain, you need to have already created an InfoPackage.
    You cannot load flat file data from a client workstation in the background. For this reason, you have stored your data on an application server.
    Creating Process Chains
    You have the option of creating a process chain in the process chain maintenance screen directly or by using a maintenance dialog for a process:
    Creating a Process Chain Directly in the Process Chain Maintenance Screen
    You are in the BW Administrator Workbench.
    1. Click on the Process Chain Maintenance icon in the AWB toolbar.
    The Process Chain Selection dialog window appears.
    2. Choose Create.
    3. Enter the technical name and a description of the chain, and confirm your entry.
    The Add Start Process dialog window appears.
    4. Create a variant for a start process.
    1. a. On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
    2. b. If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
    The Maintain Start Process screen appears again.
    3. c. Save your entries, return to the previous screen and confirm your entries in the Add Start Process dialog window.
    You are taken to the Plan View of the process chain maintenance screen.
    In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of the screen, the process chain is displayed.
    5. Use the drag-and-drop function to add the relevant processes into your process chain.
    You use the Process Types function to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate InfoSources and Data Targets navigation trees.
    Hope this helps
    Regards
    Karthik

  • Scheduling process chain in 1st and last of the month

    Hello ,
    Can some one help in scheduling the process chain at the starting of the month and the end of the month ?
    The chain has to start on 1 st and 28th of every month.
    Help me with the informations please!
    Points will be assigned!
    Thanks in Advance
    Ram!

    Have your process chain to start "After event". Then create an ABAP program to call function module BP_EVENT_RAISE. There are numerous postings in this forum on how to do this.
    Next create two monthly jobs (one scheduled on the 1st and the other on the 28th) using SM36, and the only step in the job is to call the program to trigger (raise) the event. By triggering the event, your process chain will execute.
    Check these links:
    Re: scheduling process chain 3 specific times a day

  • Process chains are not running in a given time.

    Hi BI Experts, Good afternoon.
      Daily we are running the process chains in the night time. And the  first process chain starts at 22:30(master data loading).
      But from 5 days onwards, our process chains are running in the morning time around 10AM.
      We informed to our BASIS team but they could not do anything.
      What may be the problem.
      Can anyone tell me the solution?
    Thanks in advance
      Anjali

    May be your chain was in the wait at the scheduled time, as there were no adequate processes available at the app server to take up your job.
    Check with your Basis ( and also your users ); about the optimal time to schedule the job and reschedule your jobs.
    Ravi Thothadri

Maybe you are looking for

  • Moving Average Price for Sales stock and Project stock of a material

    Hiya Gurus,                  I am developing a report to display inventory details. My requirement is that I have to display the Moving average price of a material for all Valuation type. I also need to display the Moving average price if a material

  • Cannot install updated Adobe Reader

    I use Windows Vista, and when trying to update, received an error.  I uninstalled the version I had so I could install the latest version (X), but althoug it would download, it would not install.  Also I was unable to reinstall the earlier version th

  • How to return complex data to PL/SQL pkg from java running in JVM

    Hi, I don't know where could I post this question, so I post it here. In Oracle, we could create object as type, and can pass it to Java (powered by JDBC I guess, but I don't know how to, if some one know, please tell me where could get the good docu

  • Overwrite files

    Hi there, I have a script which automates the save of a file that is already in a location, hence it asks me if I want to replace it or not. Is there any way to go around this? Cheers, Ricky.

  • How do I get Yahoo off the right click menu where I am searching a hi-lighted word?

    If I hi-lite a word then right click the drop down menu says search Yahoo for... I don't like Yahoo and don't want it on my browser. I would like to use a search engine of my own choosing. Thanks.