SAP ABAP Data Element OIC_RNDCURT (Rule for rounding currency exchange rate)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       OIC (Package) MAP Marketing, Accounting and Pricing
Basic Data
Data Element OIC_RNDCURT
Short Description Rule for rounding currency exchange rate  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type OIC_EXIT    
Data Type NUMC   Character string with only digits 
Length 3    
Decimal Places 0    
Output Length 3    
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 Rnd. rule 
Medium 15 Rounding rule 
Long 20 Curr. rate rounding 
Heading Rule 
Documentation

Definition

This field controls the way in which the average exchange rate is rounded.

The rounding is performed using user exit routines. Certain user exit routines are delivered, which round the input value to a certain number of decimals or tens.

Further methods that can be used for rounding are defined in Customizing for Industry Solution Oil & Gas (Downstream) under the following menu path:
   
MAP (Marketing, Accounting and Pricing) -> Formula & Average Pricing -> Maintain formula & average pricing user exits -> Formula evaluation -> Formula rounding

In contrast to other user exit routines for rounding (within the Formula and Average module), the behaviour is the same for value-based and for rate-based calculation modes. However, the user exit routine will only have an effect, if average currency conversion is selected for that formula term.

The following section describes at what step of the evaluation the rounding occurs :

Calculation steps during currency averaging:

  1. For each day of the period, an exchange rate is determined. The detailed processing depends on the selected error handling.
  2. All daily exchange rates of step 1 are summed up and the average is calculated.
  3. The averaged exchange rate resulting from step 2 is rounded.


Terminology for 'decimals' and 'tens'

Assume you have a exchange rate with the value 123.45678 .

  • The digits after the decimal sign (4, 5, 6, 7 and 8) are called decimals.
  • The digits before the decimal sign (1,2 and 3) are called tens.

Example

Rounding of an average exchange rate:

  • An average exchange rate of 123.45678 is rounded to 123.50000, if the user exit routine "ROUNDING with 1 Dec" is selected.
  • A formula term value of 123.45678 is rounded to 120.00000, if the user exit routine "ROUNDING to 1. Tens" is selected.

Note: The order of magnitude for the average exchange rate depends on the conversion factors that you have defined for a certain currency pair in the exchange rate tables of the ERP system. The order of magnitude of the average exchange rate is the same as the daily exchange rate for this currency pair. Because exchange rates always have five decimals and four tens, the rounding results also depend on the conversion factors that you have defined for the currency pair.

If you specify a user exit routine that should round to five or more digits, there is no effect.

If you specify a user exit routine that should round four or more tens, the result is a zero average exchange rate. This leads to a error message.

Procedure

Enter a user exit routine number or select one from the list.

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