SAP ABAP Data Element CPET_CONVERSIONROUT (CPE - Conversion Routine)
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_CONVERSIONROUT
Short Description CPE - Conversion Routine  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CPE_ROUTINE    
Data Type NUMC   Character string with only digits 
Length 7    
Decimal Places 0    
Output Length 7    
Value Table      
Further Characteristics
Search Help: Name CPE_ROUTINE    
Search Help: Parameters E_ROUTINE   
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 Conv.Rtine 
Medium 20 Conv. Routine 
Long 40 Routine for Conversion 
Heading ConvRtn 
Documentation

Definition

Contains the logic for converting rates from one format into another (including currency, price unit, and unit of measure).

Use

The conversion routine is called by the conversion rule.

The routine is technically an implementation of the Business Add-In (BAdI) BADI_CPE_FE_CONVERSION_ROUTINE. The import parameters for this BAdI are: currency exchange rate type, the averaging of exchange rates, the rounding rule for currency conversion, and the quantity conversion rule.

Dependencies

The customer name space for routines is 30.000 to 99.999.

Example

  • 1: Rate Conversion: 1. Quantity 2. Currency
  • 2: Rate Conversion: 1. Currency 2. Quantity
  • 10: Only Currency Conversion
  • 20: Only Quantity Conversion
  • 40: Manual Rate Conversion with Factors

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