SAP ABAP Class CL_CGPL_ENTITY_PERSISTENCY (Project Planning - Persistence for CGPL Entities)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PPM-PRO (Application Component) Project Management
     CGPL_VERSIONS (Package) Project Planning - Extension for Versions
Properties
Class CL_CGPL_ENTITY_PERSISTENCY  
Short Description Project Planning - Persistence for CGPL Entities    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CGPL_VERSIONS   Project Planning - Extension for Versions 
Created 20030818   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CGPL_ENTITY_PERSISTENCY has no forward declaration.
Interfaces
Class CL_CGPL_ENTITY_PERSISTENCY has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_CGPL_COPY_LINK 20031015 Project Planning - Source/Target Object Link for Copy
2 CL_CGPL_ENTITIES 20030819 Project Planning - Collection of CGPL Entities
3 CL_CGPL_ENTITY 20030819 Project Planning - CGPL Entity
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ARCHIVE_HANDLE Instance attribute Public Type reference (TYPE) SYTABIX Archive Handle 20030828
2 MT_CGPL_COPY_LINK_BUFFER Instance attribute Private Type reference (TYPE) TT_CGPL_COPY_LINK Table Type for CGPL_TS_COPY_LINK 20031211
3 MT_CGPL_ENTITY_BUFFER Instance attribute Private Type reference (TYPE) TT_CGPL_ENTITY Table of Entities 20031211
4 MT_COPY_LINK Instance attribute Private Type reference (TYPE) TT_COPY_LINK_ITEM Loaded Links 20031015
5 MT_DELETED_COPY_LINK Instance attribute Private Type reference (TYPE) TT_COPY_LINK_REF Deleted Links 20031015
6 MT_DELETED_ENTITY Instance attribute Private Type reference (TYPE) TT_ENTITY Deleted Entities 20030819
7 MT_ENTITY Instance attribute Private Type reference (TYPE) TT_ENTITY_ITEM Loaded Entities (Unchanged, Changed, Created) 20030819
8 MT_ENTITY_ROOT Instance attribute Private Type reference (TYPE) TT_ENTITY_ITEM Entities (Root Nodes of Type CGPL_PROJECT) 20030820
9 MT_ENTITY_TIMESTAMP Instance attribute Private Type reference (TYPE) TT_ENTITY_TIMESTAMP Stored timestamps of entities 20080826
10 MT_ENTITY_TIMESTAMP_DB Instance attribute Private Type reference (TYPE) TT_ENTITY_TIMESTAMP Current timestamps of entities 20081009
11 MT_FETCH Instance attribute Private Type reference (TYPE) CGPL_OBJECT_IDS Table with Projects to Be Read 20030828
12 MT_INSERTED_COPY_LINK Instance attribute Private Type reference (TYPE) TT_COPY_LINK_REF Inserted Links 20031015
13 MT_INSERTED_ENTITY Instance attribute Private Type reference (TYPE) TT_ENTITY Created Entities 20030819
14 MT_UPDATED_COPY_LINK Instance attribute Private Type reference (TYPE) TT_COPY_LINK_REF Changed Links 20031015
15 MT_UPDATED_ENTITY Instance attribute Private Type reference (TYPE) TT_ENTITY Changed Entities 20030819
16 MV_APPLICATION Instance attribute Private Type reference (TYPE) CGPL_APPLICATION_TYPE Application in Project Planning 20030818
17 SS_PERSISTENCY_INSTANCE Static Attribute Private Type reference (TYPE) TS_PERSISTENCY_INSTANCE Persistence Instance 20040909
18 ST_PERSISTENCY_INSTANCE Static Attribute Private Type reference (TYPE) TT_PERSISTENCY_INSTANCE Persistence Instances 20030818
Methods
# Method Level Visibility Method type Description Created on
1 BUFFER_ARCHIVE_DATA Instance method Public Method Buffer Data from Archive 20031211
2 CHECK_CHANGES Instance method Public Method Determines Whether Changes Are Necessary for Entities 20030826
3 CHECK_TIMESTAMPS Instance method Public Method Compare temporarily stored timestamps with the DB 20080826
4 CLEAR_TIMESTAMP_DB Instance method Public Method Clear mt_entity_timestamp_db 20090827
5 CONSTRUCTOR Instance method Public Constructor Constructor 20030818
6 DETERMINE_NATIVE_OBJECT Instance method Private Method Define Native Object 20031106
7 FREE Instance method Public Method Destructor 20041117
8 FREE_TIMESTAMPS Instance method Public Method Clear buffered timestamps in mt_entity_timestamp 20090608
9 GET_INSTANCE Static method Public Method Gets Persistence Instance 20030818
10 GET_TIMESTAMP Instance method Public Method Get timestamp of entity 20090717
11 INITIALIZE Instance method Public Method Initialization of Change Flag 20030820
12 LOAD Instance method Public Method Load Entities 20030819
13 LOAD_DPR Instance method Public Method Load Entities for DPR 20081201
14 LOAD_TIMESTAMPS Instance method Public Method Get temporarily stored timestamps 20080826
15 NOTE_COPY_LINK_FOR_DELETE Instance method Public Method Designate Link for Database DELETE 20031015
16 NOTE_COPY_LINK_FOR_INSERT Instance method Public Method Mark Link for Database INSERT 20031015
17 NOTE_COPY_LINK_FOR_UPDATE Instance method Public Method Designate Link for Database UPDATE 20031015
18 NOTE_ENTITY_FOR_DELETE Instance method Public Method Mark Entity for Database DELETE 20030819
19 NOTE_ENTITY_FOR_INSERT Instance method Public Method Mark Entity for Database INSERT 20030819
20 NOTE_ENTITY_FOR_UPDATE Instance method Public Method Mark Entity for Database UPDATE 20030819
21 REMOVE Instance method Private Method Remove References to Hierarchy Nodes 20030827
22 REMOVE_COPY_LINK Instance method Private Method Remove Copy Link 20110722
23 SAVE Instance method Public Method Save 20030819
24 SAVE_COPY_LINKS Instance method Private Method Save Link from Source Object to Target Object in Copy 20031015
25 SAVE_TIMESTAMPS Instance method Public Method Fill mt_entity_timestamp with current timestamps 20080826
26 SET_TIMESTAMP Instance method Public Method Set timestamp of changed entity 20090717
27 UPDATE_TIMESTAMPS Instance method Public Method Update timestamps of reloaded CGPL objects 20080828
28 WRITE_CHANGE_DOCUMENTS Instance method Private Method Create Change Documents 20030819
Events
Class CL_CGPL_ENTITY_PERSISTENCY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_COPY_LINK_ITEM Private See coding 20031015 BEGIN OF ts_copy_link_item, guid TYPE cgpl_guid16, ref TYPE REF TO cl_cgpl_copy_link, END OF ts_copy_link_item
2 TS_ENTITY_ITEM Private See coding 20030819 BEGIN OF ts_entity_item, guid TYPE cgpl_guid16, ref TYPE REF TO cl_cgpl_entity, END OF ts_entity_item
3 TS_ENTITY_TIMESTAMP Private See coding 20080826 BEGIN OF ts_entity_timestamp, guid TYPE cgpl_guid16, timestamp TYPE dpr_tv_timestamp, END OF ts_entity_timestamp
4 TS_PERSISTENCY_INSTANCE Private See coding Application <-> Instance 20030818 BEGIN OF ts_persistency_instance, application TYPE cgpl_application_type, ref TYPE REF TO cl_cgpl_entity_persistency, END OF ts_persistency_instance
5 TT_CGPL_COPY_LINK Private See coding 20031211 tt_cgpl_copy_link TYPE SORTED TABLE OF cgpl_ts_copy_link WITH NON-UNIQUE KEY guid_prj
6 TT_CGPL_ENTITY Private See coding 20031211 tt_cgpl_entity TYPE SORTED TABLE OF cgpl_ts_entity WITH NON-UNIQUE KEY project_guid
7 TT_COPY_LINK Private See coding Table of CGPL_COPY_LINK 20031015 tt_copy_link TYPE STANDARD TABLE OF cgpl_copy_link
8 TT_COPY_LINK_ITEM Private See coding 20031015 tt_copy_link_item TYPE HASHED TABLE OF ts_copy_link_item WITH UNIQUE KEY guid
9 TT_COPY_LINK_REF Private See coding 20031015 tt_copy_link_ref TYPE HASHED TABLE OF REF TO cl_cgpl_copy_link WITH UNIQUE KEY table_line
10 TT_ENTITY Private See coding 20030819 tt_entity TYPE HASHED TABLE OF REF TO cl_cgpl_entity WITH UNIQUE KEY table_line
11 TT_ENTITY_ITEM Private See coding 20030819 tt_entity_item TYPE HASHED TABLE OF ts_entity_item WITH UNIQUE KEY guid
12 TT_ENTITY_TIMESTAMP Private See coding 20080826 tt_entity_timestamp TYPE SORTED TABLE OF ts_entity_timestamp WITH UNIQUE KEY guid
13 TT_PERSISTENCY_INSTANCE Private See coding Table of TS_PERSISTENCY_INSTANCE 20030818 tt_persistency_instance TYPE SORTED TABLE OF ts_persistency_instance WITH UNIQUE KEY application
Method Signatures

