Scheduling of Process Chain

Hi Gurus
I am strugling to reschedule a Process Chain to the folling criteria
6AM to 6PM  one hourly
6PM to 6AM two hourly (night time the chain must run every 2 hours )
Thank You
Donn

Hi,
Create a event and define the process chain scheduling as after event. Write a ABAP code and check the timings, If 6AM to 6PM trigger the event else trigger every other hour. Schedule this ABAP program to run every one hour.
Hope this gives you an idea.
Regards,
Akhan

Similar Messages

  • Scheduling of process chain with background job

    Hello All,
                  I have scheduled the process chains through background jobs. I have copied the meta chain and created seven background jobs that is from Monday till sunday. The problem is most frequently the job gets cancelled with the message
    Process CHAIN, variant PAA1_GS001 is not scheduled waiting for event RSPROCESS 44NRPDWZ7CQUJ92ATDTY6368H.
    This is the variant for the next process after the start process. I tried by giving merge active versions, but one day the background job runs fine , but the next day it gets cancelled.
    If anyone has faced this issue before kindly let me know.
    Regards,
    Karthik.

    Hi,
    It seems to be there may be in probelm in Varients, so create a separate Varient for each PC and then activate the PC and execute.
    Thanks
    Reddy

  • Two buttons "Activate" and "Activate and Schedul" in Process Chain

    What are 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!

    Hi Kevin,
    Simply activating ur PC wont trigger ur PC. U have to use the other option Activate and Schedule then only the process chain trigger as per the scheduled option.
    U can give the Date/Time option and if it is a periodic job then u can specify the periodicity, later save all the things and when u come back to RSPC screen then click the 'Activate and Schedule' Button which looks like a clock.
    When u do this then ur process chain will be in released status.
    When ever if u activate ur chain will be with the Green color it means that its in Active status. But if u choose the second button then only ur chain will gets trigger..
    Regards-
    MM
    Assign points if it helps
    Message was edited by: vishnuC

  • Schedule local process chain

    Hi, I have a requirement to schedule local PC to run every 8 hrs instead of daily as it does now.  Local process chain is called within a meta chain.  Is there a way I can schedule local process chain separately within a meta chain or I have to change schedule for the entire meta chain? 
    Thanks!

    No need to change schedule for the entire meta chain. U should schedule local process chain separately.
    For local chain change mode
    Right click 'Start Variant' -> Maintain variant -- Direct Scheduling -- Change Selections
    Enter Date/Time... Select periodic Job
    Periodic Values -- Other period -- enter 8 for Hour(s)
    If u r using company calender -- Select 'Restrictions' -- enter Calender ID
    Save -- Activate - Schedule
    Local PC will run for every 8 hrs from the time u specified, and also run in metachain (once in a day if metachain runs daily)

  • How to schedule the process chain

    hi
    guys,
                       how to schedule the process chain to run on thirsday and friday b/w 8pm to 11:55pm which has already been scheduled for daily loads at 9am to 11am?
    (Tell me the answer in detail)
    your regards
    suresh

    Hi Suresh,
    If you want to change in the Production system, you may not have the Authorizations. If you have authorization;
    1. Goto RSPC-->double click on the Process chain
    2. double click on the Start variant of the process chain-->Click on the EDIT button
    3. Click on the CHANGE SELECTIONS then click on the DATE/TIME Tab;
    4. There pls give from which date this process chain has to run to with your requirement time,
    then give the time and select the periodic job and select with your requirement.
    Save and exit.
    It is done!!
    Hope you understood.
    Regards,
    Ravi Kanth

  • Scheduling a process chain running in a specific hour

    hi,
    Is there any other way to schedule the process chain to run in a specific time besides using different meta chains to call the main process chain to do the loads separately.
    Can we do this by using one main process chain?
    for example, this is performed daily (hourly load: 4am load, 9am till 9pm load).
    willie

    Hi,
    <b>Process Chains</b>:
    From 3.x onwords to automate loads as well as process like Openhub,ababp
    programs or activations or etc., We are using this process chains.
    Coming to the major advantage
    Like eariler infopakge groups if any pak fails we need to trigger all the loads
    manully .wher as in Pchaing just correct that particular ipak and repaeat from that
    particular process .it will take care abt remaing subsequent chain .
    And also we can trigger parallel loads as well in this. Its much user friendly in monitoring.
    1)You can make the process chain to be trigered by an event.
    You do so by having the Job that start the PC start after an Event.
    Then you define your set of job's (thru SM37) and make sure these jobs fire the event that starts the PC.
    There is an ABAP program you can use that fires events (FM -> BP_EVENT_RAISE).
    2)In the Start process of your process chain, select Direct Scheduling and then click the Change Selections icon. This will bring you to the Start Time window where you can put in the Date/Time you want to start your process chain. At the bottom of this window, click on the Periodic job box and you will notice another icon way at the bottom called Period Values. Click this to determine what frequency the job should be rescheduled (ie. daily, weekly, etc.).
    3)you can do this by right-clicking on the start process, selection "Maintain Variant", choose "Direct Scheduling". Next select "Change Selections", pick your date and time, set your period values and you're done.
    You can Schedule process chain in background by right-clicking on the start process, selection "Maintain Variant", choose "Direct Scheduling". Next select "Change Selections", pick your date and time, set your period values and you're done.
    Hope it helps.
    *****Assign points if helpful*******
    Thanks,
    Amith

  • Schedule a process chain on last saturday of every month

    Hi Guys,
    My requirement is to schedule process chain on last saturday of every month. Is there any way to do this?
    I am already aware of below document. So please do not reply with the same. But please let me know if I am missing on anything.
    I have a requSchedule a Process chain on specific weekdays
    Thanks,

    HI R P,
    As mentioned in 'Schedule a Process chain on specific weekdays' document to use decision step. You can go with it just before setting actual data flow PC steps. Here a help for  you.
    Logic for decision step-
    Create a new custom function/method (say ABC) to calculate last Saturday of every month by using Standard Method 'FIRST_DAY_IN PERIOD_GET' (this gives last Sunday of every month) and use code logic accordingly to get last Saturday.
    Now, pick this ABC function from 'User- Defined function' section for your decision step formula.
    Hope this help.
    Thanks!
    Pratish

  • Scheduling a Process Chain

    Hi All,
    how to schedule the process chain to run three time daily
    say at 9 am then at 12 noon and at 3 pm daily
    Regards

    Hi Check in the followinf urls, you can do it either using Events or program..
    Triggering  the Process Chains at Particular Date using Events:
    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/display/Snippets/BI-ABAP(TriggerProcessChainsoneverymonth3rdand4thday)
    Thanks
    Reddy

  • Schedule Local process chain (by fac calender) in a daily meta chain

    Hello SAP Gurus,
    We have a meta chain (e.g. M1) which runs daily. Within this meta chain (M1), a local process chain (e.g. LP1) is attached. This LP1 should run once a month on a Monday (defined in factory calendar). Please note LP1 can not be scheduled separately by factory calendar, as it depend on few activities in daily meta chain. I think LP1 can be scheduled by using the decision in meta chain. I have rough idea of the formula, but not sure. Can you please suggest what should be the suitable formula in decision to schedule it.
    Example formula:
    DATE_WEEKDAY1(Current Date, 'P1' ) = '1'
    Where
    DATE_WEEKDAY1 = Calculate weekday Number from Date
    P1 = Factory Calendar for one year. Only 12 days (Monday) are open. For example 17 Jan, 14 Feb 2011, etc

    No need to change schedule for the entire meta chain. U should schedule local process chain separately.
    For local chain change mode
    Right click 'Start Variant' -> Maintain variant -- Direct Scheduling -- Change Selections
    Enter Date/Time... Select periodic Job
    Periodic Values -- Other period -- enter 8 for Hour(s)
    If u r using company calender -- Select 'Restrictions' -- enter Calender ID
    Save -- Activate - Schedule
    Local PC will run for every 8 hrs from the time u specified, and also run in metachain (once in a day if metachain runs daily)

  • Warning Error message while scheduling the Process Chain

    Dear All,
    I have created the meta Chain, which contains 7 Local Chains. I have tested this chain in BI Development and Quality. It was working fine. I have moved this Meta Chain to production. While i am trying to schedule this chain, i got the warning message.
    Too many parallel processes for chosen server BICI
    Message no. RSPC118
    Diagnosis
    On the server TVSBICI you have chosen, there are only 0 batch processes available. The process chain has been designed in such as way that 3 processes must be processed parallel.
    System Response
    Only 0 processes can be processed parallel. Note also that to be able to start sub-chains, AT LEAST TWO free batch processes must be available. Otherwise a lock situation may arise.
    For more information, see SAP Note 621400.
    Procedure
    Reduce the number of parallel processes in the chain or include sub- chains. This warning applies to all relevant processes.
    Procedure for System Administration
    Increase the number of batch processes available. You should note however that it makes no sense to set up more batch processes than there are CPUs on server BICI.
    Pls help on this issue.
    Thanks,
    Siva.
    Edited by: Siva Kumar on Jun 15, 2009 9:16 AM

    I have Ignored this warning and now process Chain is working fine.
    Thanks,
    Siva.

  • HOW TO STOP A SCHEDULING A PROCESS CHAIN IN SAP BPC

    Hello Expert,
    Can Any 1 tell me  how to stop a scheduling of a process chain in sap bpc ??

    Hi Neeraj,
    Your question is not clear.
    If you are asking - How to delete a schedule which runs a process chain/DM package from EPM, then please go to Data Manager -> click View Status arrow -> select view schedule status -> select the schedule, right click and choose delete schedule.
    Neha

  • Infopackage laoding scheduled in Process Chain and events involved

    Hi BW-Experts,
    Till now I was loading a infopackage normally and it had an subsequent event. Now if I schedule this infoapckage in process chain will it raise event after the load finishes.
    Thanks
    Arun Purohit

    Its BW 3.5
    in it when we go into infopackage we get options like..
    Scheduling Options
    Subsequent Processes
    in subsequent processes we can tick on chk box for triggereing event.......
    if I load this infopackage without Process Chain then it will raise event after load finishes....
    my query is?
    will this infopackage raise event if I Schedule it thru Processs Chain after load finishes..
    Edited by: Arun Purohit on Jan 16, 2009 2:24 PM

  • How to schedule a Process Chain using ABAP Program?

    Hi All,
    I want to schedule the activity of extracting data from the query to a flatfile.
    Currently we are schedulling it using the transaction rscrm_bapi.
    I need to know , how we can achieve the same using an abap program and not ( rscrm_bapi) in a process chain.
    Any help would be appreciated.
    Regards
    Purva

    Your problem will be solved if you use the Function Module "RSPC_API_CHAIN_GET_STATUS" instead of the function module "RSPC_API_CHAIN_GET_LOG".
    The function module "RSPC_API_CHAIN_GET_STATUS" gives you the STatus of the process chain, when you pass the Chain Name and the Log ID.
    If you get an output
    G or F - Report that the Chain is Successfully Completed.
    A - The chain is Currently running
    R or X - Report that the chain has ended with Errors.
    Sample code :
    REPORT Z_BW_GET_STATUS_PROZESSKETTE.
    TABLES rspclogchain.
    DATA: gt_rspclogchain LIKE rspclogchain OCCURS 0,
    wa_rspclogchain LIKE rspclogchain.
    DATA: gt_log LIKE rspc_s_msg OCCURS 0,
    wa_log LIKE rspc_s_msg,
    gt_status like RSPC_STATE.
    SELECT * FROM rspclogchain
    INTO CORRESPONDING FIELDS OF TABLE gt_rspclogchain
    WHERE datum = sy-datum
    AND chain_id = 'BD_C02_1D'.
    IF sy-subrc = 0.
    SORT gt_rspclogchain BY datum DESCENDING
    zeit DESCENDING.
    READ TABLE gt_rspclogchain
    INTO wa_rspclogchain INDEX 1.
    CALL FUNCTION 'RSPC_API_CHAIN_GET_STATUS'
    EXPORTING
    i_chain = wa_rspclogchain-chain_id
    i_logid = wa_rspclogchain-log_id
    IMPORTING
    E_STATUS = gt_status.
    IF gt_status = 'G' or gt_status = 'F'.
    WRITE :/ 'BD_C02_2D chain COMPLETED'.
    ELSE.
    WRITE :/ 'BD_CO2_2D chain is Running or Ended with Errors'.
    ENDIF.
    ELSE.
    WRITE :/ 'No chain BD_C02_2D started for today ! or keine Kette BD_C02_2D gestartet !'.
    ENDIF.
    I have just provided a sample code, you might have to edit or add necessary messages to the program.
    Regards,
    Ramya

  • How to schedule the process chain fr the report

    hai experts,
    i have a query which i need to generate for every five hours? i know that we can generate the report thr process chain but i dont know how to build that..
    my question is how to schedule the report,how to build the process chain,....
    can any one plz tell me how to start this generating report for every five hours
    thanks in advance..points will be alloted surely ,i need this urgently..
    Suri

    First of all you need to Identify the InfoObjects if you want to take up Master Data Loads, and if you want take up transaction loads then select the Data Targets to which the data has to be updated. Then plan the dataflow accordingly.
    You want to create a Process Chain, Go to RSPC, and then select the create option and from the Process categories available on the left handside drag and drop the Start process, then define the Variant for the same. In the same way you need to identify the other Process Types available on the lefthand side. For Eg: Start Process>Load to ODS>Activation of ODS Data>Delete Indexes for the InfoCube>Load to InfoCube>Create Indexes>Delete Overlapping Req-->Agg. Rollup.
    This is how you need to specify the dataflow, several other Process Types also included based on the requirement For Eg: Sending Mail Alerts when the Job is Success or Terminated.
    Also, have a look at this links to make urself clear about the steps in creating Process Chain.
    http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    Hope it helps.
    Regards,
    Archna

  • Scheduling BW Process Chains options

    Hi All,
    I wonder if it is possible to schedule Process Chains via SCPS in the "Meta Chain or API" option (and not in the "Direct Scheduling" option, that seem used basically).
    It appears that the "Direct Scheduling" method need the Process chains to be activated after each transport, and then all the chains' jobs would be related to the account user that made the activation operation.
    I don't see anything that could be related to that kind of option among all the parameters of the RUN_BW_CHAIN.
    Can someone  help me on this ?
    Thanks in advance for your help !
    Regards,
    Yi Jiang

    Hi Yi,
    No you should be able to use it immediately (assuming you have the flag for "meta chain or api" scheduling already set).
    There will be a RSI_RUN_BW_CHAIN or SAP_ProcessChainRun (depending on your version) that allows you to run the process chain.
    You may want to import the process chains first, to populate the drop downs, but this is optional.
    Regards,
    Anton.

