cancel
Showing results for 
Search instead for 
Did you mean: 

How to apply leave upon payroll lock

Former Member
0 Kudos

hi guys,

Every month, our payroll dept will lock payroll for 2-3 days to run the payroll.

However during that time ess/mss not allow us to apply leave. Is there any config

can be done to allow user to apply leave like usual. We have problem to control user

since we have about 10000 thousands of staff using ess/mss

TQ in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

ok this is a relatively simple one, let me explain how we did this in my last project:

1. I think you will have to deactivate the 'error' mode on leave request if payroll area is locked so it is allowed on the portal front to submit and approve leave requests. Talk to a techie to get this done.

2. then you write code in your workflow to

a. check before running the rpt-something-post if the payroll area is locked or not

b. if the answer to the above is yes keep the workflow active and in 'limbo' and keep checking once in while for payroll area lock

c. once payroll area is unlocked then post the approved leave requests to the absence infotype.

cheers

Former Member
0 Kudos

Thanks Count Ganti,

Just did some googling to find and answer to our question, and here it is!

Much appreciated

Greg

Answers (1)

Answers (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

In order to overcome this issue,do the necessary customizing in

SPRO to suppress the error message under ESS->Service Specific

Settings->Leave Request->Processing Processes->Configure Output

messages. With this change we are able convert the error message into a

warning and allow the leave request to happen.

You can use this table ie HRWEB_TRANS_MESS

error message HRTIM00BLPRETRO 015

or you can also do it via BADI PT_BLP_RET_MESS

Read the note 923423 for the BADI

Please note but still rptarqpost cant post the records when the payroll

is locked its same functioning as PA30, you cant change the record

during payroll locking.

Former Member
0 Kudos

Hi,

Do we have any way using which we can allow absence to be updated during a payroll lock period using a PCR.

Any help would be greatly appreciated.

Thanks,

Manoj