Ansicht
Dokumentation

OHARUBP_PY_GARN_010 - Improve Accuracy of Garnishment Period Calculation

OHARUBP_PY_GARN_010 - Improve Accuracy of Garnishment Period Calculation

CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

In this IMG activity, you enter the value of a constant that the system uses to increase the accuracy of garnishment calculations when the garnishment order covers a period less than one month.

If a garnishment order covers only part of one month, the system stores the deduction proprotionally in a wage type. When the system calculates the proportion, it rounds the value to two decimal places.

To increase the accuracy of the proportional calculation by increasing the number that the system rounds, you specify the constant by which the system multiplies the the number of days to which the garnishment applies. To ensure that the system processes the correct amount, following the calculation, the system divides the resulting amount by the value of the constant.

For more information, see the documentation for the Alimony and Fines (RUAID) payroll function and the Deductions Accounting for Current Period (RUIC) personnel calculation rule.

Enter the required value for the constant, for example, 10,000.

The garnishment document for one of your employees starts on December 30. To calculate the proportion of the garnishment that applies to December, the system performs the following calculation in function RUAID:
(December 31 - Deember 30) / (December 31 - December 1)
1 / 31
0.03 (to two decimal places)

To increase the accuracy by moving the decimal place, enter 10,000 in this IMG activity.

The new calculation for the same proprotional calculation is as follows:
1 * 10,000 / 31
322.58 (to two decimal places)

Following the above calculation, the rule RUI0 divides the new amount by the value of the constant for further processing.






rdisp/max_wprun_time - Maximum work process run time   General Material Data  
This documentation is copyright by SAP AG.

Length: 1930 Date: 20240523 Time: 192707     sap01-206 ( 68 ms )