cancel
Showing results for 
Search instead for 
Did you mean: 

Schedule Payroll to Run Automatically for Entire Year (Schedule Events?)

Former Member
0 Kudos

Hello Experts:

I need to run payroll for several hundred employees in a test client in order to create payroll clusters. I need to run payroll for all of 2009, 2010 and 2011. Instead of running one period at a time for multiple payroll areas (which will take forever), is there a way to schedule this in the background where the payroll job runs one period after another automatically?

So in other words, is it possible for me to kick off a job that goes and runs payroll for pay period 01.2009 and then waits for it to finish and then runs pay period 02.2009 and so on all the way up to pay period 26.2011?

Thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

harishtk1
Active Contributor
0 Kudos

Certainly

You need to set up 30-40 variants manually

Set up variant for each period using "Other Payroll Period" and Period paraneter

For example your variants will be 01 2009, 02 2009 and so forth.

Create a job in SM37 having several steps, the first step will use variant 01 2009 and second will be 02.2009 and so forth.

Kick this job off in background.

jobs will execute in sequence of the steps you have identified.

Caveats - In test system, I am assuming you don't have any check on the payroll period - so you don't have to release payroll exit payroll etc - if you do have this you must incorporate steps for these - On the other hand, iof you do have this check, you need not create a variant for each payroll period - you just need to use Current payroll period, and exit and release payroll into the next period evry time.

secondly, what happens if there are any errors during any individual run, you will not know about those till the whole lot of 3 years is finished.

Anyway, hope this helps?