Leave Encashment through Off-Cycle Payroll
Hi Friends,
I want to share one topic with you all, how Leave Encashment through Off-Cycle payroll can be done.
For initial steps go through this document:
Process:
1. Need to Create Two PCR’s.
a. ZLOC for picking values of Basic and DA and storing in the variable
b. ZLOD variable amount divided by no. of days and multiplied in to no. of leave encashment days
2. Assigning custom PCR’s in to Schemas
3. Creation of IT 0267 – Additional Off-Cycle Payments
4. Payroll running for Additional Off-Cycle Payments
Schema /N00 copy of IN00 – HR-IN: India Payroll Schema
SALARY SLIP:
Thanks and Best Regards,
Praneeth kumar
Good one 🙂 in second PCR instead of **** use 9500
Thanks,
first i tried with that only, while running payroll error is coming like:
STOP: No rule in key ZLOD*****
that's why i changed to **** and it is working fine.
try to change the PCR grouping * with 3 check the input and out put of the PCR
Hi Praneeth,
Let me try this and get back to u.
Santosh
Gr8 Work Praneeth
Keep posting more such docs ℹ
Cheers 😉
Pradyp
Good document i will try and get back to you
Hi Praneeth,
You can include the logic to handle WPBP splits.With the rule (ZLOC) mentioned by you will give incorrect base amount ( Increased value ) in case of WPBP split.
You can use operation WPALL?
Regrds
Sujith
It should calculate on Basic Pay Divided by number of working days For example Basic Pay is 10,000 If an employee encash 1 leave he will be receiving Rs 333 for one leave Similarly if he encash two leaves He will be receiving Rs 666
Please go through attachment. Once Iam done with that I will try another Scenario. This is Basic Scenario which I would like to try first.
Hi Priya,
can you check in the LOG how 1155.56 is coming. for 1 day it has to give 250/-
Hi Praneeth,
As per your suggestion i did the same thing but my o/p is same i.e. 0. Please find the screen shot details
ZNAL
ZNAP
Hi santosh,
change your ZVAR pcr like my pcr ZLOC and try.
Dear friends WPAL is an operation which is used in case of splits remove that and try
Hi
Try with removing WPALL but still i'm getting the same result i.e.0.
your first PCR should be like this * **** ADDWT * 1001 ADDWT * ADDWT&ZVAR
Same result i.e. 0
Why you using GEN at parameter 2 for your rule ZLEA, please remove it.
Seocnd modify you second rule as
*
****
ADDWT *
1022
AMT=& ZVAR
AMT/30
MULTI ANA
ROUNDGK100
ADDWT 1022
Coming to WPALL, in the below given example it will only consider the last split value
*
****
ADDWT *
1001
WPALL?LAST
Y
ADDWT *
ADDWT&ZVAR
*
ADDWT *
Hi
Still its not working.
Hi,
If you are trying to do leave encashment through off cycle then your rule ZVAR should be in between these two line items in the main schema.
IF SPRN
PIT ZVAR NOAB
RFRSH IT
REFRSH IT will clear all values, if you place your rule after this there will be no data to process.
Please understand flow of the Schema, INAL will come after INAP.
Regards
Sujith
Hi sujith,
if i keep the RFRSH IT in the schema and run the payroll, nothing is coming blank payslip is generating. even leave encashment description also not coming.
i change the PCR with your operation, while saving error is coming like
" Type of Operation is different from rule type"
i checked in the other client system it is coming perfect, but in my ECC sand box it is giving error. is this because of low level pack or what.
There are line common in main schema
IF SPRN
RFRSH IT
You can see it in standard schema IN00, after sub schema INBD, and i told him to keep the PCR which is calculating the encashment base in between these lines
Regards
Sujith
Hi Sujith,
Now it works fine.
Thanks a lot.
Hi Praneeth,
Can you please send me the processing class details for the leave encashment wagetype?
Santosh
Good to see
Hi Santosh,
PC : 3-0 4-6 5-0 6-0 10-0 20-8 30-T 31-0 72 5
CC : 1,11, 18, 25, 34, 38
EC : 6-14, 11-01
Hello Praneeth,
Nice information.
Santosh Shivane