Skip to Content
author's profile photo Former Member
Former Member

Run PC twice a month on Sundays

Hello All,

I have a requirement where I have to run process chain just 2 times in a month only on Sundays. How can this be done?

Regards,

NIKEKAB

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2011 at 12:15 PM

    Hi,

    During Defining of scheduling options of a process chain in start process type variant u might be having the option of period values (as daily,monthly,weeks etc.) click on other period , u will see start job option write 2 in front of weeks.this will trigger your PC every second week (means alternate week) from the date of your first scheduling time.

    Regards

    SH

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 26, 2011 at 12:32 PM

    Hi,

    Modify the code as per your requirement.

    http://wiki.sdn.sap.com/wiki/display/Snippets/BI-ABAP%28TriggerProcessChainsoneverymonth3rdand4thday%29

    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0a41bc6-a7f6-2b10-b3bf-804e1c45ae6c

    Regards,

    Suman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2011 at 07:40 PM

    Hi ,

    Follow the below steps.

    1) right click on the PC start variant.

    2) Select start condition as Date and Time

    3) give the date as next Sunday and give the date.

    4) Click on periodic values and click on "other period"

    5) give the value 2 in weeks field.

    activate the PC and schedule it. Chain will run as per your requirement.

    Regards,

    Vekatesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2011 at 12:52 PM

    Hi,

    (For 1st Run) : You can create the process chain and schedule it for the Sunday you want with Period Values as "Monthly"

    (For 2nd Run) : Create another Meta Chain and just include your main chain into it and schedule it for the Second Sunday with Period values as "Monthly"

    This way both the process chains will be executed on the Sundays specified by you.

    Rgds,

    Swapnil

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.