SAP ABAP Class CL_PRICING_CPF_HELPER (Pricing CPF helper methods)
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
⤷ 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 | 20121026 |
Properties
Class | CL_PRICING_CPF_HELPER | |
Short Description | Pricing CPF helper methods | |
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 | 20121026 | SAP |
Last change | 20131127 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_PRICING_CPF_HELPER has no forward declaration.
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_CPF_CONSTANTS | Interface CPF constants | 20121026 |
Friends
Class CL_PRICING_CPF_HELPER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GT_TCURX | Static Attribute | Public | See coding | 20121204 | ||||
2 | LC_KRECH_PRZ_ABS | Constant | Public | Type reference (TYPE) | CHAR7 | 'ABHIJKT' | Pricing calc. rules percent/absolute | 20130424 | |
3 | LC_KRECH_RELATIVE | Constant | Public | Type reference (TYPE) | CHAR11 | 'CDEFLMNOPRS' | Pricing calc. rules relative | 20130424 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | DETERMINE_CURRENCY_DECIMALS | Static method | Public | Method | Determines the number of decimals for a given currency | 20121204 |
2 | FORMAT_QUALITY_VALUE | Static method | Public | Method | Format quality value | 20121026 |
3 | GET_QUALITY_VALUE_BY_HIERARCHY | Static method | Public | Method | Get qualities (1st delivery, then batch, then mat. master) | 20121026 |
4 | GET_RESULT_RATE_AS_FIXEDPOINT | Static method | Public | Method | Get result rate | 20121026 |
5 | SET_DECIMAL_SEPARATOR | Static method | Public | Method | 20130424 | |
6 | SET_RESULT_RATE | Static method | Public | Method | Set result rate | 20121026 |
Events
Class CL_PRICING_CPF_HELPER has no event.
Types
Class CL_PRICING_CPF_HELPER has no local type.
Method Signatures
Method DETERMINE_CURRENCY_DECIMALS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_DECIMALS | Call by reference | Type reference (TYPE) | RSDECIMALS | Number of decimal places | 20121204 | ||
2 | Importing | IV_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Currency Key | 20121204 |
Method DETERMINE_CURRENCY_DECIMALS on class CL_PRICING_CPF_HELPER has no exception.
Method FORMAT_QUALITY_VALUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_VALUE | Value transfer | Type reference (TYPE) | ANY | 20121026 | |||
2 | Importing | IS_CHAR_VALUE | Call by reference | Type reference (TYPE) | CMM_MD_QLTY_VALUE | Characteristic values | 20121026 | ||
3 | Importing | IV_CHAR_NAME | Call by reference | Type reference (TYPE) | ATNAM | Characteristic Name | 20121026 | ||
4 | Importing | IV_FORMAT | Call by reference | Type reference (TYPE) | ANY | 20121026 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_CPF | Exception for CPF | 20121026 |
Method GET_QUALITY_VALUE_BY_HIERARCHY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CHAR_NAME | Call by reference | Type reference (TYPE) | ATNAM | Characteristic name | 20121026 | ||
2 | Returning | RS_CHAR_VALUE | Value transfer | Type reference (TYPE) | CMM_MD_QLTY_VALUE | Characteristic values | 20121026 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_CPF | Exception for CPF | 20121026 |
Method GET_RESULT_RATE_AS_FIXEDPOINT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CV_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | CPF currency | 20121026 | ||
2 | Changing | CV_NUMBER | Call by reference | Type reference (TYPE) | KBETR | CPF Number | 20121026 | ||
3 | Changing | CV_PRICEUNIT | Call by reference | Type reference (TYPE) | KPEIN | CPF Price unit | 20121026 | ||
4 | Changing | CV_UNIT | Call by reference | Type reference (TYPE) | KMEIN | CPF UoM | 20121026 | ||
5 | Importing | IR_RESULT | Call by reference | Type reference (TYPE) | DATA | 20121026 | |||
6 | Importing | IV_CALC_TYPE | Call by reference | Type reference (TYPE) | KRECH | Calculation type for condition | 20121026 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_CPF | Exception for CPF parameter values | 20121026 |
Method SET_DECIMAL_SEPARATOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_VALUE | Call by reference | Type reference (TYPE) | CPF_NUMBER | Formatted value | 20130424 | ||
2 | Importing | IV_CURRENCY | Call by reference | Type reference (TYPE) | WAERS | Currency Key | 20130424 | ||
3 | Importing | IV_KRECH | Call by reference | Type reference (TYPE) | KRECH | Calculation type for condition | 20130424 | ||
4 | Importing | IV_VALUE | Call by reference | Type reference (TYPE) | CPF_NUMBER | Original value | 20130424 |
Method SET_DECIMAL_SEPARATOR on class CL_PRICING_CPF_HELPER has no exception.
Method SET_RESULT_RATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CR_RESULT | Call by reference | Type reference (TYPE) | DATA | 20121026 | |||
2 | Importing | IV_CURRENCY | Call by reference | Type reference (TYPE) | CPF_CURRENCY | CPF currency | 20121026 | ||
3 | Importing | IV_NUMBER | Call by reference | Type reference (TYPE) | CPF_NUMBER | CPF Number | 20121026 | ||
4 | Importing | IV_PRICEUNIT | Call by reference | Type reference (TYPE) | CPF_PU | CPF Price unit | 20121026 | ||
5 | Importing | IV_UNIT | Call by reference | Type reference (TYPE) | CPF_UNIT | CPF UoM | 20121026 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_CPF | Exception for CPF parameter values | 20121026 |
History
Last changed by/on | SAP | 20131127 |
SAP Release Created in | 617 |