Ansicht
Dokumentation

RPCSUPQ0_PVT - Superannuation Calculations Australia

RPCSUPQ0_PVT - Superannuation Calculations Australia

Fill RESBD Structure from EBP Component Structure   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Description

This program (or the 'SUPER' form within it) is called from the payroll - RPCALCQ0 - to do the calculations necessary for the superannuation. It will calculate both SGC (Superannuation Guarantee Contribution) and other type of superannuations as well as employees own contribution.

This program is called once per employee.
***

Super module first decides on the period dates and determines if it is the beginning of a new calendar month, end of the calendar month or if it is the first period of a new quarter. It then clears down the SMTH and SQTR tables if it is the first of the month or first of the quarter.

The program then loops at table QSUP and processes each fund that is there. First, the exclusion flag is checked - the fund is not processed for the employee if the exclusion flag is on. Then the retirement age is checked for the fund. If the employee is above the nominated retirement age for the fund, then this fund is not processed.

The next step is to calculate the employee self-contribution amount. The employee can contribute by nominating an amount or a percentage. If it is by nominating an amount, the amount can be pro rata according to the factoring method selectd at Infotype 220. If it is by nominating a percentage, the percentage will multiply the Super Period Salary Amount or the Ordinary Time Earnings Amount to determine the contribution amount. The percentage is defaulted from table T5QSF and it may be override at the Infotype 220. The Super Period Salary Amount can be pro rata according to the factoring method selected at Infotype 220. The employee contribution amount will then be output to the wage type nominated in table T5QSF.

Then depending on the type of fund - SGC or non-SGC, the fund is processed.

For non-SGC funds, table T5QSR (super fund rules) is checked to see if there are any additional rules for this fund. If there are, then the age of the employee is checked and rules for this age group are looked at. If the minimum hours, minimum earnings and maximum earnings conditions are satisfied, then the percentage comes from this table. If the conditions are not satisfied, then the percentage is zero.

If there were no rules for that age group in table T5QSR, then the default percentage is the one from table T5QSF (fund details table). This is of course, if there was no percentage override on the employee's infotype record. Once the percentage is known, then it calculates that percent of the employee's Ordinary Time Earnings (from the wage type specified in T5QSF) or employee's 'Super Period Salary Amount' (from the infotype).

For non-SGC funds, both tables T5QSF and T5QSR have Pro rata, Maximum and Minimum fields to restrict the calculated company contribution amount. For example, if the default company contribution percentage is used, then this percentage will multiply the Super Period Salary Amount or Ordinary Time Earnings Amount to determine the calculated company contribution amount. The calculated company contribution amount is then checked against tables T5QSF or T5QSR. It amy be pro rata according to the factoring method selected, and it must be within the range of the minimum and maximum amounts specified in the table.

If there was an override of contribution percentage with an amount on infotype 0220, then the rules are not checked at all, and the contribution amount is the one from infotype 0220. The contribution amount is written to the IT in payroll as an amount against a wage type. The wage type comes from table T5QSF.

For SGC funds, table T5QSG is read to get the rules and defaults. Please note that SGC processing is only done at the last period of a calendar month and is only done if it is NOT a retrospective run.

First, the age of the employee is checked against the minimum age condition. If they are under age, then the number of hours worked week by week is looked up (from table SHRS). Any week that has at least the required hours have their earnings added to the total month earnings. Please note that if the pay unit is not a weekly payroll, then the earnings per week is averaged.

The wage and salary earnings for the month are looked at (from table SMTH) to determine if they satisfy the minimum monthly earnings condition.

The next step is to check employees earnings in the quarter year to the earning ceiling from table T5QSG. The employee earnings so far in the quarter is read from table SQTR. If the earnings are above the ceiling, then the amount that it is over by will not be looked at when calculating the minimum SGC requirement.

After all of the funds have been processed in the above manner, then the SGC shortfall is calculated. This is the amount between the company contributions via other super funds and the minimum SGC contribution that the company must make. The minimum SGC is written to the IT in payroll as an amount against wage type /SGC. The shortfall, which is the actual SGC amount is written to the IT as an amount against a wage type. This wage type comes from table T5QSF.

Throughout the program, if events occur which should highlight warnings to the user, they are written to the payroll log (if log is turned on by ON/SORT), to the MESSAGES table and to the QSUP table.

Requirements

In the payroll, a function called FUP0220 creates a table called QSUP which is used by this program.
This table must be filled from the infotype 0220 prior to this program being called (see structure PC23L for the layout of the QSUP table).

Output

Table QSUP will be updated with message numbers.

Table SMTH will be updated with month to date earnings and deductions relevant to superannuation.

Table SQTR will be updated with quarter to date earnings and deductions relevant to superannuation.

Table SHRS will be updated with week by week hours and earnings for under age employees only.

Example






Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.

Length: 6281 Date: 20240520 Time: 110958     sap01-206 ( 160 ms )