SAP ABAP Class CL_CGPL_ASSIGNMENTS (Project Planning: Administration Class for Assignments)
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_ASSIGNMENTS  
Short Description Project Planning: Administration Class for Assignments    
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 19991115   SAP 
Last change 20090618   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CGPL_ASSIGNMENTS has no forward declaration.
Interfaces
Class CL_CGPL_ASSIGNMENTS has no interface implemented.
Friends
Class CL_CGPL_ASSIGNMENTS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_CATEGORY_ASSIGNMENT Constant Public Type reference (TYPE) CHAR1 'A' Constant: Assignment Object Type 20000126
2 CO_CATEGORY_PROJECT Constant Public Type reference (TYPE) CHAR1 'P' Constant: Project Object Type 20000126
3 CO_CATEGORY_TASK Constant Public Type reference (TYPE) CHAR1 'T' Constant: Task Object Type 20000126
4 M_ASSIGNMENTS Instance attribute Private Type reference (TYPE) TY_ASSIGNMENTS Table Assignments 20000126
5 M_PARENT_OBJCAT Instance attribute Private Type reference (TYPE) CGPL_OBJECT_CATEGORY Parent Object Category 20000126
6 M_PARENT_PROJECT Instance attribute Private Object reference (TYPE REF TO) CL_CGPL_PROJECT Marketing Plans and Campaigns 20000207
7 M_PARENT_PROJECT_ID Instance attribute Private Type reference (TYPE) CGPL_GUID16 Project Planning: 16-Char. GUID for Projects/Transactions 20000207
8 M_PARENT_TASK Instance attribute Private Object reference (TYPE REF TO) CL_CGPL_TASK Marketing Plan Activities or Campaign Activities 20000207
9 M_PARENT_TASK_ID Instance attribute Private Type reference (TYPE) CGPL_GUID16 Project Planning: 16-Char. GUID for Projects/Transactions 20000207
10 M_PERSISTENCY_BUF Static Attribute Private Type reference (TYPE) TY_PERSISTENCY_BUF 20030505
Methods
# Method Level Visibility Method type Description Created on
1 ADD Instance method Public Method Add Assignment 20000126
2 CHANGE_PARENT_PROJECT Instance method Public Method Assigns Changed Project Assignment to All Assignment Objects 20000224
3 CHECK Instance method Public Method Checks All Assignment Objects in the Collection 20000216
4 CHECK_CHANGES Static method Public Method Dtermines Whether Changes Exist for Assignment Objects 20000313
5 CONSTRUCTOR Instance method Public Constructor Constructor 20000313
6 COPY Instance method Public Method Copies All Assignment Objects in Transferred Collection 20000313
7 DELETE_ALL Instance method Public Method Delete All Assignments 20000208
8 EXECUTE_STATUS_ACTIVITY Instance method Public Method Carry Out Business Activity 20000929
9 FREE Instance method Public Method Destructor 20011119
10 GET_BY_INDEX Instance method Public Method Returns Reference Assignment to Index 20000222
11 GET_BY_TYPE Instance method Public Method Returns Reference Assignment with Specified Type 20000216
12 GET_COUNT Instance method Public Method Determines the Number of Managed Objects in the Collection 20000222
13 GET_FREE_PERMISSION Instance method Public Method Checks if Assignments Can Be Destroyed 20030714
14 GET_PARENT Instance method Public Method Determine Data for Parent Object 20000207
15 INITIALIZE Static method Public Method Initializing the Persistency Controller after COMMIT WORK 20000208
16 LOAD Static method Public Method Load Assignments from the DB 20000207
17 REMOVE Instance method Public Method Remove Assignment 20000126
18 SAVE Static method Public Method Save Assignments 20000207
Events
Class CL_CGPL_ASSIGNMENTS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 IT_ASSIGNMENTS Protected See coding IT_ASSIGNMENTS 19991116
2 TY_ASSIGNMENTS Private See coding TY_ASSIGNMENTS 20000126
3 TY_ASSIGNMENTS_ITEM Private See coding TY_ASSIGNMENTS_ITEM 20000126
4 TY_PERSISTENCY_BUF Private See coding 20030505
5 TY_PERSISTENCY_BUF_ITEM Private See coding 20030505
Method Signatures

Method ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ASSIGNMENT Call by reference Object reference (TYPE REF TO) IF_CGPL_ASSIGNMENT Interfacereferenz auf Assignment 20000126
# Exception Resumable Description Created on
1 INVALID_OBJECT_TYPE Assignment-Typ ist ungültig 20000128

Method CHANGE_PARENT_PROJECT Signature

Method CHANGE_PARENT_PROJECT on class CL_CGPL_ASSIGNMENTS has no parameter.
Method CHANGE_PARENT_PROJECT on class CL_CGPL_ASSIGNMENTS has no exception.

Method CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_RESULT Call by reference Type reference (TYPE) CHAR1 Maximaler Fehler über alle Assignments 20000216

Method CHECK on class CL_CGPL_ASSIGNMENTS has no exception.

