SAP ABAP Data Element XNDEC (Number of decimal places)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       FBAS (Package) Financial accounting 'Basis'
Basic Data
Data Element XNDEC
Short Description Number of decimal places  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type XNDEC    
Data Type CHAR   Character String 
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  
Medium 16 Decimal places 
Long 40 Decimal places for amount selection 
Heading  
Documentation

Definition

Number of decimal places which are to form the basis of selection for the fields:

  • Amount in local currency
  • Amount in document currency.

If you specify a number here, the selections entered are passed on to the database which helps to reduce the response time considerably.

However, since amounts such as 400 Lire and 400 USD are stored differently in the database,

  • Entry: 400 ITL, database: 400 (without decimal places)
  • Entry: 400 USD, database: 40000 (with 2 decimal places)

you must specify here which amounts you want to find when you enter the search term "400":

  • If you specify "2" as the number, the 400 USD will be found
  • If you specify "0" as the number, the 400 ITL will be found.

You should therefore maintain this number of decimal places if you are typically searching for amounts in currencies with the same number of decimal places (normally 2).

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