SAP ABAP Class CL_CGPL_VERSION_HEADER (Version Header)
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_VERSION_HEADER  
Short Description Version Header    
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 20031021   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CGPL_VERSION_HEADER has no forward declaration.
Interfaces
Class CL_CGPL_VERSION_HEADER has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_CGPL_VERSION_HEADERS 20031021 Version Headers
2 CL_CGPL_VERSION_SERVICES 20031114 Service Methods for Versions
3 CL_CGPL_VERS_HDR_PERSISTENCY 20031021 Project Planning - Persistence for CGPL Entities
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_AUTH_BADI Instance attribute Private Object reference (TYPE REF TO) CGPL_VRSN_HDR_AUTH BAdI Interface IF_EX_CGPL_VRSN_HDR_AUTH 20040209
2 MR_HEADERS Instance attribute Private Object reference (TYPE REF TO) CL_CGPL_VERSION_HEADERS Version Headers 20031021
3 MR_HEADER_DEFS Instance attribute Private Object reference (TYPE REF TO) CL_CGPL_VERSION_HEADER_DEFS Collection for Editing Mask for Version Numbers 20031113
4 MR_PERSISTENCY Instance attribute Private Object reference (TYPE REF TO) CL_CGPL_VERS_HDR_PERSISTENCY Project Planning - Persistence for CGPL Entities 20031021
5 MS_ATTRIBUTES Instance attribute Public Type reference (TYPE) CGPL_TS_VRSN_HDR Project Planning: Version Headers 20031021
6 MS_ATTRIBUTES_OLD Instance attribute Private Type reference (TYPE) CGPL_TS_VRSN_HDR Project Planning: Version Headers 20031021
7 MS_AUTHORIZATION Instance attribute Private Type reference (TYPE) TS_AUTHORIZATION Authorizations 20040209
8 MT_ENQUEUE_ARG Instance attribute Private Type reference (TYPE) TT_ENQUEUE_ARG Locks Taken Off of Version Header 20031116
9 MT_TEXT Instance attribute Public Type reference (TYPE) CGPL_TT_VRSN_HDR_T Table of Texts for Version Headers 20031105
10 MT_TEXT_OLD Instance attribute Private Type reference (TYPE) CGPL_TT_VRSN_HDR_T Table of Texts for Version Headers 20031114
11 MV_BADI_FILTER Instance attribute Private Type reference (TYPE) CGPL_APPLICATION_TYPE Application in Project Planning 20070703
12 MV_EDIT_MODE Instance attribute Private Type reference (TYPE) XFELD Editing Mode (Space: Display 'X': Change)- 20031021
13 MV_OBJECT_STATE Instance attribute Private Type reference (TYPE) CHAR1 Editing status 20031021
14 SC_ACTIVITY_CHANGE Static Attribute Public Type reference (TYPE) ACTIV_AUTH '02' Change 20040209
15 SC_ACTIVITY_CREATE Static Attribute Public Type reference (TYPE) ACTIV_AUTH '01' Create 20040209
16 SC_ACTIVITY_DELETE Static Attribute Public Type reference (TYPE) ACTIV_AUTH '06' Delete 20040209
17 SC_ACTIVITY_DISPLAY Static Attribute Public Type reference (TYPE) ACTIV_AUTH '03' Display 20040209
18 SC_INTERNAL_VRSN_HEADER Constant Public Type reference (TYPE) CHAR5 '$INT$' Internal Version Header Logic 20100621
19 SC_ZERO Constant Public Type reference (TYPE) CHAR1 '0' Zero stock 20060517
Methods
# Method Level Visibility Method type Description Created on
1 AUTHORIZATION_CHECK Instance method Public Method Authorization Check 20040209
2 CHECK_ATTRIBUTES Instance method Private Method Checking Attributes 20031114
3 CHECK_IS_CHANGEABLE Instance method Public Method Check Whether Version Header Can Be Changed 20031114
4 CONSTRUCTOR Instance method Public Constructor Constructor 20031021
5 DELETE Instance method Public Method Delete Version Header 20031114
6 DELETE_CHECK Instance method Public Method Check Before Deleting a Version Header 20031114
7 DEQUEUE Instance method Private Method Unlock Node 20031024
8 DISCARD_CHANGES Instance method Public Method Reject Changes 20031114
9 ENQUEUE Instance method Private Method Lock Version Header 20031024
10 FREE Instance method Private Method Destructor 20031021
11 GET_ATTRIBUTES Instance method Public Method Get attributes 20031114
12 GET_AUTHORIZATION Instance method Public Method Make Authorization Flags Available 20040210
13 GET_EDIT_MODE Instance method Public Method Get Change Mode 20031021
14 GET_EXT_ATTRIBUTES Instance method Public Method Get Attributes in a Language 20031114
15 GET_OBJECT_STATE Instance method Public Method Get Processing Status 20031021
16 RECONSTRUCT Instance method Private Method Reorganizes Object According to New DB Load 20031024
17 SET_ATTRIBUTES Instance method Public Method Set Attributes in a Language 20031114
18 SET_EDIT_MODE Instance method Public Method Sets Display/Change Mode 20031024
19 SET_OBJECT_STATE Instance method Private Method Sets Update Indicator 20031114
20 VERSION_CONTENTS_CREATABLE Instance method Public Method New Data Can Be Created in the Version 20031029
21 VERSION_CONTENTS_DELETABLE Instance method Public Method Content of Version Can Be Deleted 20031023
22 VERSION_CONTENTS_EXTRACT_TO_BW Instance method Public Method Content of Version Is Extracted to BW 20031210
23 VERSION_CONTENTS_TO_BE_ARCHIVD Instance method Public Method Content of Version Must Be Archived Before Deletion 20031210
24 VERSION_IS_IN_CUSTOMER_NAMESPC Instance method Public Method Version Is in Customer Namespace 20041217
Events
# Event Type Visibility Description Created on
1 OBJECT_CHANGED Instance Event
(0)
Public
(2)
Object Changed 20031114
2 OBJECT_CREATED Instance Event
(0)
Public
(2)
Object Created 20031114
3 OBJECT_DELETED Instance Event
(0)
Public
(2)
Object deleted 20031114
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_AUTHORIZATION Private See coding Authorizations 20040209 BEGIN OF ts_authorization, create TYPE boole_d, change TYPE boole_d, display TYPE boole_d, delete TYPE boole_d, END OF ts_authorization
2 TT_ENQUEUE_ARG Private See coding 20031116 tt_enqueue_arg TYPE STANDARD TABLE OF cgpl_vrsn_hdr_enq
Method Signatures

