SAP ABAP Class CL_PRICING_CPF (CPF: Default implementing classs for IF_CPF_PRICING)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   CA-GTF-PR-CPF (Application Component) Configurable Parameters and Formulas
     VF_PRC_CPF (Package) Integration of CPF into ERP Pricing
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CPF_CONSTANTS Interface CPF constants 20121019
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_PRICING_CPF Interface for Pricing CPF integration 20121026
Properties
Class CL_PRICING_CPF  
Short Description CPF: Default implementing classs for IF_CPF_PRICING    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package VF_PRC_CPF   Integration of CPF into ERP Pricing 
Created 20121019   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_PRICING_CPF has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_CPF_CONSTANTS Interface CPF constants 20121019
2 IF_PRICING_CPF Interface for Pricing CPF integration 20121026
Friends
Class CL_PRICING_CPF has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 LC_PR_BASE_TASK Constant Public Type reference (TYPE) CPF_USAGE_TASK 'CALCULATE_BASE' Base task 20121019
2 LC_PR_RATE_TASK Constant Public Type reference (TYPE) CPF_USAGE_TASK 'CALCULATE_RATE' Rate task 20121019
3 LC_PR_VALUE_TASK Constant Public Type reference (TYPE) CPF_USAGE_TASK 'CALCULATE_VALUE' Value task 20121019
4 MO_PRICING_CPF_FACTORY Instance attribute Protected Object reference (TYPE REF TO) IF_PRICING_CPF_FACTORY Interface for Pricing CPF integration factory 20121026
5 MT_FORMULA Instance attribute Protected Type reference (TYPE) CPFT_OBJ_FORMULA Table type for CPFS_OBJ_FORMULA 20121019
6 MT_KONVTOGUID Instance attribute Protected Type reference (TYPE) KONVTOCPFGUID_T Table type for linking KONV records and CPFs 20121019
7 MV_KNUMV Instance attribute Protected Type reference (TYPE) KNUMV Number of the document condition 20121019
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_BASE Static method Public Method Calculate pricing base 20121019
2 CALCULATE_RATE Static method Public Method Calculate pricing rate 20121019
3 CALCULATE_SCALE_BASE Static method Public Method Calculate pricing scale base 20121019
4 CALCULATE_VALUE Static method Public Method Calculate pricing value 20121019
5 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20121019
6 ME_FORMULA_COPY Static method Public Method Copy formulas during GR postings 20121120
7 RETRIEVE_DATA Static method Public Method Retrieve data 20121019
Events
Class CL_PRICING_CPF has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 MTY_FORMULA_COND Protected See coding 20121019 BEGIN OF mty_formula_cond, kposn TYPE kposn, stunr TYPE stunr, zaehk TYPE dzaehk, formula TYPE REF TO if_cpf_formula, END OF mty_formula_cond
2 MTY_FORMULA_COND_TAB Protected See coding 20121019 mty_formula_cond_tab TYPE TABLE OF mty_formula_cond
Method Signatures

Method CALCULATE_BASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_RESULT Call by reference Object reference (TYPE REF TO) DATA Task result 20121019
2 Importing IO_FORMULA Call by reference Object reference (TYPE REF TO) IF_CPF_FORMULA Interface for CPF formula 20121019
3 Importing IV_BRFPLUS_FUNCTION Call by reference Type reference (TYPE) FDT_UUID FDT: Universal Unique Identifier 20121019
4 Importing IV_ROUTINE Call by reference Type reference (TYPE) CPF_ROUTINE CPF Routine 20121019
5 Importing IV_USAGE_TASK Call by reference Type reference (TYPE) CPF_USAGE_TASK CPF Usage Task 20121019
# Exception Resumable Description Created on
1 CX_CPF Exception for CPF formula 20130313
2 CX_CPF_NOTHING_DONE Exception for CPF: Nothing done 20121129

Method CALCULATE_RATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_RESULT Call by reference Object reference (TYPE REF TO) DATA Task result 20121019
2 Importing IO_FORMULA Call by reference Object reference (TYPE REF TO) IF_CPF_FORMULA Interface for CPF formula 20121019
3 Importing IV_BRFPLUS_FUNCTION Call by reference Type reference (TYPE) FDT_UUID FDT: Universal Unique Identifier 20121019
4 Importing IV_ROUTINE Call by reference Type reference (TYPE) CPF_ROUTINE CPF Routine 20121019
5 Importing IV_USAGE_TASK Call by reference Type reference (TYPE) CPF_USAGE_TASK CPF Usage Task 20121019
# Exception Resumable Description Created on
1 CX_CPF Exception for CPF formula 20130313
2 CX_CPF_NOTHING_DONE Exception for CPF: Nothing done 20121129

