SAP ABAP Class CL_DPR_XML2CPR (Create Project from XML File)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PPM-PRO-EXT-PMT (Application Component) External Project Management Tools
     DEVELOPMENT_PROJECTS_XML (Package) Project Management: XML Services
Properties
Class CL_DPR_XML2CPR  
Short Description Create Project from XML File    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package DEVELOPMENT_PROJECTS_XML   Project Management: XML Services 
Created 20031216   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_DPR_CO Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_DPR_XML2CPR has no interface implemented.
Friends
Class CL_DPR_XML2CPR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_APPL_OBJ_MANAGER Instance attribute Private Object reference (TYPE REF TO) CL_DPR_APPL_OBJECT_MANAGER Development Projects: Administration of Application Objects 20031221
2 MS_INTEGRATION_PARAMETER Instance attribute Private Type reference (TYPE) DPR_TS_INTEGRATION_PARAMETERS 20050503
3 MT_MAPPING Instance attribute Private Type reference (TYPE) DPR_TT_USED_FIELDS_IN_MAPPING Mapping Between cProjects and MS Project 20040427
4 MT_PARTICIPANT Instance attribute Private Type reference (TYPE) TT_PARTICIPANT 20031223
5 MT_PROJECT Instance attribute Private Type reference (TYPE) DPR_TT_XML_PROJECTS_TYPE Complex Data Type ProjectsType from XML Procedure 20040105
6 MT_RELATION Instance attribute Private Type reference (TYPE) TT_RELATION Relationship Table 20031222
7 MT_TASK_GUID Instance attribute Private Type reference (TYPE) TT_GUID Assignment Between Old and New Tasks 20031222
8 MV_APPLICATION Instance attribute Private Type reference (TYPE) STRING Calling application 20040427
9 MV_CREATE_SIM Instance attribute Private Type reference (TYPE) BOOLE_D Create Simulation 20040108
10 MV_IS_MSP_APPL Instance attribute Private Type reference (TYPE) BOOLE_D X: Import Used for MSP 20070828
11 MV_OBJECT_TYPE Instance attribute Private Type reference (TYPE) CGPL_OBJECT_TYPE Object Category in Project Planning 20040107
12 MV_OBL_GROUPING Instance attribute Private Type reference (TYPE) DPR_TV_OBL_GROUP 20050503
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20031221
2 CREATE_PROJECT_FROM_MSP_XML Instance method Public Method must not be used! 20051012
3 CREATE_PROJECT_FROM_XML Instance method Public Method Create Project from XML 20031216
4 FILL_CHG_STRUCTURE Instance method Private Method Fill CHG Structure for SET_DATA_EXT 20040427
5 GET_MAPPING Instance method Private Method Determine Mapping Between cProjects and MS Project Fields 20040427
6 GET_TOP_LEVEL_GUID Instance method Private Method Get GUID of Appropriate CGPL Project 20040109
7 PERFORM_XSLT Instance method Public Method Carry out XSL Transformation for XML String 20040107
8 PREPARE_RELATIONSHIPS Instance method Private Method Collect Relationships 20031222
9 PROCESS_CHECKLISTS Instance method Private Method Process Checklists 20031216
10 PROCESS_CHECKLIST_ITEMS Instance method Private Method Process Checklist Items 20031216
11 PROCESS_PHASES Instance method Private Method Process Phases 20031216
12 PROCESS_PROJECT Instance method Private Method Process Projects 20031216
13 PROCESS_PROJECT_ROLES Instance method Private Method Process Project Roles 20031216
14 PROCESS_RELATIONSHIPS Instance method Private Method Process Relationships 20031216
15 PROCESS_RESOURCE_ASSIGNMENTS Instance method Private Method Process Resource Assignments 20031216
16 PROCESS_ROLE_ASSIGNMENTS Instance method Private Method Process Role Assignments 20031216
17 PROCESS_TASKS Instance method Private Method Process Tasks 20031216
Events
# Event Type Visibility Description Created on
1 CX_DPR_XML2CPR_ERROR Instance Event
(0)
Private
(0)
20040105
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_GUID Private See coding 20031222 BEGIN OF ts_guid, guid_old TYPE dpr_tv_guid, guid_new TYPE dpr_tv_guid, END OF ts_guid
2 TS_PARTICIPANT Private See coding 20031223 BEGIN OF ts_participant, extid_old TYPE cgpl_extid, number_old TYPE cgpl_extid, " note 1254816 guid_new TYPE dpr_tv_guid, participant TYPE REF TO cl_dpr_participant, END OF ts_participant
3 TS_RELATION Private See coding 20031222 BEGIN OF ts_relation, task TYPE REF TO cl_dpr_task, relationships TYPE dpr_tt_xml_relationships_type, END OF ts_relation
4 TT_GUID Private See coding 20031222 tt_guid TYPE HASHED TABLE OF ts_guid WITH UNIQUE KEY guid_old
5 TT_PARTICIPANT Private See coding 20031223 tt_participant TYPE HASHED TABLE OF ts_participant WITH UNIQUE KEY extid_old number_old
6 TT_RELATION Private See coding 20031222 tt_relation TYPE HASHED TABLE OF ts_relation WITH UNIQUE KEY task
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_INTEGRATION_PARAMETER Call by reference Type reference (TYPE) DPR_TS_INTEGRATION_PARAMETERS 20050503
2 Importing IT_PROJECTS Call by reference Type reference (TYPE) DPR_TT_XML_PROJECTS_TYPE 20050503
3 Importing IV_APPLICATION Call by reference Type reference (TYPE) STRING Calling Application (Special Case MSP) 20050503
4 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) CGPL_OBJECT_TYPE 20050503

