SAP ABAP Class /TDAG/CPCL_CONTEXT_MEMORY (CP: Shared memory object for context information)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷
EHS (Application Component) Environment, Health and Safety
⤷
/TDAG/CP (Package) Compliance for products
⤷
⤷
Properties
| Class | /TDAG/CPCL_CONTEXT_MEMORY | |
| Short Description | CP: Shared memory object for context information | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /TDAG/CP | Compliance for products |
| Created | 20071017 | SAP |
| Last change | 20141109 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /TDAG/CPCL_CONTEXT_MEMORY has no interface implemented.
Friends
Class /TDAG/CPCL_CONTEXT_MEMORY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Protected | Object reference (TYPE REF TO) | /TDAG/CPCL_CONTEXT_MEMORY | The only instance of this class | 20071017 | |||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | /TDAG/CPCL_PROD_STRU_VIEW_CTRL | The last product structure view controller | 20071110 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | DEFAULTS_HTAB_TYPE | Table of current defaults | 20071116 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | SCEN_NORM_HTAB_TYPE | Normalization for each scenario | 20071019 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPE_NORMVAR | The currently active normalization | 20071017 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPE_SCENARIOID | The currently active scenario | 20071017 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | I | Counter of active normalizations | 20071019 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPE_NORMVAR | The previously active normalization | 20071017 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPE_SCENARIOID | The previously active scenario | 20071017 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Returns the current normalization of a specific scenario | 20071019 | |
| 2 | Instance method | Public | Method | Returns the current normalization | 20071019 | |
| 3 | Instance method | Public | Method | Returns the current scenario | 20071017 | |
| 4 | Instance method | Public | Method | Returns a default value | 20071116 | |
| 5 | Static method | Public | Method | Returns an instance of this class | 20071017 | |
| 6 | Instance method | Public | Method | Returns the previous normalization of a specific scenario | 20071019 | |
| 7 | Instance method | Public | Method | Returns the previous normalization | 20071019 | |
| 8 | Instance method | Public | Method | Returns the previous scenario | 20071017 | |
| 9 | Instance method | Public | Method | Returns the last product structure view contoller | 20071110 | |
| 10 | Instance method | Public | Method | Initializes the instance (resets the internal memory) | 20071017 | |
| 11 | Instance method | Public | Method | Returns indicator whether a norm. is active in a scenario | 20071019 | |
| 12 | Instance method | Public | Method | Returns indicator whether a norm. is active in any scenario | 20071019 | |
| 13 | Instance method | Public | Method | Sets a default value | 20071116 | |
| 14 | Instance method | Public | Method | Sets the current normalization | 20071017 | |
| 15 | Instance method | Public | Method | Sets the current product structure view contoller | 20071110 | |
| 16 | Instance method | Public | Method | Sets the current scenario | 20071017 |
Events
Class /TDAG/CPCL_CONTEXT_MEMORY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | DEFAULTS_HTAB_TYPE | Protected | See coding | DEFAULTS_HTAB_TYPE | 20071116 | |
|
| 2 | DEFAULTS_WA_TYPE | Protected | See coding | DEFAULTS_WA_TYPE | 20071116 | |
|
| 3 | SCEN_NORM_HTAB_TYPE | Protected | See coding | SCEN_NORM_HTAB_TYPE | 20071116 | |
|
| 4 | SCEN_NORM_WA_TYPE | Protected | See coding | SCEN_NORM_WA_TYPE | 20071116 | |
Method Signatures
Method GET_CUR_NORM_FOR_SCEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCENARIO | Call by reference | Type reference (TYPE) | /TDAG/CPE_SCENARIOID | Scenario for which the normalization should be read | 20071019 | |||
| 2 | R_NORMALIZATION | Value transfer | Type reference (TYPE) | /TDAG/CPE_NORMVAR | The currently active normalization | 20071019 |
Method GET_CUR_NORM_FOR_SCEN on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method GET_CUR_NORM_GLOBALLY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_NORMALIZATION | Value transfer | Type reference (TYPE) | /TDAG/CPE_NORMVAR | The currently active normalization | 20071019 |
Method GET_CUR_NORM_GLOBALLY on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method GET_CUR_SCENARIO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_SCENARIO | Value transfer | Type reference (TYPE) | /TDAG/CPE_SCENARIOID | The currently active scenario | 20071017 |
Method GET_CUR_SCENARIO on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method GET_DEFAULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_FLG_FOUND | Call by reference | Type reference (TYPE) | ESP1_BOOLEAN | Indicator if the default value was found | 20071116 | |||
| 2 | E_VALUE | Call by reference | Type reference (TYPE) | I | The default value | 20071116 | |||
| 3 | I_KEY | Call by reference | Type reference (TYPE) | /TDAG/CPE_DEFAULTS_KEY | The key for the default value | 20071116 |
Method GET_DEFAULT on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_CONTEXT_MEMORY | Value transfer | Object reference (TYPE REF TO) | /TDAG/CPCL_CONTEXT_MEMORY | The instance of this class | 20071017 |
Method GET_INSTANCE on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method GET_PREV_NORM_FOR_SCEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCENARIO | Call by reference | Type reference (TYPE) | /TDAG/CPE_SCENARIOID | Scenario for which the normalization should be read | 20071019 | |||
| 2 | R_NORMALIZATION | Value transfer | Type reference (TYPE) | /TDAG/CPE_NORMVAR | The previously active normalization | 20071019 |
Method GET_PREV_NORM_FOR_SCEN on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method GET_PREV_NORM_GLOBALLY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_NORMALIZATION | Value transfer | Type reference (TYPE) | /TDAG/CPE_NORMVAR | The previously active normalization | 20071019 |
Method GET_PREV_NORM_GLOBALLY on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method GET_PREV_SCENARIO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_SCENARIO | Value transfer | Type reference (TYPE) | /TDAG/CPE_SCENARIOID | The previously active scenario | 20071017 |
Method GET_PREV_SCENARIO on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method GET_PROD_STRU_CTRL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_PROD_STRU_VIEW_CTRL | Value transfer | Object reference (TYPE REF TO) | /TDAG/CPCL_PROD_STRU_VIEW_CTRL | The product structure view controller | 20071110 |
Method GET_PROD_STRU_CTRL on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method INIT Signature
Method INIT on class /TDAG/CPCL_CONTEXT_MEMORY has no parameter.
Method INIT on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method NORM_IS_ACTIVE_FOR_SCEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCENARIO | Call by reference | Type reference (TYPE) | /TDAG/CPE_SCENARIOID | Scenario for which the normalization should be checked | 20071019 | |||
| 2 | R_FLG_NORM_IS_ACTIVE | Value transfer | Type reference (TYPE) | ESP1_BOOLEAN | Indicator whether a norm. is active in any scenario | 20071019 |
Method NORM_IS_ACTIVE_FOR_SCEN on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method NORM_IS_ACTIVE_GLOBALLY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_FLG_NORM_IS_ACTIVE | Value transfer | Type reference (TYPE) | ESP1_BOOLEAN | Indicator whether a norm. is active in any scenario | 20071019 |
Method NORM_IS_ACTIVE_GLOBALLY on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method SET_DEFAULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_KEY | Call by reference | Type reference (TYPE) | /TDAG/CPE_DEFAULTS_KEY | The key for the default value | 20071116 | |||
| 2 | I_VALUE | Call by reference | Type reference (TYPE) | I | The default value | 20071116 |
Method SET_DEFAULT on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method SET_NORMALIZATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NORMALIZATION | Call by reference | Type reference (TYPE) | /TDAG/CPE_NORMVAR | The new active normalization | 20071017 | |||
| 2 | I_SCENARIO | Call by reference | Type reference (TYPE) | /TDAG/CPE_SCENARIOID | Scenario for which the normalization should be set | 20071019 |
Method SET_NORMALIZATION on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method SET_PROD_STRU_CTRL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_PROD_STRU_VIEW_CTRL | Value transfer | Object reference (TYPE REF TO) | /TDAG/CPCL_PROD_STRU_VIEW_CTRL | The product structure view controller | 20071110 |
Method SET_PROD_STRU_CTRL on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
Method SET_SCENARIO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SCENARIO | Call by reference | Type reference (TYPE) | /TDAG/CPE_SCENARIOID | The new active scenario | 20071017 |
Method SET_SCENARIO on class /TDAG/CPCL_CONTEXT_MEMORY has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 222_46C |