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

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

  • 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

  • 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

  • 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

  • To get time differnce based on factory calendar

    Dear All,
    We have Creation date, time, End date and time. We need to find out the time difference  based on factory calendar ..ie need to exculde weekends, holidays.
    Is there any FM to get this? Please adivse procedure how to get.
    Thanks
    Konda Reddy

    Try Something like following
    PARAMETERS : P_BEGDA TYPE BEGDA,
                 P_BTIME TYPE SYUZEIT,
                 P_ENDDA TYPE BEGDA,
                 P_ETIME TYPE SYUZEIT.
    DATA LV_DURATION TYPE F.
    CALL FUNCTION 'DURATION_DETERMINE'
      EXPORTING
        UNIT                       = 'H' "Hours
        FACTORY_CALENDAR           = 'GR'
      IMPORTING
        DURATION                   = LV_DURATION
      CHANGING
        START_DATE                 = P_BEGDA
        START_TIME                 = P_BTIME
        END_DATE                   = P_ENDDA
        END_TIME                   = P_ETIME
      EXCEPTIONS
        FACTORY_CALENDAR_NOT_FOUND = 1
        DATE_OUT_OF_CALENDAR_RANGE = 2
        DATE_NOT_VALID             = 3
        UNIT_CONVERSION_ERROR      = 4
        SI_UNIT_MISSING            = 5
        PARAMETERS_NOT_VALID       = 6
        OTHERS                     = 7.
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE LV_DURATION.

  • Reg: Excluding one day from the daily schedule process chain

    Hi All,
    I have a process chain scheduled daily except Sunday i.e. from Monday to Saturday. Now i want to exclude Saturday from the daily scheduling.
    Any idea how we can do that. Early response will be highly appreciated.
    Best regards

    Hi,
    Restrict chain Scheduling on Sundays/Holidays
    Create a factory calender using TCode SCAL or ask your basis team to create one.
    In this calender mark all days except the day you dont want the chain to run as workday.
    Now while scheduling the process chain make use of this calender and restrict it to run only on the workdays.
    There is a setting in the start process of the PC by which your chain wont run in sundays/holidays based on calendar or run only on workdays as defined in the factory calendar.
    Go to PC > start process > change selection  > Date/time. Here enter the date from which the chain should be scheduled and then click the Restrictions button at the bottom. There u can check the option "Dont execute job on sundays or holidays.
    Hope this helps.
    Thanks,
    JituK

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

    I want to stop the scheduling of the process chains for two days in a week.
    Presently the chains are running daily and i need to stop the loading for two days in a week.

    Hi Manu,
    First, Please go to Transaction SCAL.
    Decide the calendar according to your requirement.
    Then Schedule your according to that calendar.
    Regards
    Hemant Khemani

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

  • Triggering Process chain based on execution of R3 job and Process Chain

    Hi All,
    I need your help in arriving at a solution for a reqirement.
    Scenario is., I need to trigger a process chain B based on successful execution of Process chain A and an R3 job. If both conditions(Completion of R3 job and Process Chain A) are met then only it has to trigger process Chain B.
    I know that we can use events to trigger a process chain using R3 job.But my case is differenet I need to consider the success message from both process chain and R3 job.Is there any way to solve it ?
    Please provide me with your valuable inputs.
    Thanks,
    Bindu

    Hi Hima,
    You can use the  'AND' variant for both, If both are success then trigger the process chain.
    Regards,
    Ravi Kanth
    Edited by: Ravi kanth on Apr 30, 2009 3:36 PM

  • System does not propose the delivery date based on factory calendar

    Hi,
    I am creating a sales order for a delivery date for this sat which is (2/22/09)
    I have maintained 2 separate calendars for
    1) shipping point
    2) for the route
    The route has a transit time of 1 day and the calendar has sat and sunday as non working.
    the Shipping point has a pick/pack time of 1 day and the calendar has sat and sunday as non working
    The material is available in the warehouse
    Now when i create this sales order i enter the delivery date as 2/22/09, the system does not propose me the delivery date of monday (i.e 2/23/09) It accepts the 2/22/09 delivery date.
    In the schedule line i do see the date as 2/22/09 only.
    The delivery was created with the following dates
    Picking = 2/17/09
    Transportation Planning = 02/18/2009
    Loading =02/18/2009 
    Planned GI= 02/18/2009
    Delivery Date = 02/22/2009
    How can the system give me the delivery date of a sunday when the calendar doesnt allow sunday as working day.
    Also the route time is 1 day in transit so i am not sure why the system is proposing a 3 day transit time?
    Can any one explain the behaviour of SAP for the delivery date logic

    Dspsac,
    Delivery date can be any date.  For instance, if your customer insisted on a Sunday delivery, you would accommodate him, regardless of any calendar.
    From the delivery date, the system counts backwards USING THE FACTORY CALENDAR ASSIGNED TO THE ROUTE by the number of days in the route.  You have to consult the FC assigned to your Route to determine if the GI date has been properly calculated.
    From the GI date, the system counts backward Pick/pack time, using the shipping point calendar, to arrive at Material availability date.
    Calculations are explained in SAP online help
    [Transportation and Delivery Scheduling|http://help.sap.com/erp2005_ehp_04/helpdata/EN/dd/5607e7545a11d1a7020000e829fd11/frameset.htm]
    Regards,
    DB49

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

  • Error while processing sales order as factory calendar missing.

    "factory calendar missing or error in factory calendar".iam getting this error while processing sales order even though i have assigned it to shipping point and plant and sales org.

    Hi Malik, How are you? I'm sorry to trouble you,
                   Let me introduce, I'm Daniel, and I saw your fantastic asnwer in
    the topic "How to update Factory Calendar in SRM", and might I have the same
    problem. It's with the "factory calendar".
    In transaction va02 when I choose a Delivery Date, and I sent it to process, as
    a result in the "shipping tab" it calculated to the first item one date, and to
    the rest one date different.  I don't know What it happen?
    I debugged the program and I saw that to the first item use to calculate the
    date is the function  'APO_SCHEDULING', and to the rest item use
    'SD_SCHEDULING', and until here I come.
    How can I do to what the dates calculated are the same? or What would be the
    problem?
    I need the dates calculated are equal.
    I looked at it's using two "factory calendar" which are "J4" and "C2". Is this
    correct?
    Thanks In Advance,
    My best regards,

  • How to check the scheduled process chain in SM37

    Hi Experts,
    Can anyone tell me how do I check whether my process chain has been scheduled or not.
    I checked in sm37 all the jobs that are under released status. Im getting about 10 jobs.
    I dont know which one is belogs to my process chain as they do not have the process chain names.
    Can anyone please let me know how do I confirm whether one of the released jobs below to my process chain.
    Thanks in advance.

    Hi,
    To find this out, in sm37, select the job and click on step button in toolbar. You would find the program name RSPROCESS.
    Click on this job and then go to menu bar and select goto-> variant.
    In the variant, you can see the process chain that has been used for this job.

Maybe you are looking for

  • Item category not change able after saving

    Hi guys, I have a problem (ECC 6.0). After saving a sales order, I'm not able to change the item category for the added item after saving the document. It's some kind of service material (DIEN) to charge labour to the customer. I found that if I main

  • Third party access to airport extreme

    HELP! We have the aiport extreme which operates my iBook G4 laptop wirelessly. Now I like to connect our work computer to the wireless connection. The work computer is an "Acer" which has 802.11b/g wireless LAN capability. It picks up our wireless fe

  • Kanban

    Hello I am working on KANBAN process and replenishment strategy as Planned order with MRP. When i trigger the KANBAN card planned order is created.That will be viewed in the MD04 So my problem is i am not able diff between MRP run planned order and K

  • Exporting document in Pages to a Word doc is messing things up!!

    Hi, Since I bought my Macbook I decided to step over to Pages instead of buying Word. I am starting to regret this now. I just created a new document in Pages, my cv. And as soon as I export this into a Word document the lay out has changed a bit. Th

  • Windows 10 with hp printer drivers cm color laser jet cm 2320

    I downloaded Windows10.   Prior to this installing, I could select print in the document file pane, and then wait until I got near the printer I use, connect my laptop to it, and then document would automatically print.    AFter installing Windows 10