Method CONSTRUCTOR on class CL_DPR_XML2CPR has no exception.

Method CREATE_PROJECT_FROM_MSP_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_PROJECT Value transfer Object reference (TYPE REF TO) IF_DPR_COMMON 20051012
2 Exporting ES_OBJECT_EVENT Call by reference Type reference (TYPE) DPR_TS_OBJ_EVENT 20051012
3 Importing IV_CREATE_COPY_LINKS Call by reference Type reference (TYPE) BOOLE_D CL_DPR_CO=>SC_TRUE 20051012
# Exception Resumable Description Created on
1 CX_DPR_XML2CPR_ERROR 20051012

Method CREATE_PROJECT_FROM_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CREATE_COPY_LINKS Call by reference Type reference (TYPE) BOOLE_D CL_DPR_CO=>SC_TRUE Verknüpfungen zwischen Objekt und Ursprungsobjekt anlegen 20050117
2 Returning RR_PROJECT Value transfer Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20031223
# Exception Resumable Description Created on
1 CX_DPR_XML2CPR_ERROR cProjects: Fehler bei der Konvertierung XML nach cProjects 20031223

Method FILL_CHG_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ATTRIBUTES_NEW Call by reference Object reference (TYPE REF TO) DATA 20040427
2 Importing IR_COMMON Call by reference Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20040427

Method FILL_CHG_STRUCTURE on class CL_DPR_XML2CPR has no exception.

Method GET_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ALTERNATIVE Call by reference Type reference (TYPE) CHAR1 SPACE Alternative für MSP-Mapping 20040427
2 Importing IV_OBL_GROUPING Call by reference Type reference (TYPE) DPR_TV_OBL_GROUP 20050503
3 Returning RT_MAPPING Value transfer Type reference (TYPE) DPR_TT_USED_FIELDS_IN_MAPPING Mapping von SAP-Feldern mit MSProject-Attributen 20040427

Method GET_MAPPING on class CL_DPR_XML2CPR has no exception.

Method GET_TOP_LEVEL_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_COMMON Call by reference Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20040109
2 Returning RV_GUID_PRJ Value transfer Type reference (TYPE) DPR_TV_GUID GUID des Anwendungsobjekts 20040109

Method GET_TOP_LEVEL_GUID on class CL_DPR_XML2CPR has no exception.