Maybe you are looking for

  • Connecting my macbook pro 13" to Sony bravia via mini Displayport to HDMI

    Hi, yesterday I bought a new LCD TV Sony Bravia KDL-32EX600 (Full-HD LED) that has 4 x HDMI inputs. I also bought a mini Displayport to HDMI and HDMI to HDMI cable. When I connect it to my computer, the screen goes blue for a second and it doesn't re

  • Berkeley db fatal region error detected run recovery

    Hi, I have initiated d Berkeley DB object. Then, I am using multithreading to put data into the DB. Here is how I open the one data handler. ret = dbp->open(dbp, /* Pointer to the database */ NULL, /* Txn pointer */ db_file_name, /* File name */ db_l

  • New "throttled" ICE pricing model proposal to Adobe

    First off I agree that the ICE service should not be free, but for it to be worth while from a business standpoint, and at $20 per month paid to Adobe, the "web shop" would need to charge at least $10 per month to each client to use the service. It's

  • Crystal Reports Project

    Hai, I am working alone on a 3-tier application, The application's front end data feed in and query form is developed in VS 2008 and C# language, SQL Server 2005 data is fetched into crystal reports chart parameters and the final charts and data mode

  • Export folder structure in LR1.1

    Hi there, I downloaded LR1.1 this morning and hoped to see a long waiting and missing feature, but it seems that it is already lacking. My pictures are stored in folders like \2007\2007_05_02_Vacation and I want to export my pictures keeping the stru