Method BUFFER_ARCHIVE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CGPL_COPY_LINK Call by reference Type reference (TYPE) CGPL_TT_COPY_LINK Table Type for CGPL_TS_COPY_LINK 20130204
2 Importing IT_CGPL_ENTITY Call by reference Type reference (TYPE) CGPL_TT_ENTITY Table of Entities 20130204
3 Importing IV_ARCHIVE_HANDLE Call by reference Type reference (TYPE) SYTABIX Archiv-Handle 20031211

Method BUFFER_ARCHIVE_DATA on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method CHECK_CHANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_HAS_CHANGES Value transfer Type reference (TYPE) BOOLE_D X' = Es liegen Änderungen an Projekte vor 20030826

Method CHECK_CHANGES on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method CHECK_TIMESTAMPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DELTA Value transfer Type reference (TYPE) CGPL_TT_ENTITY_DELTA GUIDs of objects for reloading 20090205
# Exception Resumable Description Created on
1 NOT_LOADED entities have not been loaded yet 20090218
2 WRONG_NUMBER number of entities has changed 20081009

Method CLEAR_TIMESTAMP_DB Signature

Method CLEAR_TIMESTAMP_DB on class CL_CGPL_ENTITY_PERSISTENCY has no parameter.
Method CLEAR_TIMESTAMP_DB on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_APPLICATION Call by reference Type reference (TYPE) CGPL_APPLICATION_TYPE Applikation in der Projektplanung 20030818

