SAP ABAP Class CL_CGPL_SERVICES (Project Planning - Service Functions for Objects)
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
CA-GTF-GPL (Application Component) Generic Project Planning
⤷
CGPL_GENERIC_FUNCTIONS (Package) Project Planning - General Functions
⤷
⤷
Properties
| Class | CL_CGPL_SERVICES | |
| Short Description | Project Planning - Service Functions for Objects | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CGPL_GENERIC_FUNCTIONS | Project Planning - General Functions |
| Created | 20000118 | SAP |
| Last change | 20090618 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_CGPL_SERVICES has no forward declaration.
Interfaces
Class CL_CGPL_SERVICES has no interface implemented.
Friends
Class CL_CGPL_SERVICES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CHAR1 | 'X' | TRUE = 'X' | 20000320 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Delivers the Absolute Level To Root Project | 20000315 | |
| 2 | Static method | Public | Method | Delivers Attributes for Node | 20000314 | |
| 3 | Static method | Public | Method | Reads Attributes from DB for a GUID | 20000328 | |
| 4 | Static method | Public | Method | Determines Task and Project Attributes for Project Object | 20000118 | |
| 5 | Static method | Public | Method | Determines Task and Project Attributes for Project Object | 20000306 | |
| 6 | Static method | Public | Method | Determines Highest Project | 20000314 | |
| 7 | Static method | Public | Method | Determines Task and Project Attributes for Task Object | 20000118 | |
| 8 | Static method | Public | Method | Transfers Changes from Attribute Table to Project | 20000307 |
Events
Class CL_CGPL_SERVICES has no event.
Types
Class CL_CGPL_SERVICES has no local type.
Method Signatures
Method GET_ABSOLUTE_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_LEVEL | Call by reference | Type reference (TYPE) | CGPL_LEVEL | CGPL Planung Stufe eines Vorganges | 20000315 | |||
| 2 | IM_NODE | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_HIERARCHY_NODE | Projektplanung - Hierarchieknoten | 20000315 |
Method GET_ABSOLUTE_LEVEL on class CL_CGPL_SERVICES has no exception.
Method GET_ATTRIBUTES_FROM_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_ATTR_PROJECT | Call by reference | Type reference (TYPE) | CGPL_PROJECT | Projektplanung: Attributetabelle Projektköpfe | 20000314 | |||
| 2 | EX_ATTR_TASK | Call by reference | Type reference (TYPE) | CGPL_TASK | Projektplanung: Attributetabelle Vorgänge | 20000314 | |||
| 3 | EX_PROJECT | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_PROJECT | Projektplanung - Projekte | 20000314 | |||
| 4 | EX_TASK | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_TASK | Projektplanung - Vorgänge | 20000314 | |||
| 5 | IM_NODE | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_HIERARCHY_NODE | Projektplanung - Hierarchieknoten | 20000314 |
Method GET_ATTRIBUTES_FROM_NODE on class CL_CGPL_SERVICES has no exception.
Method GET_ATTRIBUTES_WITH_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_EXTERNAL_ID | Call by reference | Type reference (TYPE) | CGPL_EXTID | Projektplanung: Externe Id Projekte, Vorgänge | 20000328 | |||
| 2 | IM_GUID | Call by reference | Type reference (TYPE) | CGPL_GUID16 | Projektplanung: 16 stellige GUID für Projekte und Vorgänge | 20000328 |
Method GET_ATTRIBUTES_WITH_GUID on class CL_CGPL_SERVICES has no exception.
Method GET_PROJECT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_CHANGEMODE_FAILED | Call by reference | Type reference (TYPE) | CGPL_GUIDTAB_TYPE | Projekte, die nicht im Änderungsmodus geladen werden konnten | 20001215 | |||
| 2 | EX_PROJECTS | Call by reference | Type reference (TYPE) | CGPL_PROJECTS | Tabellentyp mit Struktur CGPL_PROJECT | 20000118 | |||
| 3 | EX_R3_ATTRIBUTES | Call by reference | Type reference (TYPE) | CGPL_R3_ATTRIBUTES | Tabellentyp mit Struktur CGPL_R3_ATTRIBUT | 20000118 | |||
| 4 | EX_TASKS | Call by reference | Type reference (TYPE) | CGPL_TASKS | Tabellentyp mit Struktur CGPL_TASK | 20000118 | |||
| 5 | IM_CHANGE_MODE | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Projekte im Änderungsmodus einlesen | 20000118 | ||
| 6 | IM_LEVEL | Call by reference | Type reference (TYPE) | INT2 | 0 | Hierarchiestufe des Eintiegsobjekts | 20000119 | ||
| 7 | IM_PROJECT | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_PROJECT | Referenz auf Project-Objekt | 20000118 | |||
| 8 | IM_WITH_HIERARCHY | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Hierarchie soll über Projektgrenze hinweg verfolgt werden | 20000118 |
Method GET_PROJECT_DATA on class CL_CGPL_SERVICES has no exception.
Method GET_PROJECT_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_CHANGEMODE_FAILED | Call by reference | Type reference (TYPE) | CGPL_GUIDTAB_TYPE | Projekte, die nicht im Änderungsmodus geladen werden konnten | 20001215 | |||
| 2 | EX_PROJECT_NODES | Call by reference | Type reference (TYPE) | CGPL_TASKS | Knoten/Attribute des Projekts | 20000306 | |||
| 3 | EX_R3_ATTRIBUTES | Call by reference | Type reference (TYPE) | CGPL_R3_ATTRIBUTES | Tabellentyp mit Struktur CGPL_R3_ATTRIBUT | 20000306 | |||
| 4 | IM_CHANGE_MODE | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Projekte im Änderungsmodus einlesen | 20000306 | ||
| 5 | IM_PROJECT | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_PROJECT | Referenz auf Project-Objekt | 20000306 | |||
| 6 | IM_WITH_HIERARCHY | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Hierarchie soll über Projektgrenze hinweg verfolgt werden | 20000306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Projekt wurde gelöscht | 20000929 |
Method GET_ROOT_PROJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_PROJECT | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_PROJECT | Projektplanung - Projekte | 20000314 | |||
| 2 | IM_NODE | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_HIERARCHY_NODE | Projektplanung - Hierarchieknoten | 20000314 |
Method GET_ROOT_PROJECT on class CL_CGPL_SERVICES has no exception.
Method GET_TASK_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_CHANGEMODE_FAILED | Call by reference | Type reference (TYPE) | CGPL_GUIDTAB_TYPE | Projekte, die nicht im Änderungsmodus geladen werden konnten | 20001215 | |||
| 2 | EX_PROJECTS | Call by reference | Type reference (TYPE) | CGPL_PROJECTS | Tabellentyp mit Struktur CGPL_PROJECT | 20000118 | |||
| 3 | EX_R3_ATTRIBUTES | Call by reference | Type reference (TYPE) | CGPL_R3_ATTRIBUTES | Tabellentyp mit Struktur CGPL_R3_ATTRIBUT | 20000118 | |||
| 4 | EX_TASKS | Call by reference | Type reference (TYPE) | CGPL_TASKS | Tabellentyp mit Struktur CGPL_TASK | 20000118 | |||
| 5 | IM_CHANGE_MODE | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Projekte im Änderungsmodus einlesen | 20000118 | ||
| 6 | IM_LEVEL | Call by reference | Type reference (TYPE) | INT2 | 0 | Hierarchiestufe des Eintiegsobjekts | 20000119 | ||
| 7 | IM_TASK | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_TASK | Referenz auf Project-Objekt | 20000118 | |||
| 8 | IM_WITH_HIERARCHY | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Hierarchie soll über Projektgrenze hinweg verfolgt werden | 20000118 |
Method GET_TASK_DATA on class CL_CGPL_SERVICES has no exception.
Method PUT_PROJECT_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_PROJECT_NODES | Call by reference | Type reference (TYPE) | CGPL_TASKS | Tabelle mit Attributen | 20000307 | |||
| 2 | IM_FIELDS | Call by reference | Type reference (TYPE) | CGPL_FIELD_NAMES | Tabelle mit Feldnamen | 20000307 | |||
| 3 | IM_INCLUDING_STRUCTURE | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Auch Strukturveränderungen durchführen | 20000307 | ||
| 4 | IM_MAPPING | Call by reference | Type reference (TYPE) | CGPL_MAPPING_FIELDS | Mapping von SAP-Feldern mit MSProject-Attributen | 20000307 | |||
| 5 | IM_PROJECT | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_PROJECT | Project Objekt | 20000307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kein Knoten entsprach einem Project-/Task-Objekt | 20000320 | ||
| 2 | ObjectManager nicht instanz. oder Objekttypen inkonsistent | 20000307 | ||
| 3 | Referenz auf Project-Objekt wurde initial übergeben | 20000307 |
History
| Last changed by/on | SAP | 20090618 |
| SAP Release Created in | 12A |