cancel
Showing results for 
Search instead for 
Did you mean: 

GKAU**

AmitCSoman
Participant
0 Kudos

Hi Experts,

I very well know GKAU**  is Unpaid absence in calendar days for all counting classes

Suppose GKAU** = 4  . Unpaid absence days are say 5th oct, 6th oct, 19th oct and 20th oct

Say I am running payroll for the month of oct 15

doubt is simple when we speak of GKAU** it is absence days within 01.10.15 to 31.12.15. Here it is 4.

But now I need to calculate  Unpaid absence in calendar days for all counting classes for only 01.10.15 to 15.10.15

I know the answer is 2 days 5th oct, 6th oct .

But now what is is called ? like it is called GKAU** for entire month.

regards

amit soman

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please find the solution.

Hope this helps you out.

1) Since you are entering the 2SPA wagetype in IT0014.

   First step would be to perform WPBP split up as per 2SPA entry in IT0014

   ( for correct factorization ).

   Standard SAP PCRs doesn't perform WPBP split on IT0014 entries, hence a custom PCR has to     be written for the same.

   Input

   WPBP  ---  01.09.2015   30.09.2015   01 partial period

   P0014   ---  2SPA    3000 INR    21.09.2015   30.09.2015

 

 

  Desired output

  To split WPBP and place 2SPA in correct partial period split as shown below.   

   WPBP  ---  01.09.2015   20.09.2015   01 partial period

                    21.09.2015   30.09.2015   02 partial period

     

   IT         ---  2SPA   02  partial period  3000 INR  

  

   This can be achieved my modifying PCR X011 and explicitly specifying rule for 2SPA

   make use of operation WPBPC with parameter as 'S' ( refer documentation for same ).

  

   Once the Split is achieved  partial period factorization can be done as required.

2) Eg if /801 is assigned for 2SPA factorization

    /801

          RTE=TKSOLL Set

          RTE-TKAU** Subtraction

          RTE*KGENAU Multiplication

          RTE/TKDIVI Division

          ADDWT *    OT   Output table

Output

   WPBP  ---  01.09.2015   20.09.2015   01 partial period

                    21.09.2015   30.09.2015   02 partial period

     

   IT    ---     2SPA   02  partial period    3000 INR  

                /801   02  partial period    =     ( TKSOLL  [10]   - TKAU**   [1]  ) * 100,000.00  /  30 

                                             =     30,000 

   XVAL pcr will take care of the prorated  calculation with the output as    

 

  

Output

   WPBP  ---  01.09.2015   20.09.2015   01 partial period

                    21.09.2015   30.09.2015   02 partial period

     

    IT    ---      2SPA   02  partial period    900 INR  

                   

   

Thanks and Regards

AmitCSoman
Participant
0 Kudos

Dear Guruprasad,

Thank you for help.

I have attached screen shot of PCR used where specification Z is relevant for our requirement.

But it is seen that split is not taking place. Surprisingly output of P0014 is showing value of 6000(double) for wage type 1007.

Please note 1007 is wage type considered. previous discussions show 2SPA.

in IT 14 1007 is maintained with 3000.

also attaching o/p log of P0014

Request you to advise on the same.

regards

amit c soman

Former Member
0 Kudos

HI,

Only  these 2 lines will suffice for specification Z

--------------------------------------------

ELIMI *         Elim.time period ID

WPBPCS     Split WPDP, in IT

--------------------------------------------

Elimi *  is essential for using WPBPCS


WPBPCS  will auto take care of moving wage type to Output table and splitting WPBP.


No need of mentioning Addwt * explicitly

Check the IT value after processing .... 1007 with 3000 will be placed in Correct WPBP split.

Thanks and Regards,

Guruprasad P

AmitCSoman
Participant
0 Kudos

Hi Guruprasad,

Seems to be working.

still i  need to check again.

thanks for help.

surely will reward points

regards

amit soman

Answers (2)

Answers (2)

leelamohan_kavali
Active Contributor
0 Kudos

Hi Amit,

Are you running payroll by Weekly...!

Can you elaborate you scenario...!

Regards

Mohan

AmitCSoman
Participant
0 Kudos

Hi Leelamohan/Balasubramanian,

I maintain a wage type 2SPA with value 3000 INR in IT 0014 from 21.09.15 to 30.09.15 to be prorated to 1000 as seen in payslip of September.

PCR X011 is modified with an extra PC 47 custom specification Z by using PRATE operation to do so.

Now seen is that  if 21.09.15 is unpaid leave payslip should show 900 and it shoes as expected by GKAU**.

But suppose any other day out of range 21 sep to 30 sep is unpaid say 17 sep is unpaid then payslip deducts for 2 days (considers absence of month and not range 21.09.15 to 30.09.15) as ideally it should deduct for only 1 day.(it should consider 21.09.15 and not 17.09.15)

regards

amit c soman

BalaAP
Active Contributor
0 Kudos

Hi,

understood your problem.

Can you show your PCR of proration and IT & OT tables, and also the calculation of GKAU** part.

PRATE operation prorates according to the calendar days.

regards,

Bala.

AmitCSoman
Participant
0 Kudos

correction

doubt is simple when we speak of GKAU** it is absence days within 01.10.15 to 31.10.15. Here it is 4.

BalaAP
Active Contributor
0 Kudos

Hi,

Do you mean it is TKAU** which is unpaid absences for all counting classes for partial period?

You may elaborate your question with more detail.

regards,

Bala.