Skip to Content

I want run process chains only from Monday to Friday.

Dear Expert,

Could you please help me i want to run process chains only Monday to Friday.Due to Saturday and sunday server will switch off.

Note:Current My process chains are running daily basis.On Monday my all process chains are failing due to server is switch off only bi side,Ecc server is 24/7.

Could you please help.

Reagrds,

shan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Apr 13, 2016 at 11:45 AM

    Hi Shan

    You could choose restriction option in process chain scheduler.

    When you maintain the start variant of the process chain, choose a start date and time and periodic job as daily. The restriction option is at the bottom as below.

    Click on the restrictions button. The below screen will appear.

    Choose the calendar id as any general id as your fiscal year variant. The choose the option as Do not execute job on Sundays or Holidays.

    This will work for you. We have this setup and it works perfectly.

    Regards

    Karthik


    Capture.PNG (12.1 kB)
    Capture1.PNG (8.5 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Hi Shan,

      This is indeed the way to go: create a custom Factory Calendar for scheduling purposes. Here you can indicate the "working days" (Monday to Friday) on which the scheduling should take place.

      This Factory calendar can be used in BW when scheduling the Process Chain as a periodic job, using the Factory Calendar with he setting to "move to the next workday" as explained in the working instruction.

      I would like to draw you attention to one small but important aspect: where do you have to maintain the Factory Calendar? I suggest to use the same SAP system which you use to upload the Factory Calendars from (via t/code RSA1, Modeling perspective, Source System view). It is usually the ECC system.

      You have to be aware that during an upload of Factory Calendars you will overwrite the entries of the respective tables. Suppose you maintain the "scheduling" Factory Calendar in BW, it can be lost during the upload from ECC.

      Best regards,

      Sander

  • Apr 16, 2016 at 05:08 AM

    Hi,

    The easiest way to achieve this is through DECISION PROCESS..You may check the GOOGLE for some docs on how to apply DECISION PROCESS..

    Restrict your DECISION PROCESS with value of 6 for SATURDAY and value of 0 (or 7) for SUNDAY..

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/705aefe8-8a27-2d10-7b8e-88017ee9158c?QuickLink=index&…

    Regards,

    Loed

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 15, 2016 at 06:05 PM

    The first thing I would do is stop using RSPC to schedule process chains. There is an easy way to schedule process chains in a job via SM36 and manage those jobs via SM37.

    For each chain:

    1. Tcode: SE38 - Program RSPROCESS (Check "Variant" radio button) and click Display.

    2. Type a (new) unique variant name for each process chain and click Create.
    3. Enter "CHAIN" for process type

    4. In the process variant field enter the technical name for the chain (can be copy/pasted using RSPC)

    5. Save

    6. Run SM36 and create a new Job with RSPROCESS as the ABAP program name and the the correct variant for that chain. Schedule the job based on the frequency required. (you can use the business day calendar for daily jobs)


    Now when you need to re-schedule/cancel a process chain, you can do so with SM37.


    RSPROCESS.JPG (35.9 kB)
    Add comment
    10|10000 characters needed characters exceeded