SAP ABAP Class CL_CGPL_RELATIONS (Project Planning - Collection for Relationships)
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
CA-GTF-GPL (Application Component) Generic Project Planning
⤷
CGPL_APPLICATION_OBJECTS (Package) Project Planning - Application Objects
⤷
⤷
Properties
| Class | CL_CGPL_RELATIONS | |
| Short Description | Project Planning - Collection for Relationships | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CGPL_APPLICATION_OBJECTS | Project Planning - Application Objects |
| Created | 20011106 | SAP |
| Last change | 20050428 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_CGPL_RELATIONS has no forward declaration.
Interfaces
Class CL_CGPL_RELATIONS has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_CGPL_HIERARCHY_NODE | 20011106 | Project Planning: Hierarchy Nodes | |
| 2 | CL_CGPL_RELATION | 20011106 | Project Planning - Relationship Between Hierarchy Nodes |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | TY_COPY_NODES | Hierarchy Nodes Flagged for Copying | 20011108 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | TY_COPY_RELATIONS | Links Flagged for Copying | 20011108 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CGPL_HIERARCHY_NODE | Project Planning: Hierarchy Nodes | 20011106 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | CGPL_RELATIONS | Project Planning: Table with References to Relationships | 20011106 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Include Link in Collection | 20011106 | |
| 2 | Instance method | Public | Method | Create Link to Predecessor | 20011106 | |
| 3 | Instance method | Public | Method | Create Link to Successor | 20011106 | |
| 4 | Instance method | Public | Constructor | Constructor | 20011106 | |
| 5 | Instance method | Public | Method | Delete All Links | 20011106 | |
| 6 | Instance method | Private | Method | Destructor | 20011121 | |
| 7 | Instance method | Public | Method | Read Links | 20011106 | |
| 8 | Instance method | Private | Method | Flag to Copy Link | 20011106 | |
| 9 | Static method | Private | Method | Carry Out Copying of Flagged Links | 20011106 | |
| 10 | Instance method | Private | Method | Remove Link from Collection | 20011106 |
Events
Class CL_CGPL_RELATIONS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_COPY_NODES | Private | See coding | 20011108 | |
||
| 2 | TY_COPY_NODES_ITEM | Private | See coding | 20011108 | |
||
| 3 | TY_COPY_RELATIONS | Private | See coding | 20011108 | |
Method Signatures
Method ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_RELATION | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_RELATION | Projektplanung - Verknüpfung zwischen Hierarchieknoten | 20011106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Verknüpfung existiert bereits | 20020228 |
Method ADD_PREDECESSOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_RELATION | Value transfer | Object reference (TYPE REF TO) | CL_CGPL_RELATION | Neu angelegte Verknüpfung | 20020228 | |||
| 2 | IM_CALENDAR_ID | Call by reference | Type reference (TYPE) | WFCID | Fabrikkalender | 20011106 | |||
| 3 | IM_LAG_UNIT | Call by reference | Type reference (TYPE) | CGPL_LAG_UNIT | Projektplanung: Einheit des Zeitabstands | 20011106 | |||
| 4 | IM_PREDECESSOR | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_HIERARCHY_NODE | Projektplanung - Hierarchieknoten | 20011106 | |||
| 5 | IM_RELATIONSHIP_TYPE | Call by reference | Type reference (TYPE) | CGPL_RELATION_TYPE | Verknüpfungsart | 20050315 | |||
| 6 | IM_TIME_LAG | Call by reference | Type reference (TYPE) | CGPL_TIME_LAG | Projektplanung: Zeitabstand einer Verknüpfung | 20011106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Vorgänger ist nicht änderbar | 20011106 | ||
| 2 | Verknüpfung zu Vorgänger existiert bereits | 20020228 | ||
| 3 | Nachfolger ist nicht änderbar | 20011106 |
Method ADD_SUCCESSOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_RELATION | Value transfer | Object reference (TYPE REF TO) | CL_CGPL_RELATION | Neu angelegte Verknüpfung | 20020228 | |||
| 2 | IM_CALENDAR_ID | Call by reference | Type reference (TYPE) | WFCID | Fabrikkalender | 20011106 | |||
| 3 | IM_LAG_UNIT | Call by reference | Type reference (TYPE) | CGPL_LAG_UNIT | Projektplanung: Einheit des Zeitabstands | 20011106 | |||
| 4 | IM_RELATIONSHIP_TYPE | Call by reference | Type reference (TYPE) | CGPL_RELATION_TYPE | Verknüpfungsart | 20050315 | |||
| 5 | IM_SUCCESSOR | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_HIERARCHY_NODE | Projektplanung - Hierarchieknoten | 20011106 | |||
| 6 | IM_TIME_LAG | Call by reference | Type reference (TYPE) | CGPL_TIME_LAG | Projektplanung: Zeitabstand einer Verknüpfung | 20011106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Vorgänger ist nicht änderbar | 20011106 | ||
| 2 | Verknüpfung zu Nachfolger existiert bereits | 20020228 | ||
| 3 | Nachfolger ist nicht änderbar | 20011106 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PARENT | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_HIERARCHY_NODE | Projektplanung - Hierarchieknoten | 20011106 |
Method CONSTRUCTOR on class CL_CGPL_RELATIONS has no exception.
Method DELETE_ALL Signature
Method DELETE_ALL on class CL_CGPL_RELATIONS has no parameter.
Method DELETE_ALL on class CL_CGPL_RELATIONS has no exception.
Method FREE Signature
Method FREE on class CL_CGPL_RELATIONS has no parameter.
Method FREE on class CL_CGPL_RELATIONS has no exception.
Method GET_RELATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_RELATIONS | Call by reference | Type reference (TYPE) | CGPL_RELATIONS | Projektplanung: Tabelle mit Referenzen auf Verknüpfungen | 20011106 | |||
| 2 | IM_PREDECESSORS | Call by reference | Type reference (TYPE) | FLAG | 'X' | allgemeines flag | 20011106 | ||
| 3 | IM_SUCCESSORS | Call by reference | Type reference (TYPE) | FLAG | 'X' | allgemeines flag | 20011106 |
Method GET_RELATIONS on class CL_CGPL_RELATIONS has no exception.
Method PREPARE_COPY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_TEMPLATE | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_HIERARCHY_NODE | Vorlage Hierarchieknoten | 20011108 |
Method PREPARE_COPY on class CL_CGPL_RELATIONS has no exception.
Method PROCEED_COPY Signature
Method PROCEED_COPY on class CL_CGPL_RELATIONS has no parameter.
Method PROCEED_COPY on class CL_CGPL_RELATIONS has no exception.
Method REMOVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_RELATION | Call by reference | Object reference (TYPE REF TO) | CL_CGPL_RELATION | Projektplanung - Verknüpfung zwischen Hierarchieknoten | 20011106 |
Method REMOVE on class CL_CGPL_RELATIONS has no exception.
History
| Last changed by/on | SAP | 20050428 |
| SAP Release Created in | 620 |