Method AUTHORIZATION_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTIVITY Call by reference Type reference (TYPE) ACTIV_AUTH Aktivität 20040210
2 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY Nachrichten, Nachrichtentyp 20040210

Method AUTHORIZATION_CHECK on class CL_CGPL_VERSION_HEADER has no exception.

Method CHECK_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ATTRIBUTES Value transfer Type reference (TYPE) V_CGPL_VRSN_HDR Generierte Tabelle zum View V_CGPL_VRSN_HDR 20031114
2 Returning RV_ERROR_FLAG Value transfer Type reference (TYPE) CHAR1 Fehlerkennzeichen 20031114

Method CHECK_ATTRIBUTES on class CL_CGPL_VERSION_HEADER has no exception.

Method CHECK_IS_CHANGEABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_CHECK_OK Value transfer Type reference (TYPE) XFELD Feld zum Ankreuzen 20031114
# Exception Resumable Description Created on
1 CX_CGPL_VERSION_HEADER_ERROR Projektplanung - Fehler im Versionskopf 20040420

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ATTRIBUTES Call by reference Type reference (TYPE) CGPL_VRSN_HDR Projektplanung: Versionsköpfe 20031021
2 Importing IT_TEXT Call by reference Type reference (TYPE) CGPL_TT_VRSN_HDR_T Tabelle von Texten zu Versionsköpfen 20031105
3 Importing IV_CREATE_NEW Call by reference Type reference (TYPE) BOOLE_D SPACE Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20031021
# Exception Resumable Description Created on
1 NO_AUTHORIZATION Fehlende Berechtigung 20040209

