SAP ABAP Class /TDAG/CPCL_CHARACT_VALUES_REP (CP: Repository for characteristic values with descriptions)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷
EHS (Application Component) Environment, Health and Safety
⤷
/TDAG/CP (Package) Compliance for products
⤷
⤷
Properties
| Class | /TDAG/CPCL_CHARACT_VALUES_REP | |
| Short Description | CP: Repository for characteristic values with descriptions | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /TDAG/CP | Compliance for products |
| Created | 20071122 | SAP |
| Last change | 20141109 | |
| 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
Class /TDAG/CPCL_CHARACT_VALUES_REP has no interface implemented.
Friends
Class /TDAG/CPCL_CHARACT_VALUES_REP has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | /TDAG/CPCL_CHARACT_VALUES_REP | The only instance of this class | 20071122 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | CHARACT_REP_HTAB_TYPE | The table of characteristic values and descriptions | 20071122 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Add the values of a characteristic to the repository | 20071122 | |
| 2 | Instance method | Public | Method | Returns the code of the characteristic value | 20100128 | |
| 3 | Instance method | Public | Method | Returns the description of a characteristic value | 20071122 | |
| 4 | Static method | Public | Method | Returns an instance of this class | 20071122 | |
| 5 | Instance method | Public | Method | Returns the internal value of a description | 20071122 | |
| 6 | Instance method | Public | Method | Validates the multivalent codes of a characteristic | 20101018 | |
| 7 | Instance method | Public | Method | Validates the value of a characteristic | 20071122 |
Events
Class /TDAG/CPCL_CHARACT_VALUES_REP has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | CHARACT_REP_HTAB_TYPE | Protected | See coding | CHARACT_REP_HTAB_TYPE | 20071122 | |
|
| 2 | CHARACT_REP_WA_TYPE | Protected | See coding | CHARACT_REP_WA_TYPE | 20071122 | |
|
| 3 | VALUE_DESC_WA_TYPE | Protected | See coding | VALUE_DESC_WA_TYPE | 20071122 | |
Method Signatures
Method ADD_TO_REPOSITORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHAR | Call by reference | Type reference (TYPE) | ATNAM | The name of the characteristic | 20071122 | |||
| 2 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | The language of the description | 20071122 |
Method ADD_TO_REPOSITORY on class /TDAG/CPCL_CHARACT_VALUES_REP has no exception.
Method GET_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CODE | Call by reference | Type reference (TYPE) | ESEPHRCODE | Phrase Code | 20100128 | |||
| 2 | EV_FLG_VALID | Call by reference | Type reference (TYPE) | BOOLE_D | Indicator if this value is valid | 20100128 | |||
| 3 | IV_CHAR | Call by reference | Type reference (TYPE) | ATNAM | Characteristic Name | 20100128 | |||
| 4 | IV_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Language Key of Current Text Environment | 20100128 | ||
| 5 | IV_VALUE | Call by reference | Type reference (TYPE) | /TDAG/CPE_TEXT128 | Description (128 Characters) | 20100128 |
Method GET_CODE on class /TDAG/CPCL_CHARACT_VALUES_REP has no exception.
Method GET_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DESC | Call by reference | Type reference (TYPE) | /TDAG/CPE_TEXT132 | The description | 20071122 | |||
| 2 | E_FLG_LONG_TEXT | Call by reference | Type reference (TYPE) | /TDAG/CPE_FLG_LONGTEXT | Indicator if a long text exists | 20071122 | |||
| 3 | E_FLG_VALID | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Indicator if the value is valid | 20071122 | |||
| 4 | I_CHAR | Call by reference | Type reference (TYPE) | ATNAM | The name of the characteristic | 20071122 | |||
| 5 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | The language of the description | 20071122 | ||
| 6 | I_VALUE | Call by reference | Type reference (TYPE) | /TDAG/CPE_TEXT128 | The value for which the description should be read | 20071122 |
Method GET_DESCRIPTION on class /TDAG/CPCL_CHARACT_VALUES_REP has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_CHARACT_VALUES_REP | Value transfer | Object reference (TYPE REF TO) | /TDAG/CPCL_CHARACT_VALUES_REP | The instance of this class | 20071122 |
Method GET_INSTANCE on class /TDAG/CPCL_CHARACT_VALUES_REP has no exception.
Method GET_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_FLG_VALID | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Indicator if the value is valid | 20071122 | |||
| 2 | E_VALUE_INTERNAL | Call by reference | Type reference (TYPE) | /TDAG/CPE_TEXT128 | The internal value | 20071122 | |||
| 3 | I_CHAR | Call by reference | Type reference (TYPE) | ATNAM | The name of the characteristic | 20071122 | |||
| 4 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | The language of the description | 20071122 | ||
| 5 | I_VALUE | Call by reference | Type reference (TYPE) | /TDAG/CPE_TEXT128 | The value for which the description should be read | 20071122 |
Method GET_VALUE on class /TDAG/CPCL_CHARACT_VALUES_REP has no exception.
Method VALIDATE_CODE_MV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_VALUE_INTERNAL | Call by reference | Type reference (TYPE) | /TDAG/CPY_USE_MV | Table type for multiple use descriptors and phrases | 20101018 | |||
| 2 | E_FLG_OVERFLOW | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Indicator if the value contains overflow string | 20101020 | |||
| 3 | E_FLG_VALID | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Indicator if the value is valid | 20101018 | |||
| 4 | I_CHAR | Call by reference | Type reference (TYPE) | ATNAM | Name of the characteristic | 20101018 | |||
| 5 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | Language of the value in case it is the description | 20101018 | ||
| 6 | I_VALUE | Call by reference | Type reference (TYPE) | /TDAG/CPE_TEXT128 | Value to validate | 20101018 |
Method VALIDATE_CODE_MV on class /TDAG/CPCL_CHARACT_VALUES_REP has no exception.
Method VALIDATE_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_FLG_VALID | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Indicator if the value is valid | 20071122 | |||
| 2 | E_VALUE_INTERNAL | Call by reference | Type reference (TYPE) | /TDAG/CPE_TEXT128 | The internal value | 20071122 | |||
| 3 | I_CHAR | Call by reference | Type reference (TYPE) | ATNAM | The name of the characteristic | 20071122 | |||
| 4 | I_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | The language of the value in case it is the description | 20071122 | ||
| 5 | I_VALUE | Call by reference | Type reference (TYPE) | /TDAG/CPE_TEXT128 | The value to validate | 20071122 |
Method VALIDATE_VALUE on class /TDAG/CPCL_CHARACT_VALUES_REP has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 222_46C |