SAP ABAP Data Element RECDROUNDCDTYPE (Rounding Category of Condition Amount)
Hierarchy
EA-FIN (Software Component) EA-FIN
   RE-FX-CN (Application Component) Real Estate Contract
     RE_CD_CD (Package) RE: Conditions
Basic Data
Data Element RECDROUNDCDTYPE
Short Description Rounding Category of Condition Amount  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type RECDROUNDCDTYPE    
Data Type NUMC   Character string with only digits 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Round.Cat. 
Medium 15 Rounding Cat. 
Long 20 Rounding Category 
Heading RCat 
Documentation

Definition

Defines how the condition amount is rounded.

Use

You can choose one of the following:

  • No Rounding
    The system does not round the condition amount.
  • Currency Rounding
    The condition amount is rounded in accordance with the definition of the condition currency.
  • Round Down After Currency Rounding and Round Down Directly
    The system rounds the condition amount downward. For this option, you also have to enter the number of decimal places or the rounding unit.
  • Round Up After Currency Rounding and Round Up Directly
    The system rounds the condition amount upward. For this option, you also have to enter the number of decimal places or the rounding unit.
  • Arithmetic After Currency Rounding, Direct Arithmetic or Direct Arithmetic (0.5 Rounded Down)
    The system uses arithmetic rounding for the condition amount. For this option, you also have to enter the number of decimal places or the rounding unit.

Rounding after currency rounding means: after the system multiplies the unit price by the calculation factor, this product is transferred to a currency field. Normal currency rounding takes place at this time. This can sometimes lead to undesired rounding results. To avoid these undesired results, you can use a method that offers greater accuracy. The Direct Arithmetic variant provides this additional accuracy. In addition, you can use a modified form of direct arithmetic rounding. When you specify the decimal place, the system rounds down if the number following the specified decimal place is a 5, and the number following that is not a value other than zero. To use this form of rounding, select Direct Arithmetic (0.5 Rounded Down).

Example

Example for Direct Rounding:
With a unit price of 4.17 and a calculation factor of 30.81, the product of the two is 128.4777. If you selected Round Down After Currency Rounding with 2 decimal places, the system transfers the value 128.4777 to a currency field, causing the value to become 128.48. The selection of Round Down After Currency Rounding with 2 decimal places no longer has an effect on this value. The system sets the resulting condition amount to 128.48.
On the other hand, if you selected Round Down Directly with 2 decimal places, then the amount of 128.4777 is rounded, resulting in a value of 128.47. This amount is then transferred to the condition amount.

Example for Direct Arithmetic Rounding (0.5 Rounded Down):
The number of decimal places is set to 2. The results of rounding for example amounts are listed below:

Amount        Rounding Result

1.115000        1.11

1.115100        1.12

1.115010        1.12

1.115001        1.12

History
Last changed by/on SAP  20100310 
SAP Release Created in 700