Method PERFORM_XSLT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PROJECTS Call by reference Type reference (TYPE) DPR_TT_XML_PROJECTS_TYPE Complex Data Type ProjectsType from XML Procedure 20081030
2 Exporting EV_PROJECT_ID Call by reference Type reference (TYPE) DPR_TV_PROJECT_ID Nummer des Projekts 20040107
3 Exporting EV_VERSION Call by reference Type reference (TYPE) CGPL_TV_VERSION Versionsnummer 20040107
4 Exporting EV_XML Call by reference Type reference (TYPE) STRING XML-String 20040416
5 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) CGPL_OBJECT_TYPE Objekttyp in der Projektplanung 20040107
6 Importing IV_XML Call by reference Type reference (TYPE) XSTRING XML-String 20040107
# Exception Resumable Description Created on
1 CX_DPR_XML2CPR_ERROR cProjects: Fehler bei der Konvertierung XML nach cProjects 20040107

Method PREPARE_RELATIONSHIPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_TASK Call by reference Object reference (TYPE REF TO) CL_DPR_TASK Development Projects: Abstrakte Aufgabe 20031222
2 Importing IT_RELATIONSHIPS Call by reference Type reference (TYPE) DPR_TT_XML_RELATIONSHIPS_TYPE Komplexer Datentyp RelationshipsType aus XML-Schema 20031222
3 Importing IV_GUID_OLD Call by reference Type reference (TYPE) DPR_TV_OBJECT_GUID_CHAR Eindeutiger Objektschlüssel (CHAR32) 20031222

Method PREPARE_RELATIONSHIPS on class CL_DPR_XML2CPR has no exception.

Method PROCESS_CHECKLISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PHASE Call by reference Object reference (TYPE REF TO) CL_DPR_PHASE_O Development Projects: Abstrakte Phase 20031221
2 Importing IR_PROJECT Call by reference Object reference (TYPE REF TO) CL_DPR_PROJECT_O Development Projects: Projekt 20040705
3 Importing IT_CHECKLISTS Call by reference Type reference (TYPE) DPR_TT_XML_CHECKLISTS_TYPE Komplexer Datentyp ChecklistsType aus XML-Schema 20031216

Method PROCESS_CHECKLISTS on class CL_DPR_XML2CPR has no exception.

Method PROCESS_CHECKLIST_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_CHECKLIST Call by reference Object reference (TYPE REF TO) CL_DPR_CHECKLIST Development Projects: Abstrakte Checkliste 20031221
2 Importing IT_CHECKLIST_ITEMS Call by reference Type reference (TYPE) DPR_TT_XML_CHECKLISTITEMS_TYPE Komplexer Datentyp ChecklistItemsType aus XML-Schema 20031216
3 Importing IV_PARENT_GUID Call by reference Type reference (TYPE) DPR_TV_OBJECT_GUID_CHAR '00000000000000000000000000000000' Eindeutiger Objektschlüssel 20060302

Method PROCESS_CHECKLIST_ITEMS on class CL_DPR_XML2CPR has no exception.

Method PROCESS_PHASES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PROJECT Call by reference Object reference (TYPE REF TO) CL_DPR_PROJECT Development Projects: Projekt 20031221
2 Importing IT_PHASES Call by reference Type reference (TYPE) DPR_TT_XML_PHASES_TYPE Komplexer Datentyp PhasesType aus XML-Schema 20031216
3 Importing IV_PARENT_GUID Call by reference Type reference (TYPE) DPR_TV_OBJECT_GUID_CHAR '00000000000000000000000000000000' Eindeutiger Objektschlüssel 20060302

Method PROCESS_PHASES on class CL_DPR_XML2CPR has no exception.

