# PCR Automatic Additional payment end of year bonus

Dear experts,

my client has requirement to calculate automatically for end of year bonus, so the logic when current payroll period is 12 (December) it will trigger the calculation 1x Basic Salary but if there is employee who joining on 1st December it will be factoring base payroll period 21st November to 20th December flat 30 days, I made my own PCR ;

4IBO

*

****
NUM=YCURPP

NUM?01 (i'm using 01 just for testing purpose if i run payroll period 01)

*

=

NUM=01

AMT= 9040 (Basic Salary)

ADDWT 3800 (Wage type for Bonus)

i put this rule below P0015 X011 GEN NOAB Process Additional Payments, but doesn't working at all.

any suggestions from experts?

10|10000 characters needed characters exceeded

### Related questions

• Posted on Dec 26, 2017 at 03:05 PM

Hi Reza, for the first part (when current payroll period is 12 (December) it will trigger the calculation 1x Basic Salary) I will do the following:

*

9040 (Basic Salary)

CMPER MM08

*

=

ADDWT 3800 (Wage type for Bonus)

The second part (if there is employee who joining on 1st December it will be factoring base payroll period 21st November to 20th December flat 30 days) I didn´t understand, could you explain it to me in more detail?

M.

10|10000 characters needed characters exceeded
• Hello Manuel, can you enlightened me what CMPER MM08 represent of? is it operation for comparing period?

seems to me operation RTE=YCURPP is more fit in this scenario.

"The second part (if there is employee who joining on 1st December it will be factoring base payroll period 21st November to 20th December flat 30 days) I didn´t understand, could you explain it to me in more detail?"

actually it's already solved by me. here's what i did

ZIBO

*

/096

NUM=YCURPP

NUM?12

*

=