Scheduling process chain once every fiscal period (4/4/5)

I'd like to schedule a process chain to run on the second day of each fiscal period. Our fiscal periods are 4 weeks/4 weeks/5 weeks, so specifying a period of 4 weeks wouldn't work. Any ideas?
Jason

Hi,
A crude way of doing this would be add an ABAP program as the first step which will check whether it is the second day of a new fiscal period or not.
You can schedule this program as the first step of your process (I assume you can add an ABAP program as a step), and only if it is successful you shall proceed with the rest of the process chain.
You can then schedule it every second day of every week, so it will run the process chanin completely only as required (in start of fiscal periods) and stop at first step in all other weeks.
Not very elegant, but may do the job.
Or an ABAP program can call your process chain. This program can be scheduled everyweek. In its logic it will check for the date-validity logic before it proceeds with triggering the process chain. This will also work as well.
I am not very familiar with process chains so what is mentioned above may not entirely be applicable for them (It will work in standard R/3 jobs I know).
hope this helps,
cheers,
Ajay
Message was edited by: Ajay Das

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • Schedulling process chain

    Hi,
    How do I process a chain to start every morning, 7 a.m, for example?
    In start variant, direct scheduling, next, periodic job, date & time I write my start hour an date and it's enough? I save it? And it will automatically start? Because I've tried this, but nothing happened. My process chain hasn't started.
    Thanks a lot

    Hi Simon,
    It will not start automatically, once you do the time and date related settings and save it. You need to click on the execute button in the process chain.
    After you schedule the process chain then only it will start on predefined time.
    Regards,
    Durgesh.

  • 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.

  • 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.

  • Scheduling Process chain  in end of month & starting of month

    Hey Experts,
    I want to schedule my  process chain in different days that is last 2 days of every month & first 3 days of every month...
    Can any one explain me step by step process how to do it.
    can you guys help out as soon as early......
    Thanks,
    suresh

    You can achieve your requirement using Events, check the Function Modules in SE37 and then use it to find first 3 days and last 2 days of that month then if it satisfies your condition then trigger the Event and which will trigger PC.
    check the below links hope u can get some idea
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/triggering%20%20the%20process%20chains%20at%20particular%20date%20using%20events.pdf
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=81428842

  • How to stop the process chain on every saturday and delay until sunday 6 am

    Hi experts,
    We have a maintanence window on every saturday until 6 am on sunday.
    My question: I don't see any option in the start variant of the process chain under restriction to stop the process chain on saturday and delay the run until sunday 6 am. Any idea?
    Please let me know the steps. Thank you in advance.
    Sharat.

    how to create a event for a process chain? please let me know step by step instructions.
    Also I will schedule the regular process chain until friday and use the new variant to schedule it on sunday at 6:00 pm right?
    Thanks in advance.
    Sharat.

  • Schedule process chain based on factory calendar

    Hi Experts,   I'd like to schedule my process chain to run only on 3rd and 4th working day every month.  I tried to schedule it based on factory calendar. It does not seem to be working.  Any ideas why it is not working? or any suggestions on the best way to schedule it?
    Thanks!

    After scheduling, Did you check "Right click on start variant" to see scheduled jobs,
    You should see a released job, double click to check "Schedule Run".
    Whats the setting you maintained for "Do not execute before" ?
    Also Did you check any holiday in the Z1 calendar prior this day.
    VJ

  • Scheduling process chain 3 specific times a day

    Hi ,
    my requirement is to schedule a process chain 3 times a day.
    i have gone through the forum and got the solution EVENTS.
    please provide me how to do this in detail like step by step.
    how to create a event in SM64 and how we will define the time there.
    and creating a ZPROGRAM with the function module (please provide step bystep).
    thanks
    Sridhar

    You create user events in SM62.  In SM62, next to "User even names", click on <b>Maintain</b> and press Enter.  Click on the Create icon to create a new event (let's call it ZEVENT).
    Next, in your process chain, change the Start variant to be scheduled "After event", and put in ZEVENT for the event name.  Also, click on the "Periodic job" at the bottom.  This will automatically reschedule the jobs for the process chain after it executes.
    Next, create an ABAP program (let's call it Z_EVENT_RAISE) to call the function module BP_EVENT_RAISE.  You're code can look like this:
    REPORT Z_EVENT_RAISE.
    PARAMETERS: P_EVENT LIKE TBTCO-EVENTID.
    CALL FUNCTION 'BP_EVENT_RAISE'
    EXPORTING
    EVENTID = P_EVENT.
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    This ABAP program will prompt for an event name, so you will need to create a variant (let's call it ZEVENT) which will save the value of the event name (also ZEVENT).  You will need the variant name to be able to trigger the event in a batch job.
    Now all you need is the batch job.  Use tcode SM36 to create a batch job where you call the ABAP program (Z_EVENT_RAISE) using the variant (ZEVENT).
    Note, SM64 only triggers an event manually.
    Does this help?
    Oh, and you can copy this job to schedule it three times a day.
    Message was edited by:
            Geo

  • Scheduled process chain not getting triggered properly

    Hi all,
    Process CHAIN, variant ZPC_MASTER_COMMON is not scheduled waiting for event RSPROCESS 3Y7V2S5WLYJ5VGT8IMCSG068H, after this message the job gets cancelled for any process chain when i schedule it as a periodic job.

    Hi,
    Please check if in the job you have 3Y7V2S5WLYJ5VGT8IMCSG068H entered as the event name. If yes, please change and activate again.
    -Vikram

  • Process chain fails every time at "roll up of aggregates"

    hi all,
    A process is deffined in such a way that...                                        start
                                                                                    i
                                                                                    i
                                                            Delta loads to infocube1(load)  deltaload to infocube2(load)       deltaload to infocube3(load)
                                                                            i                                                 i                                          i
                                                                            i                                                 i                                          i
                                                            delta load of aggregate(cube1)   delta load  of aggregates(cube2)     delta load  of aggregates
    Every time when this process chain get executed,this fails at delta laod of aggregates step.If i repeat again it works fine.But repeating is not a solution for this.So,i want a permanent soltuion for this..
    Please guide me what to do?and explain me why this happens.
    Error message:-process rollup of filled aggregates/bia indexes,variant delta load of aggregates
    Thanks( in advance)
    Moushmi

    Hi Moushmi,
    Have you checked if the system has processes available while the chain is running?  It could be that your system is overloaded and the aggregates wouldn't roll up because you have no processes or available memory.
    Check with your Basis resource.  Also, try changing your chain to do only 1 at a time.  Do you have many aggregates to load, are they big, and most important are they being used.
    Kathleen

  • Error in scheduling Process Chain.

    Hi Experts,
    I am creating process chains, but at the time of scheduling it is giving folloeing massage.
    Job BI_PROCESS_LOADING could not be scheduled. Termination with returncode 8
    Message no. RSPC065
    Diagnosis
    Program RSPROCESS is to be scheduled as job BI_PROCESS_LOADING under user ALEREMOTE.
    System response
    Scheduling terminated with return code 8. The meanings of the return codes are as follows:
    SY-SUBRC = 4:
    Scheduling terminated by user
    SY-SUBRC = 8:
    Error when scheduling job (JOB_SUBMIT)
    SY-SUBRC = 12:
    Error in internal number assignment
    But I have Authorisation for scheduling Back ground jobs.
    Please Help me,
    Thanks in advance,
    Raghav.

    Hi........
    This problem is already discussed in SDN........Search in Forum......
    Check SAP Note : 947690 for error RSPC065
    and  SAP Note : 511475
    Also check the solution of Roberto Negro .......
    /message/685875#685875 [original link is broken]
    Hope this helps......
    Regards,
    Debjani.......

Maybe you are looking for