Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Schedule a job on a particular day of the month

Former Member
0 Kudos
5,465

Hello ,

System :- 46C

Problem :-

How to schedule a periodic job, on a particular day of a month. Example 1st monday of every month.

(Please ignore the workday relative to a month option.)

Thank You!

1 ACCEPTED SOLUTION

Former Member
2,098

Hi ,

One way is to maintain a facory calendar where only the particular day (ie) the day you require the job to run is highlighted.Rest all days are maintained as holiday.

Transport such a calendar from the devlopment system to the production system .

Then in SM36 , while scheduling jobs , in the Start Conditions tab , maintain the start date and time of the job.Next , check the "Periodic Job" .In the period values select the value as "Monthly" as given in your example.

Finally select the Restrictions tab.in this give the name of the calendar which is customized according to your requirement.Then select the option "Do Not Execute Job on Sundays or Holidays".

Hope this answers your question.

Regards,

Ponni.

5 REPLIES 5

Former Member
0 Kudos
2,098

Hi,

You'll find many suggestions for this type of problem (if not this specific example) by searching the forum.

The most likely solution you will find is to write a wrapper program to apply the date logic and schedule this program daily.

Regards,

Nick

Former Member
2,099

Hi ,

One way is to maintain a facory calendar where only the particular day (ie) the day you require the job to run is highlighted.Rest all days are maintained as holiday.

Transport such a calendar from the devlopment system to the production system .

Then in SM36 , while scheduling jobs , in the Start Conditions tab , maintain the start date and time of the job.Next , check the "Periodic Job" .In the period values select the value as "Monthly" as given in your example.

Finally select the Restrictions tab.in this give the name of the calendar which is customized according to your requirement.Then select the option "Do Not Execute Job on Sundays or Holidays".

Hope this answers your question.

Regards,

Ponni.

Former Member
0 Kudos
2,098

Hi ,

Refer the link http://www.sapmaterial.com/background_schedule.html

or create a factory calendar with tcode SCAL. then create job in SM36 and assign its scheduling to this factory calendar.

0 Kudos
2,098

Hi,

Thanks for you inputs..

In our system, as the number of such specifc requirements have been increasing..we are now using an external tool,

to manage SAP jobs which have specific start condtions such as:-

1. Job has to run on very specific days,

2. JOb has to run after a specific file arrives in our application diretcory

3. Job has to run only after a certain set of jobs are completed.. etc etc...

Regards,

Raghuram..

0 Kudos
2,057

but how do we know the job executes only on 1st monday of the month.