Method CALCULATE_SCALE_BASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_RESULT Call by reference Object reference (TYPE REF TO) DATA Task result 20121019
2 Importing IO_FORMULA Call by reference Object reference (TYPE REF TO) IF_CPF_FORMULA Interface for CPF formula 20121019
3 Importing IV_BRFPLUS_FUNCTION Call by reference Type reference (TYPE) FDT_UUID FDT: Universal Unique Identifier 20121019
4 Importing IV_ROUTINE Call by reference Type reference (TYPE) CPF_ROUTINE CPF Routine 20121019
5 Importing IV_USAGE_TASK Call by reference Type reference (TYPE) CPF_USAGE_TASK CPF Usage Task 20121019
# Exception Resumable Description Created on
1 CX_CPF Exception for CPF formula 20130313
2 CX_CPF_NOTHING_DONE Exception for CPF: Nothing done 20121129

Method CALCULATE_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_RESULT Call by reference Object reference (TYPE REF TO) DATA Task result 20121019
2 Importing IO_FORMULA Call by reference Object reference (TYPE REF TO) IF_CPF_FORMULA Interface for CPF formula 20121019
3 Importing IV_BRFPLUS_FUNCTION Call by reference Type reference (TYPE) FDT_UUID FDT: Universal Unique Identifier 20121019
4 Importing IV_ROUTINE Call by reference Type reference (TYPE) CPF_ROUTINE CPF Routine 20121019
5 Importing IV_USAGE_TASK Call by reference Type reference (TYPE) CPF_USAGE_TASK CPF Usage Task 20121019
# Exception Resumable Description Created on
1 CX_CPF Exception for CPF formula 20130313
2 CX_CPF_NOTHING_DONE Exception for CPF: Nothing done 20121129

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PRICING_CPF_FACTORY Call by reference Object reference (TYPE REF TO) IF_PRICING_CPF_FACTORY Interface for Pricing CPF integration factory 20121026
2 Importing IV_KNUMV Call by reference Type reference (TYPE) KNUMV Number of the document condition 20121019

Method CONSTRUCTOR on class CL_PRICING_CPF has no exception.

Method ME_FORMULA_COPY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KONV Call by reference Type reference (TYPE) ME_KONV table type for konv 20130416
2 Importing IT_KONV Call by reference Type reference (TYPE) ME_KONV table type for konv 20130416
3 Importing IV_BUZEI_TO Call by reference Type reference (TYPE) MBLPO Item in Material Document 20121120
4 Importing IV_EBELN_FROM Call by reference Type reference (TYPE) EBELN Purchasing Document Number 20121120
5 Importing IV_EBELP_FROM Call by reference Type reference (TYPE) EBELP Item Number of Purchasing Document 20121120
6 Importing IV_KNUMV_TO Call by reference Type reference (TYPE) KNUMV Number of the document condition 20121120

Method ME_FORMULA_COPY on class CL_PRICING_CPF has no exception.

Method RETRIEVE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_RESULT Call by reference Object reference (TYPE REF TO) DATA Task result 20121019
2 Importing IO_FORMULA Call by reference Object reference (TYPE REF TO) IF_CPF_FORMULA Interface for CPF formula 20121019
3 Importing IV_BRFPLUS_FUNCTION Call by reference Type reference (TYPE) FDT_UUID FDT: Universal Unique Identifier 20121019
4 Importing IV_ROUTINE Call by reference Type reference (TYPE) CPF_ROUTINE CPF Routine 20121019
5 Importing IV_USAGE_TASK Call by reference Type reference (TYPE) CPF_USAGE_TASK CPF Usage Task 20121019
# Exception Resumable Description Created on
1 CX_PRICING_CPF Exception for CPF pricing integration 20130514
2 CX_PRICING_CPF_NOTHING_DONE Exception for CPF pricing nothing done 20130514
History
Last changed by/on SAP  20131127 
SAP Release Created in 617