SAP ABAP Data Element BAPIAMOUNT (Amount (Decimal Places Acc. To Currency))
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-HR (Application Component) Cross-Application Objects in HR
     BPCAL (Package) Cross-Application Objects for International Payroll PY
Basic Data
Data Element BAPIAMOUNT
Short Description Amount (Decimal Places Acc. To Currency)  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type BAPICURR    
Data Type DEC   Counter or amount field with comma and sign 
Length 23    
Decimal Places 4    
Output Length 30    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name AMOUNT   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Amount 
Medium 14 Amount 
Long 20 Amount 
Heading 10 Amount 
Documentation

Definition

Use

The amount can only be interpreted with a currency. Every currency has a certain number of valid decimal places. Additional decimal places in excess of this number must be filled with zeros for BAPIAMOUNT.

A currency's decimal places are stored in the CURRDEC field of table TCURX (Decimal Places in Currencies).

If no currency is specified, the system assumes that the amount was entered in a currency with two decimal places.

The amount is converted to an SAP-internal format with exactly two valid decimal places. You must ensure that you do not use more than 21 places for your amount. These 21 places are calculated by adding the number of decimal places that are valid in your currency to the number of predecimal places.

Dependencies

Example

The following table illustrates how amounts from the external application and in different currencies are interpreted depending on the number of decimal places (DecP) and then displayed in the SAP System:

DecP     Curr.     Amount    Interpretation    Int. SAP display

two     DEM     123.4500    123,45 DEM    123.4500

zero     ITL     123.0000    123 ITL    1.2300

three     KWD     123.4560    123,456 KWD    1234.5600

History
Last changed by/on SAP  20020827 
SAP Release Created in 50A