SAP ABAP Class CL_DPR_CP_UTILITY (CL_DPR_CP_UTILITY)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PPM-PRO-EXT (Application Component) Connection to External Systems
     DEVELOPMENT_PROJECTS_IMP_EXP (Package) Proj. Mgmt. - Tools and Settings for Project Import/Export
Properties
Class CL_DPR_CP_UTILITY  
Short Description    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package DEVELOPMENT_PROJECTS_IMP_EXP   Proj. Mgmt. - Tools and Settings for Project Import/Export 
Created 20050406   SAP 
Last change 20141109    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 SXRT Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_DPR_CP_UTILITY has no interface implemented.
Friends
Class CL_DPR_CP_UTILITY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MSG_HANDLE Static Attribute Public Object reference (TYPE REF TO) /RPM/CL_MESSAGE_HANDLE 20050406
2 MT_MAPPING Instance attribute Private Type reference (TYPE) DPR_TT_FIELD_MAP Mapping of BPS field to cProjects field 20050513
3 MV_LOGSYS Instance attribute Private Type reference (TYPE) LOGSYS RPM project integration parameters 20050522
4 OR_CUSTOMER_EXIT Instance attribute Private Object reference (TYPE REF TO) DPR_CP_CUST_FIELDS Business add-in interface IF_EX_RPM_MSP_CUST_FIELDS 20050406
5 OV_CUSTOMER_EXIT_ACTIVE Instance attribute Private Type reference (TYPE) SXRT_BOOLEAN 20050406
6 SC_APP_TYPE_DPR Constant Public Type reference (TYPE) CGPL_APPLICATION_TYPE 'DPR' cProjects Application 20050720
7 SC_APP_TYPE_RPM Constant Public Type reference (TYPE) CGPL_APPLICATION_TYPE 'PPM' RPM Application 20050720
8 SC_DPR_CHECKLIST Constant Public Type reference (TYPE) DPR_TV_OBL_GROUP 'PCCP' Checklist: cProjects 20050720
9 SC_DPR_CHECKLIST_ITEM Constant Public Type reference (TYPE) DPR_TV_OBL_GROUP 'PICP' Checklist Item: cProjects 20050720
10 SC_DPR_ENTITY Constant Public Type reference (TYPE) DPR_TV_OBL_GROUP 'PECP' Entity: cProjects 20050720
11 SC_DPR_PHASE Constant Public Type reference (TYPE) DPR_TV_OBL_GROUP 'PPCP' Phase: cProjects 20050720
12 SC_DPR_PROJECT Constant Public Type reference (TYPE) DPR_TV_OBL_GROUP 'PDCP' Project Definition: cProjects 20050720
13 SC_DPR_RESOURCE_ENTITY Constant Public Type reference (TYPE) DPR_TV_OBL_GROUP 'PBCP' Resource entity: cProjects 20050720
14 SC_DPR_ROLE Constant Public Type reference (TYPE) DPR_TV_OBL_GROUP 'PLCP' Role: cProjects 20050720
15 SC_DPR_TASK Constant Public Type reference (TYPE) DPR_TV_OBL_GROUP 'PTCP' Task: cProjects 20050720
16 SC_EXPORT Constant Public Type reference (TYPE) CHAR1 'E' Single-Character Flag 20050720
17 SC_IMPORT Constant Public Type reference (TYPE) CHAR1 'I' Single-Character Flag 20050720
18 SC_RPM_ITEM Constant Public Type reference (TYPE) DPR_TV_OBL_GROUP 'PPO' RPM Item 20050720
19 SR_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_DPR_CP_UTILITY 20050406
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20050406
2 CONVERT_CPXML_TO_DPR Instance method Public Method Convert cProjects xml file into DPR structure 20050406
3 CONVERT_DPR2CP Instance method Public Method Populates cP project header structure with DPR header data 20051228
4 CP_PARSE_RESPONSE Instance method Public Method Parse the response cProjects xml 20050407
5 FILL_DPR_CHECKLISTS Instance method Public Method Populate the cProjects checklists data 20050406
6 FILL_DPR_CHECKLIST_ITEMS Instance method Public Method Populate the cProjects checklists item data 20051116
7 FILL_DPR_PHASES Instance method Public Method Populate the cProjects phases data 20050406
8 FILL_DPR_PROJECT_DATA Instance method Public Method Populate the cProjects project data 20050406
9 FILL_DPR_PROJECT_ROLES Instance method Public Method Populate the cProjects roles data 20050406
10 FILL_DPR_RESOURCES Instance method Public Method Populate the cProjects resources data 20050406
11 FILL_DPR_TASKS Instance method Public Method Populate the cProjects tasks data 20050406
12 GET_CPXML Instance method Public Method Gets the cProjects data in xml format 20050406
13 GET_INSTANCE Static method Public Method 20050406
14 GET_PROJECT_DATA Instance method Public Method Get the Project data for a given cProjects project guid 20050519
15 PROCESS_EXPORT_PROJECT Static method Public Method Process the project to Export to Project Management 20090602
Events
Class CL_DPR_CP_UTILITY has no event.
Types
Class CL_DPR_CP_UTILITY has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOGSYS Call by reference Type reference (TYPE) LOGSYS Logisches System 20050522
2 Importing IV_MODE Call by reference Type reference (TYPE) XFELD Checkbox 20051229

