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 | 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 | 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 | Instance method | Private | Method | Builds data that needs to be cached from the given objnr | 20080410 | |
| 2 | Instance method | Private | Method | checks if all Cache Update BAdi's have been implemented | 20080429 | |
| 3 | Instance method | Private | Method | Creates XML string from given datasets structure | 20080401 | |
| 4 | Instance method | Public | Method | Deletes data from cache | 20080319 | |
| 5 | Instance method | Public | Method | Returns cached object data if exists | 20080521 | |
| 6 | Instance method | Public | Method | Gets the current cache overview | 20071227 | |
| 7 | Instance method | Public | Method | Reads Hierarchy info from cache | 20080107 | |
| 8 | Static method | Public | Method | Returns singleton instance | 20071227 | |
| 9 | Instance method | Public | Method | Load data to shm area | 20071227 | |
| 10 | Instance method | Public | Method | Loads datasets structure from given XML string | 20080401 | |
| 11 | Instance method | Private | Method | Reads multiple objects from DB | 20090508 | |
| 12 | Instance method | Public | Method | 20090508 | ||
| 13 | Instance method | Private | Method | Caches project data | 20080318 | |
| 14 | Instance method | Public | Method | Update individual datasets | 20080318 | |
| 15 | 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 | CT_HIER_TAB | Call by reference | Type reference (TYPE) | PSHLP_HIER_TAB_TYP | Table type for PS hierarchy | 20080416 | |||
| 2 | ET_CACHE_DATA | Call by reference | Type reference (TYPE) | PSHLP_CACHE_DB_TTY | 20080410 | ||||
| 3 | IV_EXPIRY_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20080410 | |||
| 4 | IV_IND_NTWK | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20080410 | |||
| 5 | 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 | 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 | E_XML | Call by reference | Type reference (TYPE) | STRING | 20080508 | ||||
| 2 | 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 | IT_NTWK | Call by reference | Type reference (TYPE) | PSHLP_AUFNR_TTY | Network Table Type | 20080319 | |||
| 2 | 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 | ES_AFKO_DATA | Call by reference | Type reference (TYPE) | AFKO | Order header data PP orders | 20080521 | |||
| 2 | ES_AFVC_DATA | Call by reference | Type reference (TYPE) | AFVC | Operation within an order | 20080521 | |||
| 3 | ES_AFVU_DATA | Call by reference | Type reference (TYPE) | AFVU | DB structure of the user fields of the operation | 20080521 | |||
| 4 | ES_AFVV_DATA | Call by reference | Type reference (TYPE) | AFVV | DB structure of the quantities/dates/values in the operation | 20100601 | |||
| 5 | ES_AUFK_DATA | Call by reference | Type reference (TYPE) | AUFK | Order master data | 20080521 | |||
| 6 | ES_PROJ_DATA | Call by reference | Type reference (TYPE) | PROJ | Project definition | 20080521 | |||
| 7 | ES_PRPS_DATA | Call by reference | Type reference (TYPE) | PRPS | WBS (Work Breakdown Structure) Element Master Data | 20080521 | |||
| 8 | ES_PRTE_DATA | Call by reference | Type reference (TYPE) | PRTE | Scheduling Data for Project Item | 20100601 | |||
| 9 | ES_REL_DATA | Call by reference | Type reference (TYPE) | PSHLP_ACTY_REL_ST | Activity Relationship API Output Structure | 20100604 | |||
| 10 | 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 | 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 | E_HIERARCHY_TAB | Call by reference | Type reference (TYPE) | PSHLP_HIER_TAB_TYP | Table type for PS hierarchy | 20080107 | |||
| 2 | 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 | 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 | IT_OBJNR | Call by reference | Type reference (TYPE) | PSHLP_CACHE_OBJNR_TTY | PS HLP OBJNR table type | 20080114 | |||
| 2 | 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 | E_DATA | Call by reference | Type reference (TYPE) | PSHLP_CACHE_DS_ST | Datasets stored in cache for each object | 20080401 | |||
| 2 | I_ST_NAME | Call by reference | Type reference (TYPE) | IONR-OBART | 20080401 | ||||
| 3 | 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
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 | I_AUFNR | Call by reference | Type reference (TYPE) | AUFNR | 20090508 | ||||
| 2 | I_DESCR | Call by reference | Type reference (TYPE) | PS_POST1 | 20090508 | ||||
| 3 | I_MSGNO | Call by reference | Type reference (TYPE) | SY-MSGNO | 20090508 | ||||
| 4 | I_MSGTYP | Call by reference | Type reference (TYPE) | SYMSGTY | 'E' | 20090508 | |||
| 5 | I_MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | 20090508 | ||||
| 6 | I_MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | 20090508 | ||||
| 7 | I_MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | 20090508 | ||||
| 8 | I_MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | 20090508 | ||||
| 9 | I_PSPID | Call by reference | Type reference (TYPE) | PS_PSPID | 20090508 | ||||
| 10 | 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 | IT_OBJNR | Call by reference | Type reference (TYPE) | PSHLP_CACHE_OBJNR_TTY | PS HLP OBJNR table type | 20080318 | |||
| 2 | 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 | IV_NETWORK | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20080416 | |||
| 2 | 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 | IS_NEW_DATA | Call by reference | Type reference (TYPE) | PSHLP_CACHE_DS_ST | Datasets stored in cache for each object | 20080506 | |||
| 2 | IV_NETWORK | Call by reference | Type reference (TYPE) | AUFNR | Order Number | 20080506 | |||
| 3 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20080506 | |||
| 4 | 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 |