Learn How to Process Wage Types in Personnel Calculation Rules Based on Payroll Periods
- by Shariq Badar, Senior SAP HCM Consultant
- November 27, 2012
You can use personnel calculation rules (PCRs) for automatic calculation of employee payments or deductions when the calculation rule for the wage type depends on the payroll period. See how you can call a payroll period in a PCR to process a wage type for a particular payroll period during a payroll run. You can use PCRs to meet these types of payroll requirements.
The payroll period is queried in payroll for calculation purposes. You can use in-period or for-period values for automatic calculation of certain payments or deductions when the formula depends on the payroll period or the processing of the wage type is required only in the desired payroll period. The payroll period can be compared in a personnel calculation rule and the wage type can be processed according to company policy.
It’s not unusual for companies to change their payroll policies. For example, a company may revise the calculation formula from a particular date or payroll period for a payment or deduction wage type relevant for payroll. During payroll implementations, users frequently face a situation in which the processing of a wage type is dependent on the payroll period. I show you how to meet the requirements of processing a wage type when it depends on the payroll period (in-period or for-period) during payroll run.
You can use operation NUM = YCURPP in a personnel calculation rule (PCR) to call the current payroll period, but it doesn’t tell you the year of the payroll period; it just passes the period number. In addition, in this method, unlike the technique I explain in this article, the in-period and for-period information is not available, which can be a critical issue during payroll runs. In my example I have used operation CMPER to call the payroll period in a PCR. It is much more flexible and gives more choices to the user, including the in-period and for-period information, which is very important to have for payroll calculations.
To illustrate this situation, I’m using wage type 6090, and the calculation formula changes from a particular payroll period (for example, from February 2011 on). The business requirement is to automatically calculate the amount in wage type 6090 using a different calculation formula from February 2011 on. The challenge here is that PCRs don’t have start and end dates. Therefore, users don’t have the option of copying the rule and writing a new formula for the new date that the company has determined the rule needs to implement going forward. This can be achieved, however, within the PCR by calling an operation for payroll period comparison.
Would you like to see this full item?