Show TOC

 Rounding Rule

Definition

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

Use

Note 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.

End of the note.

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:

  • Decimal days to full days

  • Days to months

  • Months to years

Structure

You define the rounding rules in Customizing for Personnel Administration under Start of the navigation path Evaluation Bases Next navigation step Calculation of Employment Period Next navigation step Define Rounding Rules. End of the navigation path 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.

  • Limiting a time unit

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

Example 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

End of the example.
  • Rounding a time unit from [number of time units]

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 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

End of the example.

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 Start of the navigation path Evaluation Bases Next navigation step Employment Period Calculation Next navigation step Calculation Process Next navigation step Assign Valuation Model and Rounding Rule to Process Step. End of the navigation path