Method CONSTRUCTOR on class CL_DPR_CP_UTILITY has no exception.

Method CONVERT_CPXML_TO_DPR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PROJECTS Value transfer Type reference (TYPE) DPR_TS_XML_PROJECT_TYPE Complex Data Type ProjectDataType from XML Procedure 20050406
2 Importing IT_DPR_XML Value transfer Type reference (TYPE) XSTRING 20050406
3 Importing IV_LOGSYS Call by reference Type reference (TYPE) LOGSYS Logisches System 20050522

Method CONVERT_CPXML_TO_DPR on class CL_DPR_CP_UTILITY has no exception.

Method CONVERT_DPR2CP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PROJECT_DEFINITION Call by reference Type reference (TYPE) BAPI_TS_PROJECT_DEF BAPI CREATE/CHANGE: Project Definition Fields 20051229
2 Changing CS_PROJECT_DEFINITION_UPD Call by reference Type reference (TYPE) BAPI_TS_PROJECT_DEF_UPD BAPI CREATE/CHANGE: Update Structure for Project Definition 20051229
3 Importing IS_DPR_DATA Call by reference Type reference (TYPE) DPR_TS_XML_PROJECT_TYPE Complex Data Type ProjectType from XML Procedure 20051228

Method CONVERT_DPR2CP on class CL_DPR_CP_UTILITY has no exception.

Method CP_PARSE_RESPONSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_XML Value transfer Type reference (TYPE) RPM_TT_GENERIC_XML_STRUCTURE Generic R/3 table type to store data from any xml file 20050407
2 Importing IV_RESPONSE Value transfer Type reference (TYPE) XSTRING cProjects XML response 20050407

Method CP_PARSE_RESPONSE on class CL_DPR_CP_UTILITY has no exception.

Method FILL_DPR_CHECKLISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHECKLISTS Value transfer Type reference (TYPE) DPR_TT_XML_CHECKLISTS_TYPE Complex Data Type ChecklistsType from XML Procedure 20050406
2 Importing IT_CHECKLISTS Value transfer Type reference (TYPE) DPR_TT_XML_CHECKLISTS_TYPE Complex Data Type ChecklistsType from XML Procedure 20050406
3 Importing IT_ROLES Value transfer Type reference (TYPE) DPR_TT_XML_PROJECT_ROLES_TYPE Complex Data Type ProjectRolesType from XML Procedure 20051118

Method FILL_DPR_CHECKLISTS on class CL_DPR_CP_UTILITY has no exception.

Method FILL_DPR_CHECKLIST_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHKLIST_ITEMS Value transfer Type reference (TYPE) DPR_TT_XML_CHECKLISTITEMS_TYPE Complex Data Type ChecklistItemsType from XML Procedure 20051116
2 Importing IT_CHKLIST_ITEMS Value transfer Type reference (TYPE) DPR_TT_XML_CHECKLISTITEMS_TYPE Complex Data Type ChecklistItemsType from XML Procedure 20051116
3 Importing IT_ROLES Value transfer Type reference (TYPE) DPR_TT_XML_PROJECT_ROLES_TYPE Complex Data Type ProjectRolesType from XML Procedure 20051118

Method FILL_DPR_CHECKLIST_ITEMS on class CL_DPR_CP_UTILITY has no exception.

Method FILL_DPR_PHASES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PHASES Value transfer Type reference (TYPE) DPR_TT_XML_PHASES_TYPE Complex Data Type PhasesType from XML Procedure 20050406
2 Importing IT_PHASES Value transfer Type reference (TYPE) DPR_TT_XML_PHASES_TYPE Complex Data Type PhasesType from XML Procedure 20050406
3 Importing IT_ROLES Value transfer Type reference (TYPE) DPR_TT_XML_PROJECT_ROLES_TYPE Complex Data Type ProjectRolesType from XML Procedure 20051118

Method FILL_DPR_PHASES on class CL_DPR_CP_UTILITY has no exception.

Method FILL_DPR_PROJECT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PROJECT_DATA Value transfer Type reference (TYPE) DPR_TS_XML_PROJECT_DATA_TYPE Complex Data Type ProjectDataType from XML Procedure 20050406
2 Importing IS_PROJECT_DATA Value transfer Type reference (TYPE) DPR_TS_XML_PROJECT_DATA_TYPE Complex Data Type ProjectDataType from XML Procedure 20050406

Method FILL_DPR_PROJECT_DATA on class CL_DPR_CP_UTILITY has no exception.

Method FILL_DPR_PROJECT_ROLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PROJECT_ROLES Value transfer Type reference (TYPE) DPR_TT_XML_PROJECT_ROLES_TYPE Complex Data Type ProjectRolesType from XML Procedure 20050406
2 Importing IT_PROJECT_ROLES Value transfer Type reference (TYPE) DPR_TT_XML_PROJECT_ROLES_TYPE Complex Data Type ProjectRolesType from XML Procedure 20050406