Method CONSTRUCTOR on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method DETERMINE_NATIVE_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ENTITY Call by reference Type reference (TYPE) CGPL_ENTITY CGPL Entitiäten 20031106
2 Returning RR_NATIVE_OBJECT Value transfer Object reference (TYPE REF TO) CL_CGPL_HIERARCHY_NODE Projektplanung - Hierarchieknoten 20031106

Method DETERMINE_NATIVE_OBJECT on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method FREE Signature

Method FREE on class CL_CGPL_ENTITY_PERSISTENCY has no parameter.
Method FREE on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method FREE_TIMESTAMPS Signature

Method FREE_TIMESTAMPS on class CL_CGPL_ENTITY_PERSISTENCY has no parameter.
Method FREE_TIMESTAMPS on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_APPLICATION Call by reference Type reference (TYPE) CGPL_APPLICATION_TYPE Applikation in der Projektplanung 20030818
2 Returning RR_INSTANCE Value transfer Object reference (TYPE REF TO) CL_CGPL_ENTITY_PERSISTENCY Persistenz für CGPL Entitiäten 20030818

Method GET_INSTANCE on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method GET_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GUID Call by reference Type reference (TYPE) DPR_TV_GUID Application Object GUID 20090717
2 Returning RV_TIMESTAMP Value transfer Type reference (TYPE) DPR_TV_TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss)(with Con.Exit) 20090717

Method GET_TIMESTAMP on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method INITIALIZE Signature

Method INITIALIZE on class CL_CGPL_ENTITY_PERSISTENCY has no parameter.
Method INITIALIZE on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method LOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ENTITY Call by reference Type reference (TYPE) CGPL_TT_ENTITY_REF Tabellentyp zu CGPL_TS_ENTITY_REF 20031028
2 Importing IT_PROJECT Value transfer Type reference (TYPE) CGPL_GUIDTAB_TYPE Importtabelle: GUID und Referenze 20031028
3 Importing IV_LOAD_ENTITIES_ONLY Call by reference Type reference (TYPE) BOOLE_D SPACE Es werden nur Entitäten geladen 20031210
4 Importing IV_WITH_COPY_LINKS Call by reference Type reference (TYPE) BOOLE_D SPACE Mit Verknüpfungen für kopierte Objekte 20031016

Method LOAD on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method LOAD_DPR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ENTITY Call by reference Type reference (TYPE) CGPL_TT_ENTITY_REF Table Type for CGPL_TS_ENTITY_REF 20081201
2 Importing IT_PROJECT Value transfer Type reference (TYPE) CGPL_GUIDTAB_TYPE Import Table: GUID and Reference 20081201
3 Importing IV_LOAD_ENTITIES_ONLY Call by reference Type reference (TYPE) BOOLE_D SPACE Only Entities Are Loaded 20081201
4 Importing IV_WITH_COPY_LINKS Call by reference Type reference (TYPE) BOOLE_D SPACE With Links for Copied Objects 20081201

Method LOAD_DPR on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method LOAD_TIMESTAMPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_ENTITY_TIMESTAMP Value transfer Type reference (TYPE) DPR_TT_ENTITY_TIMESTAMP Timestamps of Entities 20080826

