Entering content frameFunction documentation Static Rounding Profiles Locate the document in its SAP Library structure

Use

Static rounding profiles are used when you want to round up to a multiple of a unit of measure without changing the unit of measure. Static rounding profiles can only be used for rounding quantities up and not down.

If you want to have the system round up and down, depending on the quantity, and even have it change the unit of measure where possible, you have to use dynamic rounding profiles. For further information, see: Dynamic Rounding Profiles.

Prerequisites

You must define a rounding profile in Customizing. For further information, see Master Data and Customizing for Quantity Optimizing.

Features

A static rounding profile comprises threshold and rounding values, whereby every threshold value is assigned a rounding value. In rounding off, the system starts with the highest level in the rounding profile.

It processes all the levels below that, carrying out the calculation until the procedure is stopped or until the lowest level is reached. The lowest level is processed differently, as the rounding logic is different here than in the other levels.

The steps in the procedure are as follows:

As long as the lowest level has not been reached:

It divides the quantity required into whole numbers by the rounding value of the current level.

It then checks whether the remainder is equal to or greater than the threshold value of the current level.

If it is:

It rounds up the quantity required to the next multiple of the rounding value of the current level and stops there.

If it is not:

It repeats the procedure for with the next lower level in the rounding profile.

If the lowest level has been reached:

It checks whether the quantity required is equal to or greater than the threshold value of the lowest level.

If it is:

It rounds up the quantity required to the next multiple of the rounding value of the first level and stops there.

If it is not:

It does not change the quantity required and stops there.

Example

Starting Point

An article has the base unit of measure "kilogram" and is ordered in lots of at least 100 kilos. Above 300 kilos, the order is to be rounded up to 500 kilos.

Relevant Static Rounding Profiles

The following status rounding profile covers the requirements above:

Level

Threshold value

Rounding value

1

3

100

2

300

500

Effect of the Rounding Profile (for Quantities Between 1 and 1000)

The following table illustrates how the static rounding profile creates quantity intervals from 1 to 1000. These intervals each have a particular value to which quantities are rounded off.

Quantity from

To

Rounded quantity

1

1

1

2

2

2

3

100

100

101

200

200

201

299

300

300

500

500

501

600

600

601

700

700

701

799

800

800

1000

1000

Rounding Procedure for a Quantity of 2215 Kilograms (Example)

With a quantity of 2215 kilos, the procedure would be as follows:

  1. The system would start at level 2, dividing the requirement quantity of 2215 by 500 (the rounding value for level 2).
  2. The result is 4, with the remainder of 215 being smaller than 300 (the threshold value for level 2), so the system proceeds to the next smallest level (level 1).
  3. The lowest level is level 1. The requirement quantity of 2215 is larger than 3 (threshold value of level 1), so the system rounds up the quantity to 2300.

Result: The quantity is rounded off to 2300 kilos.

Leaving content frame