Method DELETE Signature

Method DELETE on class CL_CGPL_VERSION_HEADER has no parameter.
# Exception Resumable Description Created on
1 CX_CGPL_VERSION_HEADER_ERROR Projektplanung - Fehler im Versionskopf 20040414

Method DELETE_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_CHECK_OK Value transfer Type reference (TYPE) XFELD OK 20031114
# Exception Resumable Description Created on
1 CX_CGPL_VERSION_HEADER_ERROR Projektplanung - Fehler im Versionskopf 20040414

Method DEQUEUE 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 20031116
2 Importing IV_ENQMODE Call by reference Type reference (TYPE) ENQMODE 'E' Sperrmodus 20031116
3 Importing IV_SCOPE Call by reference Type reference (TYPE) CHAR1 '1' Einstelliges Kennzeichen 20031116
4 Importing IV_VERSION Call by reference Type reference (TYPE) CGPL_TV_VERSION Versionsnummer 20031024

Method DEQUEUE on class CL_CGPL_VERSION_HEADER has no exception.

Method DISCARD_CHANGES Signature

Method DISCARD_CHANGES on class CL_CGPL_VERSION_HEADER has no parameter.
Method DISCARD_CHANGES on class CL_CGPL_VERSION_HEADER has no exception.

Method ENQUEUE 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 20031114
2 Importing IV_ENQMODE Call by reference Type reference (TYPE) CHAR1 'E' Sperrmodus 20031024
3 Importing IV_SCOPE Call by reference Type reference (TYPE) CHAR1 '1' Scope 20031024
4 Importing IV_VERSION Call by reference Type reference (TYPE) CGPL_TV_VERSION Versionsnummer 20031024
# Exception Resumable Description Created on
1 FOREIGN_LOCK Versionskopf ist durch anderen Benutzer exklusiv gesperrt 20031024
2 LOCK_FAILED Systemfehler 20031024

Method FREE Signature

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

Method GET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGU Call by reference Type reference (TYPE) LANGU SY-LANGU Sprachenschlüssel 20031114
2 Returning RS_ATTRIBUTES Value transfer Type reference (TYPE) V_CGPL_VRSN_HDR Generierte Tabelle zum View V_CGPL_VRSN_HDR 20031114

Method GET_ATTRIBUTES on class CL_CGPL_VERSION_HEADER has no exception.

Method GET_AUTHORIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_AUTH_CHANGE Call by reference Type reference (TYPE) CGPL_AUTH Berechtigung vorhanden 20040210
2 Exporting EV_AUTH_CREATE Call by reference Type reference (TYPE) CGPL_AUTH Berechtigung vorhanden 20040210
3 Exporting EV_AUTH_DELETE Call by reference Type reference (TYPE) CGPL_AUTH Berechtigung vorhanden 20040210
4 Exporting EV_AUTH_DISPLAY Call by reference Type reference (TYPE) CGPL_AUTH Berechtigung vorhanden 20040210

Method GET_AUTHORIZATION on class CL_CGPL_VERSION_HEADER has no exception.

Method GET_EDIT_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_EDIT_MODE Value transfer Type reference (TYPE) XFELD Bearbeitungsmodus (space: Anzeigen 'X': Ändern) 20031021

Method GET_EDIT_MODE on class CL_CGPL_VERSION_HEADER has no exception.

Method GET_EXT_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGU Call by reference Type reference (TYPE) LANGU SY-LANGU aktuelle Sprache 20031114
2 Returning RS_ATTRIBUTES_EXT Value transfer Type reference (TYPE) CGPL_TS_VRSN_HDR_EXT_ATTR Erweiterte Attribute zum Versionskopf 20031114

Method GET_EXT_ATTRIBUTES on class CL_CGPL_VERSION_HEADER has no exception.

Method GET_OBJECT_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_OBJECT_STATE Value transfer Type reference (TYPE) CHAR1 Bearbeitungsstatus 20031021

