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

Similar Messages

  • Planning a process chain from 2 to 15 every month

    Dear Gurus,
    I have created a process chain but I must plan it daily from day 2 to day 15 every month. If I check the period values to plan it I can just select: daily, weekly, monthly... but I need it to be daily but just those days.
    Can anybody help me with it?
    Many thanks!
    Regards,
    Jordi

    Hi,
    You can do it by using simple programs/events.
    See some usefull Blogs/Articles/Wiki in the following URL..
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    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
    BI-ABAP (Trigger Process Chains on evry month 3rd and 4th day).
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=81428842 
    How to trigger the Process Chains in BW from ECC
    /people/surendrakumarreddy.koduru/blog/2009/03/18/how-to-trigger-the-process-chains-in-bw-from-ecc
    Thanks
    Reddy

  • 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

  • Run process chain on last three days of the month

    Hello
    I need to run process chain on last three days of the month. For example , It should run on 28, 29 and 30th dates of June.
    There is no option to put a code in the start process of the process chain.
    I can run it every day and put a code in the infopackage/DTP so that empty load (0 records) will be done on other days.
    This doesnt sound as a good option.
    Do u know any other options?

    Hi
    See the code and details how to do it, and change the code as per your requirement.
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    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
    BI-ABAP (Trigger Process Chains on evry month 3rd and 4th day).
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=81428842 
    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

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

  • How to set a calendar reminder for the last Friday of every month?

    I need to set a reminder to go off on the Monday following the last Friday of every month. I could settle for a reminder on the last Friday of every month and then delay the reminder by a couple of days, but I'm not sure where to start. Does anyone know how to do this?

    I found an App that solved my problem called "Calendar Tools"
    It is a plug in that allows you to have custom repeat rules.
    Check it out!

  • How do I set a reminder for the last day of every month

    Have I missed something? But how do you set a reminder for the last day of every month to recurr indefinatley in iOS6? Sorry if this is really simple but I just can't seem to work it out. Any help gratefully received.

    Hey Mattye88 not sure if you have seen but actully you can do this, but for some reason you have to use Siri.  If you bring up Siri and say "set a reminder ever 4 weeks from next wednesday to check the gas meter" it will set one and it will work just fine, I have reminders to water a Bonsai every three days and it works fine it just shows as custom repeat on the user interface.  Alas it seems you can not use Siri to set one for the end of the month though which is why I am in this threed.  Still hope it helps you to know how to sort this problem atleast.

  • Get Last date of every Month in a year

    Hi All,
    I need to find last date of month for given year.
    Example:
    I used to pass date or year such as 2012 or 01-01-2012(DD-MM-YYYY)
    SQL query needs to return last date of every month such as
    31-01-2012
    28-02-2012
    31-03-2012
    30-04-2012
    31-12-2012
    for above requirement i have written the following SQL
    select rownum as row_count,
    case when rownum=1 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as Jan_month,
    case when rownum=2 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as Feb_month,
    case when rownum=3 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as mar_month,
    case when rownum=4 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as apr_month,
    case when rownum=5 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as may_month,
    case when rownum=6 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as jun_month,
    case when rownum=7 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as jul_month,
    case when rownum=8 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as aug_month,
    case when rownum=9 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as sep_month,
    case when rownum=10 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as oct_month,
    case when rownum=11 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as nov_month,
    case when rownum=12 then last_day(to_date(add_months(trunc(to_date('01-01-2012','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end as dec_month
    from dual connect by level <= 12 order by rownum;
    Result
    Jan_Month
    Feb_Month
    Mar_Month
    Apr_Month
    may_month
    jun_month
    jul_month
    aug_month
    sep_month
    oct_month
    nov_month
    dec_month
    1
    31-01-2014
    2
    28-02-2014
    3
    31-03-2014
    4
    30-04-2014
    5
    31-05-2014
    6
    30-06-2014
    7
    31-07-2014
    8
    31-08-2014
    9
    30-09-2014
    10
    31-10-2014
    11
    30-11-2014
    12
    31-12-2012
    Excepted Result:
    am excepted result as single row such as
    Jan_Month
    Feb_Month
    Mar_Month
    Apr_Month
    may_month
    jun_month
    jul_month
    aug_month
    sep_month
    oct_month
    nov_month
    dec_month
    31-01-2012
    28-02-2012
    31-03-2012
    30-04-2012
    31-05-2012
    30-06-2012
    31-07-2012
    31-08-2012
    30-09-2012
    31-10-2012
    30-11-2012
    31-12-2012
    Kindly give me suggestion to archive above result.
    Thanks&Regards
    Sami

    I agree with Marcus Pivot is the way to go about this... But on the other hand you almost solved it yourself.. just a max function was needed for your expected output:
    select
    max(case  when rownum=1 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as Jan_month,
    max(case  when rownum=2 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as Feb_month,
    max(case  when rownum=3 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as mar_month,
    max(case  when rownum=4 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as apr_month,
    max(case  when rownum=5 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as may_month,
    max(case  when rownum=6 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as jun_month,
    max(case  when rownum=7 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as jul_month,
    max(case  when rownum=8 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as aug_month,
    max(case  when rownum=9 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as sep_month,
    max(case  when rownum=10 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as oct_month,
    max(case  when rownum=11 then last_day(to_date(add_months(trunc(to_date('01-01-2014','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as nov_month,
    max(case  when rownum=12 then last_day(to_date(add_months(trunc(to_date('01-01-2012','DD-MM-YYYY'), 'YYYY'), level - 1), 'DD-MM-YY')) end) as dec_month
    from dual connect by level <= 12 order by rownum;
    AND to avoid hardcoding you can also modify your query as :
    select
    max(case  when rownum=1 then last_day(to_date(to_char(rownum),'MM')) end) as Jan_month,
    max(case  when rownum=2 then last_day(to_date(to_char(rownum),'MM')) end) as Feb_month,
    max(case  when rownum=3 then last_day(to_date(to_char(rownum),'MM')) end) as mar_month,
    max(case  when rownum=4 then last_day(to_date(to_char(rownum),'MM')) end) as apr_month,
    max(case  when rownum=5 then last_day(to_date(to_char(rownum),'MM')) end) as may_month,
    max(case  when rownum=6 then last_day(to_date(to_char(rownum),'MM')) end) as jun_month,
    max(case  when rownum=7 then last_day(to_date(to_char(rownum),'MM')) end) as jul_month,
    max(case  when rownum=8 then last_day(to_date(to_char(rownum),'MM')) end) as aug_month,
    max(case  when rownum=9 then last_day(to_date(to_char(rownum),'MM')) end) as sep_month,
    max(case  when rownum=10 then last_day(to_date(to_char(rownum),'MM')) end) as oct_month,
    max(case  when rownum=11 then last_day(to_date(to_char(rownum),'MM')) end) as nov_month,
    max(case  when rownum=12 then last_day(to_date(to_char(rownum),'MM')) end) as dec_month
    from dual connect by level <= 12 order by rownum;
    Easy way: (without connect)
    SELECT LAST_DAY (TO_DATE (ROWNUM, 'MM')) AS Jan_month,
           LAST_DAY (TO_DATE (ROWNUM + 1, 'MM')) AS Feb_month,
           LAST_DAY (TO_DATE (ROWNUM + 2, 'MM')) AS Mar_month,
           LAST_DAY (TO_DATE (ROWNUM + 3, 'MM')) AS Apr_month,
           LAST_DAY (TO_DATE (ROWNUM + 4, 'MM')) AS May_month,
           LAST_DAY (TO_DATE (ROWNUM + 5, 'MM')) AS Jun_month,
           LAST_DAY (TO_DATE (ROWNUM + 6, 'MM')) AS Jul_month,
           LAST_DAY (TO_DATE (ROWNUM + 7, 'MM')) AS Aug_month,
           LAST_DAY (TO_DATE (ROWNUM + 8, 'MM')) AS Sep_month,
           LAST_DAY (TO_DATE (ROWNUM + 9, 'MM')) AS Oct_month,
           LAST_DAY (TO_DATE (ROWNUM + 10, 'MM')) AS Nov_month,
           LAST_DAY (TO_DATE (ROWNUM + 11, 'MM')) AS Dec_month
      FROM DUAL
    Cheers,
    Manik.

  • Mdx query to get the last date of every month if the month is current month need current date..

    i have a scenario where i need the data of last date of every month and if the month is current month need current date data...
    is it possible using MDX...

    Hi Shashi,
    According to your description, you want to return the last day for each month except current month, right?
    In MDX, we can use ClosingPeriod function to return the member that is the last sibling among the descendants of a specified member at a specified level, here is a sample query for you reference.
    with member [measures].[a]
    as
    ClosingPeriod ([Date].[Calendar].[Date],[Date].[Calendar].currentmember).name
    select {[measures].[a]} on 0,
    [Date].[Calendar].[Month].members on 1
    from
    [Adventure Works]
    And then use the IIF function to evaluate if the month is current month. Please refer to the links below.
    http://msdn.microsoft.com/en-us/library/ms145584.aspxhttp://msdn.microsoft.com/en-IN/library/ms145994.aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • How do you make a event reoccur on the last weekday of every month?

    How do you make a event reoccur on the last weekday of every month in lightning?
    This can be done in outlook and lightning accepts and properly handles the event from a outlook user.

    Hi,
    It seems it cannot be done. You can add your vote to this bug report if you want to keep informed:
    [https://bugzilla.mozilla.org/show_bug.cgi?id=390620 Bug 390620 - Event / Task recurrence options for "Last Working Day" and "First Working Day" of the month]

Maybe you are looking for

  • Clean install windows 8 on Ideapad U310

    Hi guys, I have purchased Ideapad U310 couple of months back with Windows 7 home premium installed. Recently I availed the offer. While trying to make a fresh install of Windows 8 I noticed the C drive is not detected. I could not find any solutions

  • Same Frame...Not (Hyperlinking)

    I have RoboHelp installed on my laptop, where I'm working on my project. In one Topic I have references to external links, with the choice to open the resulting link in the same frame (Hyperlink Options-Display In Frame=Same Frame). When I test it on

  • Authorization/Deauthorization Issues!!

    I just finished transferring my songs from my 2nd Gen. iPod Nano and tried to play one of the songs.  It told me that I had to authorize my computer so when I went in to authorize it, it says that I reached my limit (5).  When I tried to unauthorize

  • Finder quits when try to access windows share

    Hi all, One of our G5 with 10.4.4, have a typical trouble.When the user try to access a windows server share, the finder quits.All other users with G5, 10.4.4 has no troubles with accessing the same server.I created a test account with the particular

  • Exception: DBD, MicrosoftODBC SQL Server DriverSQL ServerStatement(s)

    Hello Experts, When i put the following SQL statment in the Univesre i am getting the error. Exception: DBD, MicrosoftODBC SQL Server DriverSQL ServerStatement(s) could not be prepared.State:42000 Code. QAS.qas.CRMD_ORDERADM_I.ORDERED_PROD  = QAS.qas