Skip to Content
Author's profile photo Former Member

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:


Step-wise Leave Encashment


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



1.JPG


2.JPG


Schema /N00 copy of IN00 – HR-IN: India Payroll Schema

in00.JPG


4.JPG


5.JPG

SALARY SLIP:

6.JPG




Thanks and Best Regards,

Praneeth kumar





Assigned Tags

      25 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Sikindar T
      Sikindar T

      Good one 🙂 in second PCR instead of **** use 9500

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      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.

      Author's profile photo Sikindar T
      Sikindar T

      try to change the PCR grouping * with 3 check the input and out put of the PCR

      Author's profile photo santosh mohanty
      santosh mohanty

      Hi Praneeth,

      Let me try this and get back to u.

      Santosh

      Author's profile photo Former Member
      Former Member

      Gr8 Work Praneeth

      Keep posting more such docs ℹ

      Cheers 😉

      Pradyp

      Author's profile photo Former Member
      Former Member

      Good document i will try and get back to you

      Author's profile photo Sujith E M
      Sujith E M

      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

      Author's profile photo Former Member
      Former Member

      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.


      /wp-content/uploads/2014/04/1_427703.jpg2.JPG

      3.JPG


      4.JPG


      5.JPG

      6.JPG


      7.JPG





      8.JPG

      9.JPG


      10.JPG



      11.JPG



      12.JPG


      13.JPG

      14.JPG


      15.JPG


      16.JPG


      17.JPG

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Priya,

      can you check in the LOG how 1155.56 is coming. for 1 day it has to give 250/-

      Author's profile photo santosh mohanty
      santosh mohanty

      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

      ScreenHunter_03 Apr. 08 15.52.gif

      ZNAL

      ScreenHunter_04 Apr. 08 15.53.gif

      ZNAP

      ScreenHunter_05 Apr. 08 15.55.gif

      ScreenHunter_06 Apr. 08 15.55.gif

      ScreenHunter_07 Apr. 08 15.58.gif

      ScreenHunter_08 Apr. 08 15.59.gif

      ScreenHunter_09 Apr. 08 15.59.gif

      ScreenHunter_10 Apr. 08 16.00.gif

      ScreenHunter_11 Apr. 08 16.00.gif

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi santosh,

      change your ZVAR pcr like my pcr ZLOC and try.

      Author's profile photo Sikindar T
      Sikindar T

      Dear friends WPAL is an operation which is used in case of splits remove that and try

      Author's profile photo santosh mohanty
      santosh mohanty

      Hi

      Try with removing WPALL but still i'm getting the same result i.e.0.

      ScreenHunter_12 Apr. 08 16.40.gif

      ScreenHunter_13 Apr. 08 16.42.gif

      Author's profile photo Sikindar T
      Sikindar T

      your first PCR should be like this * **** ADDWT * 1001 ADDWT * ADDWT&ZVAR

      Author's profile photo santosh mohanty
      santosh mohanty

      Same result i.e. 0

      ScreenHunter_14 Apr. 08 17.02.gif

      Author's profile photo Sujith E M
      Sujith E M

      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 *   

      Author's profile photo santosh mohanty
      santosh mohanty

      Hi

      Still its not working.

      ScreenHunter_16 Apr. 08 17.32.gif

      ScreenHunter_17 Apr. 08 17.33.gif

      ScreenHunter_18 Apr. 08 17.33.gif

      Author's profile photo Sujith E M
      Sujith E M

      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        

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      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.

      Author's profile photo Sujith E M
      Sujith E M

      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

      Author's profile photo santosh mohanty
      santosh mohanty

      Hi Sujith,

      Now it works fine.

      ScreenHunter_19 Apr. 08 18.09.gif

      Thanks a lot.

      Author's profile photo santosh mohanty
      santosh mohanty

      Hi Praneeth,

      Can you please send me the processing class details for the leave encashment wagetype?

      Santosh

      Author's profile photo Former Member
      Former Member

      Good to see

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      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

      Author's profile photo Former Member
      Former Member

      Hello Praneeth,

      Nice information.

      Santosh Shivane