Method PROCESS_PROJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_PROJECT Value transfer Object reference (TYPE REF TO) IF_DPR_COMMON 20051012
2 Exporting ES_OBJECT_EVENT Call by reference Type reference (TYPE) DPR_TS_OBJ_EVENT 20051012
3 Importing IT_PROJECT Call by reference Type reference (TYPE) DPR_TT_XML_PROJECTS_TYPE Komplexer Datentyp ProjectsType aus XML-Schema 20031216
4 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) CGPL_OBJECT_TYPE Objekttyp in der Projektplanung 20031223
5 Importing IV_PARENT_GUID Call by reference Type reference (TYPE) DPR_TV_OBJECT_GUID_CHAR '00000000000000000000000000000000' Eindeutiger Objektschlüssel 20060302
# Exception Resumable Description Created on
1 CX_DPR_XML2CPR_ERROR cProjects: Fehler bei der Konvertierung XML nach cProjects 20040105

Method PROCESS_PROJECT_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PROJECT Call by reference Object reference (TYPE REF TO) CL_DPR_PROJECT Development Projects: Abstraktes Projekt 20031223
2 Importing IT_PROJECT_ROLES Call by reference Type reference (TYPE) DPR_TT_XML_PROJECT_ROLES_TYPE Komplexer Datentyp ProjectRolesType aus XML-Schema 20031216

Method PROCESS_PROJECT_ROLES on class CL_DPR_XML2CPR has no exception.

Method PROCESS_RELATIONSHIPS Signature

Method PROCESS_RELATIONSHIPS on class CL_DPR_XML2CPR has no parameter.
Method PROCESS_RELATIONSHIPS on class CL_DPR_XML2CPR has no exception.

Method PROCESS_RESOURCE_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PROJECT_ROLE Call by reference Object reference (TYPE REF TO) CL_DPR_PARTICIPANT Development Projects: Projektbeteiligte(r) 20031223
2 Importing IT_RESOURCE_ASSIGNMENTS Call by reference Type reference (TYPE) DPR_TT_XML_RES_ASSGNMNTS_TYPE Komplexer Datentyp ResourceAssignmentsType aus XML-Schema 20031216

Method PROCESS_RESOURCE_ASSIGNMENTS on class CL_DPR_XML2CPR has no exception.

Method PROCESS_ROLE_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_TASK Call by reference Object reference (TYPE REF TO) CL_DPR_TASK Development Projects: Abstrakte Aufgabe 20031223
2 Importing IT_ROLE_ASSIGNMENTS Call by reference Type reference (TYPE) DPR_TT_XML_ROLE_ASSGNMNTS_TYPE Komplexer Datentyp ProjectRoleAssignmentsType aus XML-Schema 20031216

Method PROCESS_ROLE_ASSIGNMENTS on class CL_DPR_XML2CPR has no exception.

Method PROCESS_TASKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_CHECKLIST_ITEM Call by reference Object reference (TYPE REF TO) CL_DPR_CHECKLIST_ITEM Development Projects: Abstrakter Checklistenpunkt 20031221
2 Importing IR_PHASE Call by reference Object reference (TYPE REF TO) CL_DPR_PHASE Development Projects: Abstrakte Phase 20031221
3 Importing IR_PROJECT Call by reference Object reference (TYPE REF TO) CL_DPR_PROJECT Development Projects: Abstraktes Projekt 20040630
4 Importing IR_TASK Call by reference Object reference (TYPE REF TO) CL_DPR_TASK Development Projects: Abstrakte Aufgabe 20031222
5 Importing IT_TASKS Call by reference Type reference (TYPE) DPR_TT_XML_TASKS_TYPE Komplexer Datentyp TasksType aus XML-Schema 20031216
6 Importing IV_PARENT_GUID Call by reference Type reference (TYPE) DPR_TV_OBJECT_GUID_CHAR '00000000000000000000000000000000' Eindeutiger Objektschlüssel (CHAR32) 20031222

Method PROCESS_TASKS on class CL_DPR_XML2CPR has no exception.
Event Signatures

Event CX_DPR_XML2CPR_ERROR Signature
Event CX_DPR_XML2CPR_ERROR on class CL_DPR_XML2CPR has no parameter.
History
Last changed by/on SAP  20141109 
SAP Release Created in 310