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: 

Scheduling Batchjob at the end of every month

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

former_member230674
Contributor
0 Kudos

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.

9 REPLIES 9

Former Member
0 Kudos

Hi,

Goto SM36, Create the schedule job using JOB WIZARD..

Hope its clear!!

let me know for any clarifications

Regards,

Pavan

0 Kudos

Dear Pavan,

I have checked all possible ways in SM36,

please reply with specific steps.

former_member230674
Contributor
0 Kudos

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.

0 Kudos

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.

0 Kudos

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

0 Kudos

Dear Thomas,

meaning,

I cannot schedule batchjob this month, unless the month is having 31st as last date,

coz Apr has 30th last day.

0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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