SAP ABAP Data Element FICO_UROUNDUNIT (Rounding Unit)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-FIM-FCO (Application Component) Financial Conditions
     FICO (Package) Financial Conditions
Basic Data
Data Element FICO_UROUNDUNIT
Short Description Rounding Unit  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type TFMSRUNIT    
Data Type DEC   Counter or amount field with comma and sign 
Length 13    
Decimal Places 7    
Output Length 15    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name ROUNDING_UNIT   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Round.Unit 
Medium 15 Rounding Unit 
Long 20 Rounding Unit 
Heading 15 Rounding Unit 
Documentation

Definition

Specifies a numerical value as the increment between the lower and upper limits of a value to be rounded.

Use

You require the following to round a value:

  1. Lower limit: Value that results from rounding down
  2. Upper limit: Value that results from rounding up
  3. Threshold value: Amount equal to the total of lower limit plus half of the rounding unit. From the threshold value, the system uses 5/4 rounding.

Dependencies

Even if you selected 5/4 rounding as the rounding type, the system still determines the upper and lower limits. The rounding type defines the value to be calculated by the function module FIMA_NUMERICAL_VALUE_ROUND.

Example

  • You must round an interest amount of EUR 6.1386 to three decimal places.
    Rounding unit: 0.001
    Rounding type: 5/4 rounding
    => Result: EUR 6.139.
  • You must round CHF 23.03 using 5/4 rounding. The smallest denomination of Swiss francs are 5 Rappen, which means that the rounding unit must be 0.05 if it is to be possible to pay the amount in cash.
    Rounding unit: 0.05
    Rounding type: 5/4 rounding
    => Result: CHF 23.05.
  • A variable, formula-based interest rate is calculated as 5.3468%. This is to be rounded to 1/8th of one percent using 5/4 rounding.
    Rounding unit: 0.125
    Rounding type: 5/4 rounding
    => Result: 5.375%.
  • A variable, formula-based interest rate is calculated as 5.3468%. This is to be rounded down to 1/8th of one percent.
    Rounding unit: 0.125
    Rounding type: Round down
    => Result: 5.250%.

History
Last changed by/on SAP  20110908 
SAP Release Created in