Method GET_OBJECT_STATE on class CL_CGPL_VERSION_HEADER has no exception.

Method RECONSTRUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ATTRIBUTES Call by reference Type reference (TYPE) CGPL_VRSN_HDR Projektplanung: Versionsköpfe 20031024
2 Importing IT_TEXT Call by reference Type reference (TYPE) CGPL_TT_VRSN_HDR_T Tabelle von Texten zu Versionsköpfen 20031114

Method RECONSTRUCT on class CL_CGPL_VERSION_HEADER has no exception.

Method SET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ATTRIBUTES Value transfer Type reference (TYPE) V_CGPL_VRSN_HDR Generierte Tabelle zum View V_CGPL_VRSN_HDR 20031114
2 Importing IV_LANGU Call by reference Type reference (TYPE) LANGU SY-LANGU aktuelle Sprache 20031114
3 Returning RV_CHANGED Value transfer Type reference (TYPE) BOOLE_D Änderungen wurden durchgeführt 20040217
# Exception Resumable Description Created on
1 CX_CGPL_VRSN_OBJ_UPDATE_ERROR Projektplanung - Fehler beim Ändern Versionsobjekt 20040217

Method SET_EDIT_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EDIT_MODE Call by reference Type reference (TYPE) CHAR1 'X' = Ändern, ' ' = Anzeigen 20031024
# Exception Resumable Description Created on
1 FAILED Modus kann nicht gesetzt werden 20031024

Method SET_OBJECT_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTION Call by reference Type reference (TYPE) CHAR1 Aktion 20031114

Method SET_OBJECT_STATE on class CL_CGPL_VERSION_HEADER has no exception.

Method VERSION_CONTENTS_CREATABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATE Call by reference Type reference (TYPE) DATUM SY-DATUM Datum 20031029
2 Returning RV_IS_CREATABLE Value transfer Type reference (TYPE) BOOLE_D Versionsinhalt ist anlegbar (='X') 20031029
# Exception Resumable Description Created on
1 CX_CGPL_VERSION_HEADER_ERROR Projektplanung - Fehler im Versionskopf 20040311

Method VERSION_CONTENTS_DELETABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_IS_DELETABLE Value transfer Type reference (TYPE) BOOLE_D Versionsinhalt ist löschbar (='X') 20031023

Method VERSION_CONTENTS_DELETABLE on class CL_CGPL_VERSION_HEADER has no exception.

Method VERSION_CONTENTS_EXTRACT_TO_BW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_EXTRACT_TO_BW Value transfer Type reference (TYPE) BOOLE_D Versionsinhalt wird ins BW extrahiert ('X') 20031210

Method VERSION_CONTENTS_EXTRACT_TO_BW on class CL_CGPL_VERSION_HEADER has no exception.

Method VERSION_CONTENTS_TO_BE_ARCHIVD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_HAS_TO_BE_ARCHIVED Value transfer Type reference (TYPE) BOOLE_D Versionsinhalt muß vor dem Löschen archiviert werden ('X') 20031210

Method VERSION_CONTENTS_TO_BE_ARCHIVD on class CL_CGPL_VERSION_HEADER has no exception.

Method VERSION_IS_IN_CUSTOMER_NAMESPC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_IS_IN_CUSTOMER_NAMESPACE Value transfer Type reference (TYPE) CHAR1 Version liegt im Kundennamensraum 20041217

Method VERSION_IS_IN_CUSTOMER_NAMESPC on class CL_CGPL_VERSION_HEADER has no exception.
Event Signatures

Event OBJECT_CHANGED Signature
Event OBJECT_CHANGED on class CL_CGPL_VERSION_HEADER has no parameter.
Event OBJECT_CREATED Signature
Event OBJECT_CREATED on class CL_CGPL_VERSION_HEADER has no parameter.
Event OBJECT_DELETED Signature
Event OBJECT_DELETED on class CL_CGPL_VERSION_HEADER has no parameter.
History
Last changed by/on SAP  20141109 
SAP Release Created in 310