Entering content frame!--a11y-->

Function documentation Rounding Rules 

Use

You can set up rounding rules for both value-based and rate-based evaluation. The rounding rules can be applied to certain calculation steps.

For value-based evaluation, rounding can be applied to the following calculation steps:

·  Average currency exchange rate

·  Average quotation value

·  Average surcharge value

·  Item value

·  Term value

For rate-based evaluation, rounding can be applied to the following calculation steps:

·  Average currency exchange rate

·  Average quotation rate

·  Average surcharge rate

·  Item rate

·  Term rate

Activities

In all transactions in which you can maintain a formula, you specify a user exit number for each calculation step to which rounding is to be applied:

...

  1.  You specify the user exit number (rule) for the term value/rate and for the average currency exchange rate in the A Term and B Term.

  2.  You enter the user exit (rule) for the average quotation value/rate, the average surcharge value/rate, and the item value/rate for each item.

  3.  You can define your own user exits or use those delivered with the system.

To define your own user exits for rounding, in Customizing for the Industry Solution Oil & Gas (Downstream), choose MAP (Marketing, Accounting and Pricing) ® Formula & Average Pricing ® Maintain formula & average pricing user exits (transaction O5F5). In the Maintain Formula & Average Pricing Exit screen, choose Formula evaluation ® Formula rounding.

The following user exits are delivered with the system and can be applied to each calculation step:

0 (default setting) = no rounding

1 = rounding is carried out to 1st tens*

2 = rounding is carried out to 2nd tens

3 = rounding is carried out to 3rd tens

4 = rounding is carried out to 4th tens

5 = rounding is carried out to 5th tens

6 = rounding is carried out to 6th tens

100 = rounding is carried out to 0 decimal places

101 = rounding is carried out to 1 decimal place

102 = rounding is carried out to 2 decimal places

103 = rounding is carried out to 3 decimal places

104 = rounding is carried out to 4 decimal places

105 = rounding is carried out to 5 decimal places

106 = rounding is carried out to 6 decimal places

* Tens refers to the decimal places before the decimal point.

 

Example

If the calculated average exchange rate is  987.12345 and rounding rule 1 is used, then the value is rounded up to 990.00000.

If rounding is carried out to four decimal places (rule 104) for the value 987.12345, then the value is rounded up to 987.12350.

 

See also:

Evaluation Based on Rate

 

 

 

Leaving content frame