SAP ABAP Class CL_CPF_BASIS_HELPER (CPF: Helper class)
Hierarchy
☛
PI_BASIS (Software Component) Basis Plug-In
⤷
CA-GTF-PR-CPF (Application Component) Configurable Parameters and Formulas
⤷
CPF_BASIS (Package) Configurable Parameters and Formulas (Basis)

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CPF_CONSTANTS | Interface CPF constants | 20120716 |
Properties
Class | CL_CPF_BASIS_HELPER | |
Short Description | CPF: Helper class | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | CPF_BASIS | Configurable Parameters and Formulas (Basis) |
Created | 20120713 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_CPF_BASIS_HELPER has no forward declaration.
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_CPF_CONSTANTS | Interface CPF constants | 20120716 |
Friends
Class CL_CPF_BASIS_HELPER has no friend class.
Attributes
Class CL_CPF_BASIS_HELPER has no attribute.
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Check if variables are compatible | 20120830 |
2 | ![]() |
Static method | Public | Method | Copies a data object (instance of an ABAP type) | 20120730 |
3 | ![]() |
Static method | Public | Method | Generates a GUID | 20120813 |
4 | ![]() |
Static method | Public | Method | Get valid CPF elementary data types | 20120827 |
5 | ![]() |
Static method | Public | Method | Get CPF elementary data type description | 20120827 |
6 | ![]() |
Static method | Public | Method | Converts a DATA object to CPF amount | 20120827 |
7 | ![]() |
Static method | Public | Method | Converts a DATA object to CPF number | 20120827 |
8 | ![]() |
Static method | Public | Method | Converts a DATA object to CPF quantity | 20120827 |
9 | ![]() |
Static method | Public | Method | Converts a DATA object to CPF rate | 20120827 |
10 | ![]() |
Static method | Public | Method | Converts a DATA object to text | 20120827 |
11 | ![]() |
Static method | Public | Method | Convert object scale lines into numeric | 20130415 |
12 | ![]() |
Static method | Public | Method | Returns the data type of a DATA object | 20130111 |
Events
Class CL_CPF_BASIS_HELPER has no event.
Types
Class CL_CPF_BASIS_HELPER has no local type.
Method Signatures
Method CHECK_COMPATIBILITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_VAR1 | Call by reference | Type reference (TYPE) | ANY | 20120830 | |||
2 | ![]() |
IV_VAR2 | Call by reference | Type reference (TYPE) | ANY | 20120830 | |||
3 | ![]() |
RV_COMPATIBLE | Value transfer | Type reference (TYPE) | XFELD | Boolean Variable (X=True, -=False, Space=Unknown) | 20120830 |
Method CHECK_COMPATIBILITY on class CL_CPF_BASIS_HELPER has no exception.
Method COPY_DATA_OBJECT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_DATA_FROM | Call by reference | Object reference (TYPE REF TO) | DATA | 20120730 | |||
2 | ![]() |
RO_DATA_TO | Value transfer | Object reference (TYPE REF TO) | DATA | 20120730 |
Method COPY_DATA_OBJECT on class CL_CPF_BASIS_HELPER has no exception.
Method GENERATE_GUID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_GUID | Value transfer | Type reference (TYPE) | CPF_GUID | CPF document guid | 20120813 |
Method GENERATE_GUID on class CL_CPF_BASIS_HELPER has no exception.
Method GET_CPF_ELEMENTARY_DATA_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RT_ELEMENTARY_DATA_TYPE | Value transfer | Type reference (TYPE) | CPFT_ELEMENTARY_DATA_TYPE | CPF Elementary Data Type | 20120827 |
Method GET_CPF_ELEMENTARY_DATA_TYPE on class CL_CPF_BASIS_HELPER has no exception.
Method GET_CPF_ELEM_DATA_TYPE_DESCR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_ELEMENTARY_DATA_TYPE | Call by reference | Type reference (TYPE) | CPFT_ELEMENTARY_DATA_TYPE | CPF Elementary Data Type | 20120827 | ||
2 | ![]() |
RT_ELEMENTARY_DATA_TYPE_DESCR | Value transfer | Type reference (TYPE) | CPFT_ELEMENTARY_DATA_TYPE_DESC | CPF Elementary Data Type Description | 20120827 |
Method GET_CPF_ELEM_DATA_TYPE_DESCR on class CL_CPF_BASIS_HELPER has no exception.
Method GET_DATA_AS_AMOUNT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_DATA | Call by reference | Type reference (TYPE) | DATA | 20120827 | |||
2 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | CPFS_AMOUNT | CPF amount | 20120827 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception for CPF | 20120827 |
Method GET_DATA_AS_NUMBER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_DATA | Call by reference | Type reference (TYPE) | DATA | 20120827 | |||
2 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | CPF_NUMBER | CPF Number | 20120827 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception for CPF | 20120827 |
Method GET_DATA_AS_QUANTITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_DATA | Call by reference | Type reference (TYPE) | DATA | 20120827 | |||
2 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | CPFS_QUANTITY | CPF quantity | 20120827 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception for CPF | 20120827 |
Method GET_DATA_AS_RATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_DATA | Call by reference | Type reference (TYPE) | DATA | 20120827 | |||
2 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | CPFS_PRICE_RATE | CPF rate | 20120827 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception for CPF | 20120827 |
Method GET_DATA_AS_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_DATA | Call by reference | Type reference (TYPE) | DATA | 20120827 | |||
2 | ![]() |
RV_VALUE | Value transfer | Type reference (TYPE) | STRING | 20120827 |
Method GET_DATA_AS_TEXT on class CL_CPF_BASIS_HELPER has no exception.
Method GET_NUM_SCALE_LINES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_OBJ_LINES | Call by reference | Type reference (TYPE) | CPFT_OBJ_SCALE_LINE | Table type for CPF Scale Line with values | 20130415 | ||
2 | ![]() |
RT_NUM_LINES | Value transfer | Type reference (TYPE) | CPFT_NUM_SCALE_LINE | Table type for CPF Scale Line with numeric values | 20130415 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
CPF error | 20130415 |
Method GET_OBJECT_DATA_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_DATA | Call by reference | Type reference (TYPE) | DATA | 20130111 | |||
2 | ![]() |
RV_DATA_TYPE | Value transfer | Type reference (TYPE) | CPF_REF_DATA_TYPE | CPF Referenced Data Type | 20130111 |
Method GET_OBJECT_DATA_TYPE on class CL_CPF_BASIS_HELPER has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 740 |