Method CHECK_CHANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_HAS_CHANGES Call by reference Type reference (TYPE) CHAR1 'X' = Es liegen Änderungen an Assignments vor 20000313

Method CHECK_CHANGES on class CL_CGPL_ASSIGNMENTS has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PARENT Call by reference Object reference (TYPE REF TO) CL_CGPL_HIERARCHY_NODE Vaterknoten 20000313
2 Importing IM_RAISE_EVENT Call by reference Type reference (TYPE) CHAR1 'X' Für erzeugte Objekte Ereignis OBJECT_CREATED senden 20000313
# Exception Resumable Description Created on
1 OBJECT_NOT_SUPPORTED Vaterknoten vom übergebenen Objekttyp nicht unterstützt 20000313

Method COPY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ASSIGNMENTS Call by reference Object reference (TYPE REF TO) CL_CGPL_ASSIGNMENTS Ziel für die zu kopierenden Assignment Objekte 20000313
# Exception Resumable Description Created on
1 ASSIGNMENTS_NOT_QUALIFIED Parameter Assignments ist initial 20000313
2 FAILED Zuordnungen konnten nicht kopiert werden 20000929

Method DELETE_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CHECK_ONLY Call by reference Type reference (TYPE) FLAG SPACE Nur prüfen 20000929
2 Importing IM_NO_CHECK Call by reference Type reference (TYPE) FLAG SPACE Keine Prüfung durchführen 20020904
# Exception Resumable Description Created on
1 FAILED Es können nicht alle Objekte gelöscht werden 20000929

Method EXECUTE_STATUS_ACTIVITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ACTIVITY Call by reference Type reference (TYPE) J_VORGANG Betriebsw. Vorgang 20000929
2 Importing IM_CHECK_ONLY Call by reference Type reference (TYPE) FLAG Nur prüfen 20000929
3 Importing IM_NO_CHECK Call by reference Type reference (TYPE) FLAG Ohne Prüfung ausführen 20000929
# Exception Resumable Description Created on
1 ACTIVITY_NOT_ALLOWED Betriebsw. Vorgang nicht erlaubt 20000929
2 FAILED Betriebsw. Vorgang kann nicht ausgeführt werde 20000929

Method FREE Signature

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

Method GET_BY_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ASSIGNMENT Call by reference Object reference (TYPE REF TO) IF_CGPL_ASSIGNMENT Interfacereferenz auf Assignment 20000222
2 Importing IM_INDEX Call by reference Type reference (TYPE) SYTABIX Assignment Index 20000222
# Exception Resumable Description Created on
1 FAILED Assignment konnte nicht ermittelt werden 20000222

Method GET_BY_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ASSIGNMENTS Call by reference Type reference (TYPE) CGPL_ASSIGNMENTS Tabelle: Interfacereferenz auf Zuordnungsobjekt (Assignment) 20000216
2 Importing IM_ASSIGNMENT_TYPE Call by reference Type reference (TYPE) CGPL_OBJECT_TYPE Objekttyp in der Projektplanung 20000216

Method GET_BY_TYPE on class CL_CGPL_ASSIGNMENTS has no exception.

Method GET_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_COUNT Call by reference Type reference (TYPE) SYTABIX Anzahl Objekte 20000222

Method GET_COUNT on class CL_CGPL_ASSIGNMENTS has no exception.

Method GET_FREE_PERMISSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_PERMISSION Value transfer Type reference (TYPE) FLAG 20030714

Method GET_FREE_PERMISSION on class CL_CGPL_ASSIGNMENTS has no exception.

Method GET_PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_PROJECT Call by reference Object reference (TYPE REF TO) CL_CGPL_PROJECT Marketingpläne und Kampagnen 20000208
2 Exporting EX_PROJECT_ID Call by reference Type reference (TYPE) CGPL_GUID16 Projektplanung: 16 stellige GUID für Projekte und Vorgänge 20000208
3 Exporting EX_TASK Call by reference Object reference (TYPE REF TO) CL_CGPL_TASK Marketingplan- bzw. und Kampagnenvorgängen 20000208
4 Exporting EX_TASK_ID Call by reference Type reference (TYPE) CGPL_GUID16 Projektplanung: 16 stellige GUID für Projekte und Vorgänge 20000208

Method GET_PARENT on class CL_CGPL_ASSIGNMENTS has no exception.

Method INITIALIZE Signature

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

Method LOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_APPLICATION_TYPE Call by reference Type reference (TYPE) CGPL_APPLICATION_TYPE 20030617

Method LOAD on class CL_CGPL_ASSIGNMENTS has no exception.

Method REMOVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ASSIGNMENT Call by reference Object reference (TYPE REF TO) IF_CGPL_ASSIGNMENT Interface für Objektzuordnungen 20000128

Method REMOVE on class CL_CGPL_ASSIGNMENTS has no exception.

Method SAVE Signature

Method SAVE on class CL_CGPL_ASSIGNMENTS has no parameter.
Method SAVE on class CL_CGPL_ASSIGNMENTS has no exception.
History
Last changed by/on SAP  20090618 
SAP Release Created in 12A