SAP ABAP Class CL_PS_HLP_CACHE_MANAGER (Class for PS Cache functions)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PS (Application Component) Project System
     PS_HLP_CACHE (Package) Handling Large Projects:-Cache
Properties
Class CL_PS_HLP_CACHE_MANAGER  
Short Description Class for PS Cache functions    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PS_HLP_CACHE   Handling Large Projects:-Cache 
Created 20071227   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_PS_HLP_CACHE_MANAGER has no interface implemented.
Friends
Class CL_PS_HLP_CACHE_MANAGER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_CACHE_MGR Static Attribute Public Object reference (TYPE REF TO) CL_PS_HLP_CACHE_MANAGER Class for PS Cache functions 20071227
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_CACHE_DATA Instance method Private Method Builds data that needs to be cached from the given objnr 20080410
2 CHECK_BADI_IMPLEMENTED Instance method Private Method checks if all Cache Update BAdi's have been implemented 20080429
3 CREATE_XML Instance method Private Method Creates XML string from given datasets structure 20080401
4 DELETE_DATA_FRM_CACHE Instance method Public Method Deletes data from cache 20080319
5 FETCH_DATA_FRM_CACHE Instance method Public Method Returns cached object data if exists 20080521
6 GET_CACHE_OVIEW Instance method Public Method Gets the current cache overview 20071227
7 GET_HIERARCHY Instance method Public Method Reads Hierarchy info from cache 20080107
8 GET_INSTANCE Static method Public Method Returns singleton instance 20071227
9 LOAD_DATA Instance method Public Method Load data to shm area 20071227
10 LOAD_FRM_XML Instance method Public Method Loads datasets structure from given XML string 20080401
11 READ_MASS Instance method Private Method Reads multiple objects from DB 20090508
12 REPORT_CACHE_ERROR Instance method Public Method 20090508
13 SET_DATA_TO_CACHE Instance method Private Method Caches project data 20080318
14 UPDATE_DATA_TO_CACHE Instance method Public Method Update individual datasets 20080318
15 UPDATE_HIERARCHY Instance method Private Method Updates short-text/filter for changed objects in hierarchy 20080506
Events
Class CL_PS_HLP_CACHE_MANAGER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 ST_OBJECT Private See coding 20090508 BEGIN OF st_object, pspid TYPE ps_pspid, posid TYPE ps_posid, aufnr TYPE aufnr, aufpl TYPE co_aufpl, aplzl TYPE co_aplzl, END OF st_object
2 TT_OBJECT Private See coding 20090508 tt_object TYPE STANDARD TABLE OF st_object
3 T_AFAB Private See coding 20100604 t_afab TYPE STANDARD TABLE OF PSHLP_ACTY_REL_ST
4 T_AFKO Private See coding 20090508 t_afko TYPE STANDARD TABLE OF afko WITH KEY aufnr
5 T_AFVC Private See coding 20090508 t_afvc TYPE STANDARD TABLE OF afvc WITH KEY aufpl aplzl
6 T_AFVU Private See coding 20090508 t_afvu TYPE STANDARD TABLE OF afvu WITH KEY aufpl aplzl
7 T_AFVV Private See coding 20100531 t_afvv TYPE STANDARD TABLE OF afvv WITH KEY aufpl aplzl
8 T_AUFK Private See coding 20090508 t_aufk TYPE STANDARD TABLE OF aufk WITH KEY aufnr
9 T_PROJ Private See coding 20090508 t_proj TYPE STANDARD TABLE OF proj WITH KEY pspid
10 T_PRPS Private See coding 20090508 t_prps TYPE STANDARD TABLE OF prps WITH KEY posid
11 T_PRTE Private See coding 20100531 t_prte TYPE STANDARD TABLE OF prte WITH KEY POSNR
Method Signatures

Method BUILD_CACHE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_HIER_TAB Call by reference Type reference (TYPE) PSHLP_HIER_TAB_TYP Table type for PS hierarchy 20080416
2 Exporting ET_CACHE_DATA Call by reference Type reference (TYPE) PSHLP_CACHE_DB_TTY 20080410
3 Importing IV_EXPIRY_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20080410
4 Importing IV_IND_NTWK Call by reference Type reference (TYPE) AUFNR Order Number 20080410
5 Importing IV_PROJECT Call by reference Type reference (TYPE) PS_PSPID Project definition 20080410

Method BUILD_CACHE_DATA on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method CHECK_BADI_IMPLEMENTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SUCCESS Value transfer Type reference (TYPE) FLAG General Flag 20080429

Method CHECK_BADI_IMPLEMENTED on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method CREATE_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_XML Call by reference Type reference (TYPE) STRING 20080508
2 Importing I_DATASETS Call by reference Type reference (TYPE) PSHLP_CACHE_DS_ST Datasets stored in cache for each object 20080401

Method CREATE_XML on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method DELETE_DATA_FRM_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_NTWK Call by reference Type reference (TYPE) PSHLP_AUFNR_TTY Network Table Type 20080319
2 Importing IT_PROJ Call by reference Type reference (TYPE) PSHLP_PSPID_TTY Project Definition table type 20080319

