I need some help in writing a PCR. This is the first time that I'm trying to write one.
The scenario is:
If an employee takes a leave on a day with a certain type of DWS, then an hour extra is to be added to the no. of hours of that leave type. The leave type should then be paid for the new no. of hours.
eg. DWS is 12 hrs
Leave type is Annual leave
On the Payslip, annual leave should be 13hrs paid out on the payslip.
I've found functions such as VARSTPG to determine the DWS and VARABTYP to determine the absence type.
Thnks in Advance,
Edited by: Shreyasi Salvi on Aug 5, 2008 1:54 PM