04-03-2009 12:30 PM
Scheduling Batchjob at the end of every month
We have an requirement where in we need to schedule batchjob to excute at the end of every month.
Could anyone be kind enough to suggest the rite way?
The workday/time option which will get by clicking on >>,
does not work.
Appreciate if anyone can provide your inputs.
04-03-2009 12:43 PM
Hi Vinayak,
You click on Date/Time button.Enter Schedule time and date of current month.Then Click on 'Periodic Values' button at the bottom of the same screen.Select Month Values and click save option.Your job will be scheduled.
by
Prasad GVK.
04-03-2009 12:35 PM
Hi,
Goto SM36, Create the schedule job using JOB WIZARD..
Hope its clear!!
let me know for any clarifications
Regards,
Pavan
04-03-2009 12:38 PM
Dear Pavan,
I have checked all possible ways in SM36,
please reply with specific steps.
04-03-2009 12:43 PM
Hi Vinayak,
You click on Date/Time button.Enter Schedule time and date of current month.Then Click on 'Periodic Values' button at the bottom of the same screen.Select Month Values and click save option.Your job will be scheduled.
by
Prasad GVK.
04-03-2009 12:46 PM
I have done that, does not work.
clicked on Date/Time button.
Enter Schedule time and date of current month.
Then Click on 'Periodic Values' button at the bottom of the same screen.
Select Month Values and click save option.
eg. End of month Feb 28th job will be scheduled.
again next job scheduled for 28th March.
I need it end of march month meaning 31st March.
04-03-2009 12:53 PM
You should schedule it to initially start on the 31st of a month with 31 days, and for a monthly period.
Lets say you start on 31. Jan., then the next start will be on 28. Feb., and then it will be 31.Mar. (I was surprised too, but it works).
Only when you initially schedule it on e.g. 28. Feb., the next start date will be 28.Mar.
Thomas
04-03-2009 1:04 PM
Dear Thomas,
meaning,
I cannot schedule batchjob this month, unless the month is having 31st as last date,
coz Apr has 30th last day.
04-03-2009 1:06 PM
You can schedule the job today for start 30th April (non-periodic), and, also today, schedule as desired to start from 31st May onwards (monthly).
Thomas
04-03-2009 12:57 PM
Hi just try in the following manner
Go to SM36 -->
job wizard from the applicataion toolbar-->
give a job name and set the priority of the job as your requirement (high priority)
select abap program step and continue
give the program name and if required then give the variant name and then continue
pls donot check the check box addtional steps required
continue
select radio button date/time
give the date and time
select the check box period
continue
set the time monthly/hourly/daily
then select the continue button
and press the complete button
now the job has been scheduled and released ...
just check
if the screen has some mandatory option in the selection screen then u have to give some variant
try and enjoy
04-03-2009 1:47 PM
Hi Vinayak,
You need to take the help of a factory calendar, where you can say last day of the month.
Just click >> button in date and time tab while job sheduling, you will get the option.
BR/Manas