Method FILL_DPR_PROJECT_ROLES on class CL_DPR_CP_UTILITY has no exception.

Method FILL_DPR_RESOURCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESOURCES Value transfer Type reference (TYPE) DPR_TT_XML_RESOURCES_TYPE Complex Data Type ResourcesType from XML Procedure 20050406
2 Exporting ET_ROLES Call by reference Type reference (TYPE) DPR_TT_XML_PROJECT_ROLES_TYPE 20050721
3 Importing IT_RESOURCES Value transfer Type reference (TYPE) DPR_TT_XML_RESOURCES_TYPE Complex Data Type ResourcesType from XML Procedure 20050406
4 Importing IT_ROLES Value transfer Type reference (TYPE) DPR_TT_XML_PROJECT_ROLES_TYPE 20050721

Method FILL_DPR_RESOURCES on class CL_DPR_CP_UTILITY has no exception.

Method FILL_DPR_TASKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TASKS Value transfer Type reference (TYPE) DPR_TT_XML_TASKS_TYPE Complex Data Type TasksType from XML Procedure 20050406
2 Importing IT_ROLES Value transfer Type reference (TYPE) DPR_TT_XML_PROJECT_ROLES_TYPE Complex Data Type ProjectRolesType from XML Procedure 20051116
3 Importing IT_TASKS Value transfer Type reference (TYPE) DPR_TT_XML_TASKS_TYPE Complex Data Type TasksType from XML Procedure 20050406

Method FILL_DPR_TASKS on class CL_DPR_CP_UTILITY has no exception.

Method GET_CPXML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DPR_XML Value transfer Type reference (TYPE) XSTRING 20050406
2 Importing IV_APPLICATION Value transfer Type reference (TYPE) RPM_TV_APPLICATION Anwendung 20050406
3 Importing IV_CP_EXTERNAL_ID Value transfer Type reference (TYPE) RPM_TV_PROJECT_ID RPM project integration parameters 20050406
4 Importing IV_LOGSYS Value transfer Type reference (TYPE) LOGSYS Logisches System 20050406

Method GET_CPXML on class CL_DPR_CP_UTILITY has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_MSG_HANDLER Call by reference Object reference (TYPE REF TO) /RPM/CL_MESSAGE_HANDLE 20050406
2 Importing IV_LOGSYS Call by reference Type reference (TYPE) LOGSYS Logisches System 20050522
3 Importing IV_MODE Call by reference Type reference (TYPE) XFELD Checkbox 20051229
4 Returning RR_INSTANCE Value transfer Object reference (TYPE REF TO) CL_DPR_CP_UTILITY 20050406

Method GET_INSTANCE on class CL_DPR_CP_UTILITY has no exception.

Method GET_PROJECT_DATA 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 20050519
2 Exporting EV_RC Call by reference Type reference (TYPE) I 20050519
3 Importing IV_PROEJCT_GUID Call by reference Type reference (TYPE) DPR_TV_GUID 20050519

Method GET_PROJECT_DATA on class CL_DPR_CP_UTILITY has no exception.

Method PROCESS_EXPORT_PROJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_BPS_EXTERNAL_ID Call by reference Type reference (TYPE) CGPL_EXTID Project Planning: External Indentifier of an Element 20090602
2 Exporting EV_RFCDEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20090602
3 Importing IS_DPR_INT_PARAMETER Call by reference Type reference (TYPE) DPR_TS_INTEGRATION_PARAMETERS Project Integration Parameters 20090602
4 Importing IS_RPM_INTEGRATION_ATTR Call by reference Type reference (TYPE) /RPM/TS_INTEGRATION_PARAMETERS RPM project integration parameters 20090602
5 Importing IV_BPS_EXTERNAL_ID Call by reference Type reference (TYPE) CGPL_EXTID Project Planning: External Indentifier of an Element 20090602
6 Importing IV_CPRO_EXTERNAL_ID Call by reference Type reference (TYPE) CGPL_EXTID Project Planning: External Indentifier of an Element 20090602
7 Importing IV_CPRO_GUID Call by reference Type reference (TYPE) RPM_TV_GUID_CPROJ cProjects Guid 20090602
8 Importing IV_CP_TEMPLATE Call by reference Type reference (TYPE) DPR_TS_MSPS_PROJECTS-PROJECTNAME Project template name 20090602
9 Importing IV_ITEM_GUID Call by reference Type reference (TYPE) RPM_TV_GUID Guid for application objects 20090602
10 Importing IV_LOG_SYS_STR Call by reference Type reference (TYPE) STRING 20090602
11 Importing IV_PORTFOLIO_ITEM_GUID Call by reference Type reference (TYPE) /RPM/TV_GUID Guid for application objects 20090602

Method PROCESS_EXPORT_PROJECT on class CL_DPR_CP_UTILITY has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 400