SAP ABAP Data Element CPET_ROUNDRULE (CPE - Rounding Rule)
Hierarchy
PI_BASIS (Software Component) Basis Plug-In
   CA-GTF-CPE (Application Component) Commodity Pricing Engine
     CPE_BASIS (Package) Commodity Pricing Engine: Basic Objects
Basic Data
Data Element CPET_ROUNDRULE
Short Description CPE - Rounding Rule  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CPE_RULE    
Data Type CHAR   Character String 
Length 5    
Decimal Places 0    
Output Length 5    
Value Table      
Further Characteristics
Search Help: Name CPE_ROUNDRULE    
Search Help: Parameters RULE   
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 RoundRule 
Medium 20 Rounding Rule 
Long 40 Rule for Rounding 
Heading RndRl 
Documentation

Definition

Defines how to round results and intermediate results in the commodity pricing engine (CPE).

Use

Within commodity pricing formulas, rounding rules can be assigned to conversion places to define how a result at this place should be rounded.

The rounding rule defines which rounding routine is called, and also defines the two import parameters for the routine: the number of decimals and the number of predecimals (only one of the parameters can be filled).

Rounding rules can be defined in the CPE Customizing activity Define Rounding Rule.

Dependencies

The customer namespace for Rules is A0000 to ZZZZZ.

Example

The Rounding Rule 1002 (Two Decimals) is calling Rounding Routine 1 with Decimals 2 and Predecimals 0, so a value of 123.4567 will be rounded to 123.46.

History
Last changed by/on SAP  20110908 
SAP Release Created in 2004_1_46C