SAP ABAP Data Element OII_NRDEC (SOC: No. of decimal places in linear value of LVCC set)
Hierarchy
IS-OIL (Software Component) IS-OIL
   IS-OIL-DS-BDR (Application Component) Bulk Distribution Requirements Planning
     OII (Package) BDRP Bulk Distribution Requirement Planning
Basic Data
Data Element OII_NRDEC
Short Description SOC: No. of decimal places in linear value of LVCC set  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type OII_NRDEC    
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 DecPlaces 
Medium 15 Nr.dec.places 
Long 20 Nr.decimal places 
Heading
Documentation

Definition

The number of decimal places set by the system in the entry field of the linear component of a linear/volumetric conversion constant.

For technical reasons the system stores the linear component of an LVCC constant internally as a whole number (because the linear component is used as a key field in the LVCC table). A conversion is therefore required between database table and the screen output, data transmission and tank strapping calculations which reference the LVCC set. The conversion is carried out according to the setting of this field, the 'number of decimal places' field, which is stored in the LVCC set header and applies to all LVCC items in the set.

You can change the value of this field using a special function available to you in the LVCC maintenance screen (via Edit -> Decimal places). Notice that if you change the number of decimal points after data has already been entered in the table, this will transpose existing linear entries with respect to the decimal point. The actual value of each linear entry will therefore change by a factor of 10, 100 or 1000 depending on the magnitude of the change. The system works in this way in order to preserve data. If the system compensated for changes in the number of decimal places by multiplying or dividing the internal whole number, then there would be a danger of higher or lower order truncation. The best approach is to determine the number of decimal places required for the linear component of the LVC constants before loading data.

Note that the number of decimal places for the volumetric component of each LVC constant is fixed at 3.

Procedure

If you can, always determine the number of decimal places to be used in the linear component of the LVC constant before entering LVCC data.

Examples

A company calculates the amount of liquid stock in a particular tank by taking a reading from a tank dipping rod and converting this linear reading to a volumetric quantity. The tank dipping rod is graduated in millimetres but the unit of measure specified in the LVCC set is metres. By setting the number of decimal places for the LVCC set to 3, users of the system can enter millimetre graduations for LVC constants.

Dependencies

The following table shows how input data masking is dependent on each of the permissible settings of the number of decimal places field.

Nr. of decimal places Input mask for linear value

0 999,999,999

1 99,999,999.9

2 9,999,999.99

3 999,999.999

Changing the number of decimal places field after linear values have been input will effect all dependent processes which reference the LVCC set.

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