Start of Content Area

Object documentation Rounding Rule Locate the document in its SAP Library structure

Definition

The rounding rule defines how a period is rounded using the year, month, day, and, if necessary, decimal day.

Use

Note

The rounding rule is a Customizing setting for the calculation of employment periods. When you define and assign a rounding rule, note that, in general, 30 days are converted into a month, and 12 months are converted into a year.

Only use a rounding rule if the calculation process is evaluated in years-months-days with the conversion rule.

Otherwise, the rounding rule generates unwanted results. If the evaluation uses days, the rounding rule would convert a result of 80 days to 2 months and 20 days.

In the rounding rule, you can specify how the SAP System should round decimal days, days, and months. The system always rounds to the next unit up:

Structure

You define the rounding rules in Customizing for Personnel Administration under Evaluation Bases ® Calculation of Employment Period ® Define Rounding Rules. You can define a limit or rounding up procedure for the decimal days, days, and months time units. If you round up, you must specify the number of time units from which the SAP System will start to round up. Alternatively, for the time units day and month, you can specify that the SAP System should not round up the values.

The SAP System cuts off the time unit. This is an exclusive form of rounding.

Example

The following time specifications exist:

5 years, 6 months, 17 days

If you want to limit the days, the time specification is rounded as follows:

5 years, 6 months

You can specify the number of units from which the time unit is rounded. If the specified number is not reached, the SAP System rounds down the time unit.

Example

The following time specifications exist:

5 years, 6 months, 17 days, 0.7 decimal days

If you select round up from and define 0.50 decimal days as the comparison value, the time specification is rounded as follows:

5 years, 6 months, 18 days

Rounding for the larger units (for example, months) is based on the result generated when the smaller units (for example, days) are rounded.

Integration

The rounding rule is assigned to a calculation process or to its process step. This step can be found in Customizing for Personnel Administration under Evaluation Bases ® Employment Period Calculation ® Calculation Process ® Assign Valuation Model and Rounding Rule to Process Step.

 

 

End of Content Area