SAP ABAP Class /TDAG/CPCL_DEFAULTS_MANAGER (CP: Manages global and user specific defaults)
Hierarchy
TDAGBCA (Software Component) TechniData Basic Components
   EHS (Application Component) Environment, Health and Safety
     /TDAG/CP_OF (Package) CP: Overall functions and features
Properties
Class /TDAG/CPCL_DEFAULTS_MANAGER  
Short Description CP: Manages global and user specific defaults    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /TDAG/CP_OF   CP: Overall functions and features 
Created 20071103   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)
Interfaces
Class /TDAG/CPCL_DEFAULTS_MANAGER has no interface implemented.
Friends
Class /TDAG/CPCL_DEFAULTS_MANAGER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_AREA Constant Private Type reference (TYPE) CHAR2 'CP' The area in the cluster table that contains the defaults 20071105
2 MO_DEFAULTS_MANAGER Static Attribute Protected Object reference (TYPE REF TO) /TDAG/CPCL_DEFAULTS_MANAGER The only instance of this class 20071103
Methods
# Method Level Visibility Method type Description Created on
1 DELETE_KEY Instance method Public Method Deletes a key from the defaults database 20071105
2 GET_INSTANCE Static method Public Method Returns an instance of this class 20071103
3 READ_DEFAULTS Instance method Public Method Retrieves default values 20071103
4 STORE_DEFAULTS Instance method Public Method Stores default values 20071103
5 SYNCHRONIZE Instance method Public Method Saves all changes permanently in the database 20071105
Events
Class /TDAG/CPCL_DEFAULTS_MANAGER has no event.
Types
Class /TDAG/CPCL_DEFAULTS_MANAGER has no local type.
Method Signatures

Method DELETE_KEY 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 that should be deleted 20071105
2 Importing I_USER Call by reference Type reference (TYPE) SYUNAME User whose data should be changed, empty means global data 20071105

Method DELETE_KEY on class /TDAG/CPCL_DEFAULTS_MANAGER has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_DEFAULTS_MANAGER Value transfer Object reference (TYPE REF TO) /TDAG/CPCL_DEFAULTS_MANAGER The instance of this class 20071103

Method GET_INSTANCE on class /TDAG/CPCL_DEFAULTS_MANAGER has no exception.

Method READ_DEFAULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FLG_KEY_FOUND Call by reference Type reference (TYPE) ESP1_BOOLEAN Indicator whether or not the key has been found 20071107
2 Exporting E_VALUE Call by reference Type reference (TYPE) ANY The read data 20071103
3 Importing I_KEY Call by reference Type reference (TYPE) /TDAG/CPE_DEFAULTS_KEY The key for which the data should be read 20071103
4 Importing I_USER Call by reference Type reference (TYPE) SYUNAME User whose data should be read, empty means global data 20071103
# Exception Resumable Description Created on
1 READ_FAILED The data could not be read due to an error. 20071103
2 TYPE_MISMATCH Provided exp. param. and read data have incompatible types. 20071103

Method STORE_DEFAULTS 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 under which the data should be stored 20071103
2 Importing I_USER Call by reference Type reference (TYPE) SYUNAME User whose data should be stored, empty means global data 20071103
3 Importing I_VALUE Call by reference Type reference (TYPE) ANY The data to store 20071103

Method STORE_DEFAULTS on class /TDAG/CPCL_DEFAULTS_MANAGER has no exception.

Method SYNCHRONIZE Signature

Method SYNCHRONIZE on class /TDAG/CPCL_DEFAULTS_MANAGER has no parameter.
Method SYNCHRONIZE on class /TDAG/CPCL_DEFAULTS_MANAGER has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 222_46C