:neutral: _Our Case :
We needed to configure a wage type input in infotype 0014 - Recurring Payments/ Deductions, that work as a unique payment/deduction in the monthly payroll period. ( even in the case that there was a payroll Split )
For example, an employee Mr.Z has to be paid a fix allowance of 1.000 € ( Wage type 9000 ) each month for a complete year.
This amount has not to be cropped for any reason ! hence he has to be paid 1.000 € in January, in February, in March ... till December.
Even if he changes of personal sub-area or location on the 15.04.AAAA ( Done with an action which eventually will produce a payroll Split ) the employee has to be paid 1.000 € in April.
:cry: _What does not work in SAP estándar ?
Even if the wage type 9000 is configured with procesing class 10 = '0' - Not crop, in the standard schema if there is a payroll Split the employee would be paid
1.000€ for the first payroll Split ( from 01.04.AAAA to 14.04.AAAA ) and 1.000€ for the second payroll Split ( from 15.04.AAAA to 30.04.AAAA ). -> in total 2.000 € :mad: Wrong for our purposes !
:smile: How to solve it ?
We created a Payroll operation that slightly modifies payroll operation PPPAR E.
Analyzing PPPAR E operation is returning the following values when there are several splits in payroll :
When several splits in period | ||||
---|---|---|---|---|
1st Split | 2nd Split | 3d Split | N split | |
PPPAR E-Hire | * | E | E | E |
So we could use this function to detect the first Split and ignore the rest !
But there is a problem in the period the employee is hired because PPPAR E is returning :
When EE Hire/leave not the first day or following splits | When EE is hired/leaves the 1st day period | |
---|---|---|
PPPAR E - Hire | E | * |
to solve this problem we have created a new operation " _PPAR" that returns '*' only in the first Split of the monthly payroll even if the employee is hired in the middle of the period ( Hire date <> 01.MM.AAAA ) payroll :
The operation "_PPAR" is a copy of operation PPPAR with the following modified code :
and we can use the operation in the PCR as :
( This PCR is created in subschema XAP0 when processing infotype p0014 )
XAP0
...............................
P0014 =E12 GEN NOAB Non prorated Payments /deductions
...................................
The operation will return '*' only in the first Split of the monthly payroll period.
and Mr.Z will get his 1.000 € even if he is relocated ! :smile:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 |