on 10-23-2015 9:33 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
Hi Amit,
Are you running payroll by Weekly...!
Can you elaborate you scenario...!
Regards
Mohan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.