Ansicht
Dokumentation

OHAUDEC01 - Hourly rates with several decimal places

OHAUDEC01 - Hourly rates with several decimal places

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

In this step, you maintain your payroll schema for using hourly rates with more than two decimal places. If you do not need this function, you do not have to do anything in this step.

The amount and rate fields are usually stored in the payroll results with two decimals according to the country currency. However, you may want to use hourly rates with more than two decimal places.

To use more than two decimal places, you have to make a few modifications to the standard payroll schema.

You need to set a flag so that hourly rates with more than two decimal places are used. This flag is valid for all employees you are running the payroll for.

If the flag is set, currency fields are filled for all rate and amount fields in the result tables. This currency is either the country currency or a newly defined currency with more decimals (refer to the Implementation Guide for Personnel Administration, chapter Hourly rates with several decimal places). The entire wage type evaluation process is then based on this higher number of decimals.

Before entering the tax and social insurance part of the payroll schema all amount fields in the internal result tables have to be rounded to two decimal places.
There are three options for rounding:

  • 1 : rounding down
  • 2 : rounding to the nearest whole number
  • 3 : rounding up

The system does not fill the currency fields for all newly created wage types during tax calculation and some of the subsequent functions. You therefore need to fill the currency fields afterwards, before net processing starts.

An implicit check is performed within the export function to ensure that the currency fields are filled for all entries in the payroll result table before they are exported to the cluster.
The new currency with more than two decimal places is only possible for rate fields. All amount fields have to be stored on the cluster in the two-decimal country currency.

To allow retrocalculation, you need to convert all payroll results currently stored on the cluster. For all old results, the currency fields in the payroll tables have to be filled with the country currency.

One of your collective agreements determines an hourly rate of $10 3/16 for a special pay scale area and pay scale type. This results is an hourly rate with four decimal places: $10.1875.

All steps described in chapter Hourly rates with several decimal places in the Implementation Guide for Personnel Administration must have been performed.

This implies that all tables are maintained for the new currency, and that the feature ALCUR is modified.

The necessary functions are present in the standard payroll schema, but are deactivated.

Please only activate the function if you really need hourly rates with more than two decimal places.

  1. Activate function OPT DEC in schema UIN0 (Initialization).
  2. Activate functions XDECI CONV RT 2 and XDECI CONV IT 2 in schema UAL0 (Proration and cumulation gross).
    Choose the rounding type you want to use.
  3. Activate functions XDECI FILL RT and XDECI FILL IT in schema UNA0 (Calculate net).
  4. Activate functions XDECI FILL RT and XDECI FILL IT in schema UXD1 (Fill currency field attached to amount field)
  5. Start the conversion program for payroll results on the cluster (RPUCDCU0 - Convert Payroll Results for Conversion to > 2 Decimal Places) to fill the currency fields with the country currency.
    Run the conversion for all employees.

SAP recommends running the conversion program in the background because it may take a while.

Be aware that you have to maintain your payroll form to allow printing the additional decimal places. Choose the appropriate conversion 'Amount in currency' when you set up the layout of your payroll form in chapter Set up form.






CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4644 Date: 20240523 Time: 155749     sap01-206 ( 74 ms )