Method DELETE_DATA_FRM_CACHE on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method FETCH_DATA_FRM_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_AFKO_DATA Call by reference Type reference (TYPE) AFKO Order header data PP orders 20080521
2 Exporting ES_AFVC_DATA Call by reference Type reference (TYPE) AFVC Operation within an order 20080521
3 Exporting ES_AFVU_DATA Call by reference Type reference (TYPE) AFVU DB structure of the user fields of the operation 20080521
4 Exporting ES_AFVV_DATA Call by reference Type reference (TYPE) AFVV DB structure of the quantities/dates/values in the operation 20100601
5 Exporting ES_AUFK_DATA Call by reference Type reference (TYPE) AUFK Order master data 20080521
6 Exporting ES_PROJ_DATA Call by reference Type reference (TYPE) PROJ Project definition 20080521
7 Exporting ES_PRPS_DATA Call by reference Type reference (TYPE) PRPS WBS (Work Breakdown Structure) Element Master Data 20080521
8 Exporting ES_PRTE_DATA Call by reference Type reference (TYPE) PRTE Scheduling Data for Project Item 20100601
9 Exporting ES_REL_DATA Call by reference Type reference (TYPE) PSHLP_ACTY_REL_ST Activity Relationship API Output Structure 20100604
10 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20080521

Method FETCH_DATA_FRM_CACHE on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method GET_CACHE_OVIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CACHE_OVIEW_TAB Call by reference Type reference (TYPE) PSHLP_CACHE_OVERVIEW_TTY Table type to store PS Cache Information 20080108

Method GET_CACHE_OVIEW on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method GET_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_HIERARCHY_TAB Call by reference Type reference (TYPE) PSHLP_HIER_TAB_TYP Table type for PS hierarchy 20080107
2 Importing I_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20080107

Method GET_HIERARCHY on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ER_INSTANCE Value transfer Object reference (TYPE REF TO) CL_PS_HLP_CACHE_MANAGER Class for PS Cache functions 20071227

Method GET_INSTANCE on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method LOAD_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_OBJNR Call by reference Type reference (TYPE) PSHLP_CACHE_OBJNR_TTY PS HLP OBJNR table type 20080114
2 Importing IV_EXPIRY_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20080114

Method LOAD_DATA on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method LOAD_FRM_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA Call by reference Type reference (TYPE) PSHLP_CACHE_DS_ST Datasets stored in cache for each object 20080401
2 Importing I_ST_NAME Call by reference Type reference (TYPE) IONR-OBART 20080401
3 Importing I_XML Call by reference Type reference (TYPE) STRING 20080401

Method LOAD_FRM_XML on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method READ_MASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_AFAB Call by reference Type reference (TYPE) PSHLP_ACTY_REL_TT Activity Relationship API Output table 20100601
2 Exporting EX_AFKO Call by reference Type reference (TYPE) T_AFKO 20090508
3 Exporting EX_AFVC Call by reference Type reference (TYPE) T_AFVC 20090508
4 Exporting EX_AFVU Call by reference Type reference (TYPE) T_AFVU 20090508
5 Exporting EX_AFVV Call by reference Type reference (TYPE) T_AFVV 20100531
6 Exporting EX_AUFK Call by reference Type reference (TYPE) T_AUFK 20090508
7 Exporting EX_PROJ Call by reference Type reference (TYPE) T_PROJ 20090508
8 Exporting EX_PRPS Call by reference Type reference (TYPE) T_PRPS 20090508
9 Exporting EX_PRTE Call by reference Type reference (TYPE) T_PRTE 20100531
10 Importing IT_OBJECTS Call by reference Type reference (TYPE) TT_OBJECT 20090508
11 Importing IV_OBJ_TYPE Call by reference Type reference (TYPE) J_OBART 20090508

Method READ_MASS on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method REPORT_CACHE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AUFNR Call by reference Type reference (TYPE) AUFNR 20090508
2 Importing I_DESCR Call by reference Type reference (TYPE) PS_POST1 20090508
3 Importing I_MSGNO Call by reference Type reference (TYPE) SY-MSGNO 20090508
4 Importing I_MSGTYP Call by reference Type reference (TYPE) SYMSGTY 'E' 20090508
5 Importing I_MSGV1 Call by reference Type reference (TYPE) SYMSGV 20090508
6 Importing I_MSGV2 Call by reference Type reference (TYPE) SYMSGV 20090508
7 Importing I_MSGV3 Call by reference Type reference (TYPE) SYMSGV 20090508
8 Importing I_MSGV4 Call by reference Type reference (TYPE) SYMSGV 20090508
9 Importing I_PSPID Call by reference Type reference (TYPE) PS_PSPID 20090508
10 Importing I_WBS Call by reference Type reference (TYPE) PS_POSID 20090508

Method REPORT_CACHE_ERROR on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method SET_DATA_TO_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_OBJNR Call by reference Type reference (TYPE) PSHLP_CACHE_OBJNR_TTY PS HLP OBJNR table type 20080318
2 Importing IV_EXPIRY_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20080318

Method SET_DATA_TO_CACHE on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method UPDATE_DATA_TO_CACHE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NETWORK Call by reference Type reference (TYPE) AUFNR Order Number 20080416
2 Importing IV_PROJECT Call by reference Type reference (TYPE) PS_PSPID Project definition 20080416

Method UPDATE_DATA_TO_CACHE on class CL_PS_HLP_CACHE_MANAGER has no exception.

Method UPDATE_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NEW_DATA Call by reference Type reference (TYPE) PSHLP_CACHE_DS_ST Datasets stored in cache for each object 20080506
2 Importing IV_NETWORK Call by reference Type reference (TYPE) AUFNR Order Number 20080506
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20080506
4 Importing IV_PROJECT Call by reference Type reference (TYPE) PS_PSPID Project definition 20080506

Method UPDATE_HIERARCHY on class CL_PS_HLP_CACHE_MANAGER has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 604