Method LOAD_TIMESTAMPS on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method NOTE_COPY_LINK_FOR_DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_COPY_LINK Call by reference Object reference (TYPE REF TO) CL_CGPL_COPY_LINK Projektplanung - Verknüpfung Ursprungs-/Zielobjekt bei Kopie 20031015

Method NOTE_COPY_LINK_FOR_DELETE on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method NOTE_COPY_LINK_FOR_INSERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_COPY_LINK Call by reference Object reference (TYPE REF TO) CL_CGPL_COPY_LINK Projektplanung - Verknüpfung Ursprungs-/Zielobjekt bei Kopie 20031015

Method NOTE_COPY_LINK_FOR_INSERT on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method NOTE_COPY_LINK_FOR_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_COPY_LINK Call by reference Object reference (TYPE REF TO) CL_CGPL_COPY_LINK Projektplanung - Verknüpfung Ursprungs-/Zielobjekt bei Kopie 20031015

Method NOTE_COPY_LINK_FOR_UPDATE on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method NOTE_ENTITY_FOR_DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ENTITY Call by reference Object reference (TYPE REF TO) CL_CGPL_ENTITY CGPL Entität 20030819

Method NOTE_ENTITY_FOR_DELETE on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method NOTE_ENTITY_FOR_INSERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ENTITY Call by reference Object reference (TYPE REF TO) CL_CGPL_ENTITY CGPL Entität 20030819

Method NOTE_ENTITY_FOR_INSERT on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method NOTE_ENTITY_FOR_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ENTITY Call by reference Object reference (TYPE REF TO) CL_CGPL_ENTITY CGPL Entität 20030819

Method NOTE_ENTITY_FOR_UPDATE on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method REMOVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ENTITY Call by reference Object reference (TYPE REF TO) CL_CGPL_ENTITY CGPL Entität 20030827

Method REMOVE on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method REMOVE_COPY_LINK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_COPY_LINK Call by reference Object reference (TYPE REF TO) CL_CGPL_COPY_LINK Project Planning - Source/Target Object Link for Copy 20110722
2 Importing IR_ENTITY Call by reference Object reference (TYPE REF TO) CL_CGPL_ENTITY Project Planning - CGPL Entity 20110722

Method REMOVE_COPY_LINK on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method SAVE Signature

Method SAVE on class CL_CGPL_ENTITY_PERSISTENCY has no parameter.
# Exception Resumable Description Created on
1 SAVE_FAILED Sichern fehlgeschlagen 20030819

Method SAVE_COPY_LINKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DELETE_COPY_LINK Call by reference Type reference (TYPE) TT_COPY_LINK Gelöschte Datensätze 20031015
2 Exporting ET_INSERT_COPY_LINK Call by reference Type reference (TYPE) TT_COPY_LINK Eingefügte Datensätze 20031015
3 Exporting ET_UPDATE_COPY_LINK Call by reference Type reference (TYPE) TT_COPY_LINK Geänderte Datensätze 20031015

Method SAVE_COPY_LINKS on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method SAVE_TIMESTAMPS Signature

Method SAVE_TIMESTAMPS on class CL_CGPL_ENTITY_PERSISTENCY has no parameter.
Method SAVE_TIMESTAMPS on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method SET_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GUID Call by reference Type reference (TYPE) DPR_TV_GUID Application Object GUID 20090717
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) DPR_TV_TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss)(with Con.Exit) 20090717

Method SET_TIMESTAMP on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method UPDATE_TIMESTAMPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DELTA Call by reference Type reference (TYPE) CGPL_TT_ENTITY_DELTA Delta table for reloading of CGPL objects 20080828

Method UPDATE_TIMESTAMPS on class CL_CGPL_ENTITY_PERSISTENCY has no exception.

Method WRITE_CHANGE_DOCUMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DELETED_COPY_LINK Call by reference Type reference (TYPE) TT_COPY_LINK Gelöschte Datensätze 20031015
2 Importing IT_DELETED_ENTITY Call by reference Type reference (TYPE) CGPL_TT_ENTITY Gelöschte Entitäten 20030819
3 Importing IT_INSERTED_COPY_LINK Call by reference Type reference (TYPE) TT_COPY_LINK Eingefügte Datensätze 20031015
4 Importing IT_INSERTED_ENTITY Call by reference Type reference (TYPE) CGPL_TT_ENTITY Eingefügte Entitäten 20030819
5 Importing IT_UPDATED_COPY_LINK Call by reference Type reference (TYPE) TT_COPY_LINK Geänderte Datensätze 20031015
6 Importing IT_UPDATED_ENTITY Call by reference Type reference (TYPE) CGPL_TT_ENTITY Aufgefrischte Entitäten 20030819

Method WRITE_CHANGE_DOCUMENTS on class CL_CGPL_ENTITY_PERSISTENCY has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 310