SAP ABAP Data Element LE_UMREV (Conversion Factor of Delivery Quantity VRKME for MEINS)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       VL (Package) WS-SHP: General Processing for Shipping
Basic Data
Data Element LE_UMREV
Short Description Conversion Factor of Delivery Quantity VRKME for MEINS  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FLTP    
Data Type FLTP   Floating point number, accurate to 8 bytes 
Length 16    
Decimal Places 16    
Output Length 22    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name CONVFACTOR   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 ConvFactor 
Medium 15 ConversionFactr 
Long 20 Conversion factor 
Heading  
Documentation

Definition

The delivery lists the delivery quantity in two units of measure. The delivery quantity (lfimg) appears in sales units (vrkme) and the base quantity (lgmng) appears in the base unit of measure (meins).

A 5-digit numerator (umvkz) and 5-digit denominator (umvkn) are available for conversion ratios from 99999 : 1 to 1: 99999 to convert the quantity from one unit of measure into another. If this results in an insufficient value range or if the values cannot be converted exactly, the conversion ratio is figured from a conversion factor (umrev) whose data type allows floating decimal arithmetic (FLOAT), which makes it exact enough for logistics applications (value range +/- 2.2250738585072014 E-308 to +/- 1,7976931348623157 E+308 with an accuracy of 15 decimal places).

The following conversion rule is valid:

  1. lgmng = lfimg * umvkz / umvkn
    umrev = 0.
    when the following are valid:
    1. The quantity ratio falls within the value range of the conversion ratio.
      1 / 99999 < lgmng / lfimg < 99999 / 1
    2. The conversion ratio is exact enough:
      (lgmng / lfimg ) - (umvkz / umvkn) = 0.
  2. lgmng = lfimg * umrev
    lgmng = lfimg * umvkz / umvkn
    This is valid for all cases that are excluded from the first rule. Umvkz and umvkn take the conversion ratio that comes nearest to the quantity ratio.

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