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 ESP1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 T 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 MO_CONTEXT_MEMORY Static Attribute Protected Object reference (TYPE REF TO) /TDAG/CPCL_CONTEXT_MEMORY The only instance of this class 20071017
2 MO_PROD_STRU_VIEW_CTRL Instance attribute Protected Object reference (TYPE REF TO) /TDAG/CPCL_PROD_STRU_VIEW_CTRL The last product structure view controller 20071110
3 MTH_DEFAULTS Instance attribute Protected Type reference (TYPE) DEFAULTS_HTAB_TYPE Table of current defaults 20071116
4 MTH_SCEN_NORM Instance attribute Protected Type reference (TYPE) SCEN_NORM_HTAB_TYPE Normalization for each scenario 20071019
5 M_CUR_NORMALIZATION Instance attribute Protected Type reference (TYPE) /TDAG/CPE_NORMVAR The currently active normalization 20071017
6 M_CUR_SCENARIO Instance attribute Protected Type reference (TYPE) /TDAG/CPE_SCENARIOID The currently active scenario 20071017
7 M_NORM_COUNT Instance attribute Protected Type reference (TYPE) I Counter of active normalizations 20071019
8 M_PREV_NORMALIZATION Instance attribute Protected Type reference (TYPE) /TDAG/CPE_NORMVAR The previously active normalization 20071017
9 M_PREV_SCENARIO Instance attribute Protected Type reference (TYPE) /TDAG/CPE_SCENARIOID The previously active scenario 20071017
Methods
# Method Level Visibility Method type Description Created on
1 GET_CUR_NORM_FOR_SCEN Instance method Public Method Returns the current normalization of a specific scenario 20071019
2 GET_CUR_NORM_GLOBALLY Instance method Public Method Returns the current normalization 20071019
3 GET_CUR_SCENARIO Instance method Public Method Returns the current scenario 20071017
4 GET_DEFAULT Instance method Public Method Returns a default value 20071116
5 GET_INSTANCE Static method Public Method Returns an instance of this class 20071017
6 GET_PREV_NORM_FOR_SCEN Instance method Public Method Returns the previous normalization of a specific scenario 20071019
7 GET_PREV_NORM_GLOBALLY Instance method Public Method Returns the previous normalization 20071019
8 GET_PREV_SCENARIO Instance method Public Method Returns the previous scenario 20071017
9 GET_PROD_STRU_CTRL Instance method Public Method Returns the last product structure view contoller 20071110
10 INIT Instance method Public Method Initializes the instance (resets the internal memory) 20071017
11 NORM_IS_ACTIVE_FOR_SCEN Instance method Public Method Returns indicator whether a norm. is active in a scenario 20071019
12 NORM_IS_ACTIVE_GLOBALLY Instance method Public Method Returns indicator whether a norm. is active in any scenario 20071019
13 SET_DEFAULT Instance method Public Method Sets a default value 20071116
14 SET_NORMALIZATION Instance method Public Method Sets the current normalization 20071017
15 SET_PROD_STRU_CTRL Instance method Public Method Sets the current product structure view contoller 20071110
16 SET_SCENARIO 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 Importing I_SCENARIO Call by reference Type reference (TYPE) /TDAG/CPE_SCENARIOID Scenario for which the normalization should be read 20071019
2 Returning 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 Returning 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 Returning 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 Exporting E_FLG_FOUND Call by reference Type reference (TYPE) ESP1_BOOLEAN Indicator if the default value was found 20071116
2 Exporting E_VALUE Call by reference Type reference (TYPE) I The default value 20071116
3 Importing 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 Returning 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 Importing I_SCENARIO Call by reference Type reference (TYPE) /TDAG/CPE_SCENARIOID Scenario for which the normalization should be read 20071019
2 Returning 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 Returning 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 Returning 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 Returning 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 Importing I_SCENARIO Call by reference Type reference (TYPE) /TDAG/CPE_SCENARIOID Scenario for which the normalization should be checked 20071019
2 Returning 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 Returning 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 Importing I_KEY Call by reference Type reference (TYPE) /TDAG/CPE_DEFAULTS_KEY The key for the default value 20071116
2 Importing 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 Importing I_NORMALIZATION Call by reference Type reference (TYPE) /TDAG/CPE_NORMVAR The new active normalization 20071017
2 Importing 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 Importing 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 Importing 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