SAP ABAP Class CL_THTMLB_SVH_SINGLETON (Class hold the internal table of modified inputfield entries)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-WUI-UI-TAG (Application Component) Tag Library
     BSP_DYN_CONFIG_TAG_LIB (Package) New tag library for CRM IC
Properties
Class CL_THTMLB_SVH_SINGLETON  
Short Description Class hold the internal table of modified inputfield entries    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package BSP_DYN_CONFIG_TAG_LIB   New tag library for CRM IC 
Created 20080218   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_THTMLB_SVH_SINGLETON has no interface implemented.
Friends
Class CL_THTMLB_SVH_SINGLETON has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_MAX_ENTRIES Constant Private Type reference (TYPE) I 25 Maximum number of entries in the buffer before saving in DB 20080305
2 GT_MODIFIED_INPUT_VALUES Static Attribute Private Type reference (TYPE) CRMT_SVH_MODIFIED_INPUTFIELDS Table contains the name and the value of the inputfields 20080221
3 GT_SVH_LAST_ENTRIES Static Attribute Private Type reference (TYPE) CRMT_SVH_LAST_ENTRIES Interanal Table containing the SVH last five values 20080327
4 GV_COUNTER Instance attribute Private Type reference (TYPE) I 0 Current number of last entries in the buffer 20080408
5 REF_SINGLE Static Attribute Private Object reference (TYPE REF TO) CL_THTMLB_SVH_SINGLETON Class hold the internal of modified inputfield names 20080218
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MODIFIED_INPUTFIELD Instance method Public Method Add the id and value of the inputfield that was modified 20080218
2 CLASS_CONSTRUCTOR Static method Public Constructor 20080307
3 DELETE_LAST_ENTRIES Instance method Public Method Delete last entries for a user in memory and DB 20080307
4 EH_SESSION_EXIT Instance method Public Event handling method Event handler on session exit 20080304
5 EH_SVH_ROUNDTRIP Instance method Public Method Calls on every roundtrip to update the SVH buffer 20080515
6 FILTER_LAST_VALUES Instance method Public Method Filter the last five values according to the user input 20080304
7 GET_HASH_VALUE Static method Public Method Return the hash value given the inputfield id 20080303
8 GET_INSTANCE Static method Public Method Returns an instance of the singleton class 20080218
9 GET_LAST_VALUES Instance method Public Method Return the last five values for a Inputfield 20080304
10 SAVE_LAST_VALUES Instance method Public Method Save the last entrie in the DB 20080304
11 SET_HANDLERS Instance method Public Method Activate the event handlers 20080306
12 UPDATE_LAST_VALUES Instance method Public Method Update last entries for the F4 input field in the buffer 20080304
Events
Class CL_THTMLB_SVH_SINGLETON has no event.
Types
Class CL_THTMLB_SVH_SINGLETON has no local type.
Method Signatures

Method ADD_MODIFIED_INPUTFIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENTERED_VALUE Call by reference Type reference (TYPE) STRING 20080219
2 Importing IV_ID Call by reference Type reference (TYPE) STRING 20080218

Method ADD_MODIFIED_INPUTFIELD on class CL_THTMLB_SVH_SINGLETON has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_THTMLB_SVH_SINGLETON has no parameter.
Method CLASS_CONSTRUCTOR on class CL_THTMLB_SVH_SINGLETON has no exception.

Method DELETE_LAST_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_USERNAME Call by reference Type reference (TYPE) UNAME User Name 20080523
2 Returning RV_MESSAGE Value transfer Type reference (TYPE) STRING 20080523

Method DELETE_LAST_ENTRIES on class CL_THTMLB_SVH_SINGLETON has no exception.

Method EH_SESSION_EXIT Signature

Method EH_SESSION_EXIT on class CL_THTMLB_SVH_SINGLETON has no parameter.
Method EH_SESSION_EXIT on class CL_THTMLB_SVH_SINGLETON has no exception.

Method EH_SVH_ROUNDTRIP Signature

Method EH_SVH_ROUNDTRIP on class CL_THTMLB_SVH_SINGLETON has no parameter.
Method EH_SVH_ROUNDTRIP on class CL_THTMLB_SVH_SINGLETON has no exception.

Method FILTER_LAST_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_STYLES Call by reference Type reference (TYPE) STRING 20080304
2 Exporting EV_VALUES Call by reference Type reference (TYPE) STRING 20080304
3 Importing IV_ENTERED_VALUE Call by reference Type reference (TYPE) STRING 20080304
4 Importing IV_UNIQUE_ID Call by reference Type reference (TYPE) STRING 20080304

Method FILTER_LAST_VALUES on class CL_THTMLB_SVH_SINGLETON has no exception.

Method GET_HASH_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_INPUTFIELD_ID Call by reference Type reference (TYPE) STRING Inputfield F4 id 20080303
2 Returning RV_HASH_VALUE Value transfer Type reference (TYPE) HASH160X Hash Value (160 Bits) 20080303

Method GET_HASH_VALUE on class CL_THTMLB_SVH_SINGLETON has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_REF_SINGLE Value transfer Object reference (TYPE REF TO) CL_THTMLB_SVH_SINGLETON Class hold the internal of modified inputfield names 20080218

Method GET_INSTANCE on class CL_THTMLB_SVH_SINGLETON has no exception.

Method GET_LAST_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VALUES Call by reference Type reference (TYPE) STRING Interanal Table containing the SVH last five values 20080304
2 Importing IV_TYPE Call by reference Type reference (TYPE) I Type of ev_values 20080304
3 Importing IV_UNIQUE_ID Call by reference Type reference (TYPE) STRING F4 inputfield unique id 20080304

Method GET_LAST_VALUES on class CL_THTMLB_SVH_SINGLETON has no exception.

Method SAVE_LAST_VALUES Signature

Method SAVE_LAST_VALUES on class CL_THTMLB_SVH_SINGLETON has no parameter.
Method SAVE_LAST_VALUES on class CL_THTMLB_SVH_SINGLETON has no exception.

Method SET_HANDLERS Signature

Method SET_HANDLERS on class CL_THTMLB_SVH_SINGLETON has no parameter.
Method SET_HANDLERS on class CL_THTMLB_SVH_SINGLETON has no exception.

Method UPDATE_LAST_VALUES Signature

Method UPDATE_LAST_VALUES on class CL_THTMLB_SVH_SINGLETON has no parameter.
Method UPDATE_LAST_VALUES on class CL_THTMLB_SVH_SINGLETON has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 701