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 | Constant | Public | Type reference (TYPE) | CPF_USAGE_TASK | 'CALCULATE_BASE' | Base task | 20121019 | ||
| 2 | Constant | Public | Type reference (TYPE) | CPF_USAGE_TASK | 'CALCULATE_RATE' | Rate task | 20121019 | ||
| 3 | Constant | Public | Type reference (TYPE) | CPF_USAGE_TASK | 'CALCULATE_VALUE' | Value task | 20121019 | ||
| 4 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_PRICING_CPF_FACTORY | Interface for Pricing CPF integration factory | 20121026 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | CPFT_OBJ_FORMULA | Table type for CPFS_OBJ_FORMULA | 20121019 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | KONVTOCPFGUID_T | Table type for linking KONV records and CPFs | 20121019 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | KNUMV | Number of the document condition | 20121019 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Calculate pricing base | 20121019 | |
| 2 | Static method | Public | Method | Calculate pricing rate | 20121019 | |
| 3 | Static method | Public | Method | Calculate pricing scale base | 20121019 | |
| 4 | Static method | Public | Method | Calculate pricing value | 20121019 | |
| 5 | Instance method | Public | Constructor | CONSTRUCTOR | 20121019 | |
| 6 | Static method | Public | Method | Copy formulas during GR postings | 20121120 | |
| 7 | 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 | EO_RESULT | Call by reference | Object reference (TYPE REF TO) | DATA | Task result | 20121019 | |||
| 2 | IO_FORMULA | Call by reference | Object reference (TYPE REF TO) | IF_CPF_FORMULA | Interface for CPF formula | 20121019 | |||
| 3 | IV_BRFPLUS_FUNCTION | Call by reference | Type reference (TYPE) | FDT_UUID | FDT: Universal Unique Identifier | 20121019 | |||
| 4 | IV_ROUTINE | Call by reference | Type reference (TYPE) | CPF_ROUTINE | CPF Routine | 20121019 | |||
| 5 | IV_USAGE_TASK | Call by reference | Type reference (TYPE) | CPF_USAGE_TASK | CPF Usage Task | 20121019 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for CPF formula | 20130313 | ||
| 2 | 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 | EO_RESULT | Call by reference | Object reference (TYPE REF TO) | DATA | Task result | 20121019 | |||
| 2 | IO_FORMULA | Call by reference | Object reference (TYPE REF TO) | IF_CPF_FORMULA | Interface for CPF formula | 20121019 | |||
| 3 | IV_BRFPLUS_FUNCTION | Call by reference | Type reference (TYPE) | FDT_UUID | FDT: Universal Unique Identifier | 20121019 | |||
| 4 | IV_ROUTINE | Call by reference | Type reference (TYPE) | CPF_ROUTINE | CPF Routine | 20121019 | |||
| 5 | IV_USAGE_TASK | Call by reference | Type reference (TYPE) | CPF_USAGE_TASK | CPF Usage Task | 20121019 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for CPF formula | 20130313 | ||
| 2 | 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 | EO_RESULT | Call by reference | Object reference (TYPE REF TO) | DATA | Task result | 20121019 | |||
| 2 | IO_FORMULA | Call by reference | Object reference (TYPE REF TO) | IF_CPF_FORMULA | Interface for CPF formula | 20121019 | |||
| 3 | IV_BRFPLUS_FUNCTION | Call by reference | Type reference (TYPE) | FDT_UUID | FDT: Universal Unique Identifier | 20121019 | |||
| 4 | IV_ROUTINE | Call by reference | Type reference (TYPE) | CPF_ROUTINE | CPF Routine | 20121019 | |||
| 5 | IV_USAGE_TASK | Call by reference | Type reference (TYPE) | CPF_USAGE_TASK | CPF Usage Task | 20121019 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for CPF formula | 20130313 | ||
| 2 | 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 | EO_RESULT | Call by reference | Object reference (TYPE REF TO) | DATA | Task result | 20121019 | |||
| 2 | IO_FORMULA | Call by reference | Object reference (TYPE REF TO) | IF_CPF_FORMULA | Interface for CPF formula | 20121019 | |||
| 3 | IV_BRFPLUS_FUNCTION | Call by reference | Type reference (TYPE) | FDT_UUID | FDT: Universal Unique Identifier | 20121019 | |||
| 4 | IV_ROUTINE | Call by reference | Type reference (TYPE) | CPF_ROUTINE | CPF Routine | 20121019 | |||
| 5 | IV_USAGE_TASK | Call by reference | Type reference (TYPE) | CPF_USAGE_TASK | CPF Usage Task | 20121019 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for CPF formula | 20130313 | ||
| 2 | Exception for CPF: Nothing done | 20121129 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PRICING_CPF_FACTORY | Call by reference | Object reference (TYPE REF TO) | IF_PRICING_CPF_FACTORY | Interface for Pricing CPF integration factory | 20121026 | |||
| 2 | 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 | ET_KONV | Call by reference | Type reference (TYPE) | ME_KONV | table type for konv | 20130416 | |||
| 2 | IT_KONV | Call by reference | Type reference (TYPE) | ME_KONV | table type for konv | 20130416 | |||
| 3 | IV_BUZEI_TO | Call by reference | Type reference (TYPE) | MBLPO | Item in Material Document | 20121120 | |||
| 4 | IV_EBELN_FROM | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20121120 | |||
| 5 | IV_EBELP_FROM | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20121120 | |||
| 6 | 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 | EO_RESULT | Call by reference | Object reference (TYPE REF TO) | DATA | Task result | 20121019 | |||
| 2 | IO_FORMULA | Call by reference | Object reference (TYPE REF TO) | IF_CPF_FORMULA | Interface for CPF formula | 20121019 | |||
| 3 | IV_BRFPLUS_FUNCTION | Call by reference | Type reference (TYPE) | FDT_UUID | FDT: Universal Unique Identifier | 20121019 | |||
| 4 | IV_ROUTINE | Call by reference | Type reference (TYPE) | CPF_ROUTINE | CPF Routine | 20121019 | |||
| 5 | IV_USAGE_TASK | Call by reference | Type reference (TYPE) | CPF_USAGE_TASK | CPF Usage Task | 20121019 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for CPF pricing integration | 20130514 | ||
| 2 | Exception for CPF pricing nothing done | 20130514 |
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 617 |