SAP ABAP Class /TDAG/CPCL_COMP_PROC_TRACK (Component Processing Tracker)
Hierarchy
TDAGBCA (Software Component) TechniData Basic Components
   EHS (Application Component) Environment, Health and Safety
     /TDAG/CP (Package) Compliance for products
Properties
Class /TDAG/CPCL_COMP_PROC_TRACK  
Short Description Component Processing Tracker    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /TDAG/CP   Compliance for products 
Created 20120710   SAP 
Last change 20141109    
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 ESPAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /TDAG/CPCL_COMP_PROC_TRACK has no interface implemented.
Friends
Class /TDAG/CPCL_COMP_PROC_TRACK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_TRACKING_CHECKS Instance attribute Private Type reference (TYPE) TS_TRACKING_RECORD List of checked components 20120710
2 MT_TRACKING_CHECKS_DEL Instance attribute Private Type reference (TYPE) TS_TRACKING_RECORD Entries to delete 20120719
3 MT_TRACKING_CHECKS_INS Instance attribute Private Type reference (TYPE) TS_TRACKING_REF Entries to insert 20120731
4 MT_TRACKING_CHECKS_UPD Instance attribute Private Type reference (TYPE) TS_TRACKING_REF Entries to update 20120730
5 M_HIT_COUNT_CHK Instance attribute Private Type reference (TYPE) I #hits on check tracking table 20120716
6 M_INSTANCE Static Attribute Private Object reference (TYPE REF TO) /TDAG/CPCL_COMP_PROC_TRACK Singleton Instance 20120710
7 M_REQ_COUNT_CHK Instance attribute Private Type reference (TYPE) I #request to checks tracking table 20120716
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CHECKRESULT Static method Public Method Records another check result 20120710
2 CHECK_CONSISTENCY Instance method Private Method Launches WList determination invalidating check results 20120710
3 CLEAR_CHECKRESULTS Static method Public Method Clears the tracking list and calls save_checkresults 20120710
4 CLEAR_INSTANCE Static method Public Method Returns the singleton instance, resetting tracking table 20140109
5 CONSTRUCTOR Instance method Private Constructor Instanciates and initializes singleton instance 20120710
6 DELETE_CHECKRESULTS Instance method Private Method Resets the tracking of check results 20120710
7 DELETE_CHECKRESULT_BY_COMP Instance method Private Method Deletes all tracking entries for a specific component 20120710
8 DROP_INSTANCE Static method Public Method Kills singleton instance and deactivates tracking 20120710
9 FILTER_KNOWN_COMPONENTS Static method Public Method Removes all recns from the list, which are in tracking table 20120824
10 GET_INSTANCE Static method Public Method Returns the singleton instance and activates tracking 20120710
11 IS_CHECKRESULT_AVAILABLE Static method Public Method Returns true, if active tracking has a matching check result 20120710
12 IS_COMPONENT_KNOWN Instance method Private Method Check independent lookup of a component in tracking list 20120824
13 IS_TRACKING_ACTIVE Static method Private Method Returns true, if tracking has been activated 20120710
14 LOOKUP_CHECKRESULT Instance method Private Method Returns the matching check result from tracking list 20120710
15 READ_CHECKRESULTS_FROM_DB Instance method Private Method Initializes tracking table from latest save status 20120710
16 REMOVE_CHECKRESULT Static method Public Method Removes the tracking entries for a specific component 20120710
17 SAVE_CHECKRESULTS Static method Public Method Saves current tracking list to DB and COMMITs 20120710
18 TRACK_CHECKRESULT Instance method Private Method Updates or adds a new check result to tracking list 20120710
19 WRITE_CHECKRESULTS_TO_DB Instance method Private Method Writes Tracking table to Database 20120710
Events
Class /TDAG/CPCL_COMP_PROC_TRACK has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_TRACKING_CHECKS Private See coding Sorted table of tracking records 20121029 TS_TRACKING_CHECKS TYPE SORTED TABLE OF /tdag/cps_comp_track_chk WITH NON-UNIQUE KEY recn
2 TS_TRACKING_RECORD Private See coding 20140103 TS_TRACKING_RECORD TYPE SORTED TABLE OF /tdag/cps_comp_track_chk WITH UNIQUE KEY recn normvar regcheck
3 TS_TRACKING_REF Private See coding 20140103 TS_TRACKING_REF TYPE SORTED TABLE OF REF TO /tdag/cps_comp_track_chk WITH UNIQUE KEY TABLE_LINE
Method Signatures

Method ADD_CHECKRESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECK Call by reference Type reference (TYPE) /TDAG/CPE_CHECK ID of Compliance Check 20120710
2 Importing I_NORMVAR Call by reference Type reference (TYPE) /TDAG/CPE_NORMVAR ID of Applied Normalization 20120710
3 Importing I_RECN Call by reference Type reference (TYPE) ESERECN Component's Technical ID 20120710

