SAP ABAP Class CL_CPE_USAGE (Provides current usage (IPC, ABAP, Test) for FA, FE)
Hierarchy
☛
PI_BASIS (Software Component) Basis Plug-In
⤷
CA-GTF-CPE (Application Component) Commodity Pricing Engine
⤷
CPE_DOC (Package) Commodity Pricing: Document Data
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CPE_FA_PROCEDURE_INFO | Provides info about CPE FA procedure | 20100614 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CPE_FORMULA_ASSEMBLY | Formula Assembly | 20100614 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CPE_FORMULA_EVALUATION | Evaluate CPE formula | 20100614 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_CPE_USAGE_ABAP | CPE usage without IPC | 20100614 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_CPE_USAGE_IPC | CPE using IPC | 20100614 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_CPE_USAGE_TEST | CPE using test file | 20100614 |
Properties
| Class | CL_CPE_USAGE | |
| Short Description | Provides current usage (IPC, ABAP, Test) for FA, FE | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CPE_DOC | Commodity Pricing: Document Data |
| Created | 20100611 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_CPE_FA_PROCEDURE_INFO | Provides info about CPE FA procedure | 20100614 | ||
| 2 | IF_CPE_FORMULA_ASSEMBLY | Formula Assembly | 20100614 | ||
| 3 | IF_CPE_FORMULA_EVALUATION | Evaluate CPE formula | 20100614 |
Friends
Class CL_CPE_USAGE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | GTY_PARAM_ID | 'CPE_TEST_WITHOUTJAVA' | SPGA parameter id | 20100614 | ||
| 2 | Constant | Private | Type reference (TYPE) | GTY_PARAM_ID | 'CPE_TEST_FA_NO_JAVA' | SPGA parameter id | 20100611 | ||
| 3 | Constant | Private | Type reference (TYPE) | GTY_PARAM_ID | 'CPE_TEST_FAP_NO_JAVA' | SPGA parameter id | 20100611 | ||
| 4 | Constant | Private | Type reference (TYPE) | GTY_PARAM_ID | 'CPE_TEST_FE_NO_JAVA' | SPGA parameter id | 20100614 | ||
| 5 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_CPE_USAGE | Provides current usage (IPC, ABAP, Test) for FA, FE | 20100611 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | CPET_APPLICATION | CPE Caller - Application using CPE | 20100614 | |||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_CPE_FORMULA_ASSEMBLY | Formula Assembly | 20100614 | |||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_CPE_FA_PROCEDURE_INFO | Provides info about CPE FA procedure | 20100614 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_CPE_FORMULA_EVALUATION | Evaluate CPE formula | 20100614 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Check function module name | 20100611 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20100611 | |
| 3 | Static method | Public | Method | Get usage | 20100611 | |
| 4 | Static method | Public | Method | Check Java usage | 20100611 | |
| 5 | Static method | Private | Method | Read SPGA parameter as boolean value | 20100611 | |
| 6 | Static method | Public | Method | Check new ui view usage | 20121008 |
Events
Class CL_CPE_USAGE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GTY_PARAM_ID | Private | Type reference (TYPE) | CHAR20 | SPGA parameter id | 20100611 | |
Method Signatures
Method CHECK_FUNCTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FUNCTION | Call by reference | Type reference (TYPE) | FUNCNAME | 20100611 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100706 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_FA | Call by reference | Object reference (TYPE REF TO) | IF_CPE_FORMULA_ASSEMBLY | Formula Assembly | 20100611 | |||
| 2 | IO_FAP | Call by reference | Object reference (TYPE REF TO) | IF_CPE_FA_PROCEDURE_INFO | Provides info about CPE FA procedure | 20100611 | |||
| 3 | IO_FE | Call by reference | Object reference (TYPE REF TO) | IF_CPE_FORMULA_EVALUATION | Evaluate CPE formula | 20100614 |
Method CONSTRUCTOR on class CL_CPE_USAGE has no exception.
Method GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_APPLICATION | Call by reference | Type reference (TYPE) | CPET_APPLICATION | 'CRM ' | CPE Caller - Application using CPE | 20100611 | ||
| 2 | RO_USAGE | Value transfer | Object reference (TYPE REF TO) | CL_CPE_USAGE | Provides FA Procedure Info | 20100611 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Termination in FA Procedure Info | 20100706 |
Method IS_JAVA_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_APPLICATION | Call by reference | Type reference (TYPE) | CPET_APPLICATION | CPE Caller - Application using CPE | 20100611 | |||
| 2 | RF_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100611 |
Method IS_JAVA_ACTIVE on class CL_CPE_USAGE has no exception.
Method READ_BOOLEAN_FROM_SPGA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARAM_ID | Call by reference | Type reference (TYPE) | CHAR20 | Char 20 | 20100611 | |||
| 2 | RV_BOOLEAN | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100611 |
Method READ_BOOLEAN_FROM_SPGA on class CL_CPE_USAGE has no exception.
Method USE_NEW_UI_VIEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_APPLICATION | Call by reference | Type reference (TYPE) | CPET_APPLICATION | CPE Caller - Application using CPE | 20121008 | |||
| 2 | RV_USE_NEW_VIEW | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20121008 |
Method USE_NEW_UI_VIEW on class CL_CPE_USAGE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 703 |