Method ADD_CHECKRESULT on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method CHECK_CONSISTENCY Signature

Method CHECK_CONSISTENCY on class /TDAG/CPCL_COMP_PROC_TRACK has no parameter.
Method CHECK_CONSISTENCY on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method CLEAR_CHECKRESULTS Signature

Method CLEAR_CHECKRESULTS on class /TDAG/CPCL_COMP_PROC_TRACK has no parameter.
Method CLEAR_CHECKRESULTS on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method CLEAR_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_INSTANCE Value transfer Object reference (TYPE REF TO) /TDAG/CPCL_COMP_PROC_TRACK Initial Singleton Instance 20140109

Method CLEAR_INSTANCE on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class /TDAG/CPCL_COMP_PROC_TRACK has no parameter.
Method CONSTRUCTOR on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method DELETE_CHECKRESULTS Signature

Method DELETE_CHECKRESULTS on class /TDAG/CPCL_COMP_PROC_TRACK has no parameter.
Method DELETE_CHECKRESULTS on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method DELETE_CHECKRESULT_BY_COMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_RECN Call by reference Type reference (TYPE) ESERECN Component's Technical ID 20120710

Method DELETE_CHECKRESULT_BY_COMP on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method DROP_INSTANCE Signature

Method DROP_INSTANCE on class /TDAG/CPCL_COMP_PROC_TRACK has no parameter.
Method DROP_INSTANCE on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method FILTER_KNOWN_COMPONENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing XT_RECN Call by reference Type reference (TYPE) /TDAG/CPYH_RECN List of components to process 20120824

Method FILTER_KNOWN_COMPONENTS on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_INSTANCE Value transfer Object reference (TYPE REF TO) /TDAG/CPCL_COMP_PROC_TRACK Singleton instance 20120710

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

Method IS_CHECKRESULT_AVAILABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_CHKRES_EXISTS Value transfer Type reference (TYPE) BOOLEAN Tracked Check Result Exists 20120710
2 Importing I_CHECK Call by reference Type reference (TYPE) /TDAG/CPE_CHECK ID of Compliance Check 20120710
3 Importing I_NORMVAR Call by reference Type reference (TYPE) /TDAG/CPE_NORMVAR ID of Applied Normalization 20120710
4 Importing I_RECN Call by reference Type reference (TYPE) ESERECN Component's Technical ID 20120710

Method IS_CHECKRESULT_AVAILABLE on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method IS_COMPONENT_KNOWN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_KNOWN Value transfer Type reference (TYPE) ESP1_BOOLEAN Component is in Tracking List 20120824
2 Importing I_RECN Call by reference Type reference (TYPE) ESERECN Component 20120824

Method IS_COMPONENT_KNOWN on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method IS_TRACKING_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_ACTIVE Value transfer Type reference (TYPE) BOOLEAN Tracking is currently active 20120710

Method IS_TRACKING_ACTIVE on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method LOOKUP_CHECKRESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EO_CHECKRESULT Value transfer Object reference (TYPE REF TO) /TDAG/CPS_COMP_TRACK_CHK Matching Tracking Entry 20120710
2 Importing I_CHECK Call by reference Type reference (TYPE) /TDAG/CPE_CHECK ID of Compliance Check 20120710
3 Importing I_NORMVAR Call by reference Type reference (TYPE) /TDAG/CPE_NORMVAR ID of Applied Normalization 20120710
4 Importing I_RECN Call by reference Type reference (TYPE) ESERECN Component's Technical ID 20120710

Method LOOKUP_CHECKRESULT on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method READ_CHECKRESULTS_FROM_DB Signature

Method READ_CHECKRESULTS_FROM_DB on class /TDAG/CPCL_COMP_PROC_TRACK has no parameter.
Method READ_CHECKRESULTS_FROM_DB on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method REMOVE_CHECKRESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_RECN Call by reference Type reference (TYPE) ESERECN Component's Technical ID 20120710

Method REMOVE_CHECKRESULT on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method SAVE_CHECKRESULTS Signature

Method SAVE_CHECKRESULTS on class /TDAG/CPCL_COMP_PROC_TRACK has no parameter.
Method SAVE_CHECKRESULTS on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method TRACK_CHECKRESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECK Call by reference Type reference (TYPE) /TDAG/CPE_CHECK ID of Compliance Check 20120710
2 Importing I_NORMVAR Call by reference Type reference (TYPE) /TDAG/CPE_NORMVAR ID of Applied Normalization 20120710
3 Importing I_RECN Call by reference Type reference (TYPE) ESERECN Component's Technical ID 20120710

Method TRACK_CHECKRESULT on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.

Method WRITE_CHECKRESULTS_TO_DB Signature

Method WRITE_CHECKRESULTS_TO_DB on class /TDAG/CPCL_COMP_PROC_TRACK has no parameter.
Method WRITE_CHECKRESULTS_TO_DB on class /TDAG/CPCL_COMP_PROC_TRACK has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 110_600