SAP ABAP Class CL_DPR_PARTICIPANT_SERVICES (Service Class for Role)
Hierarchy
CPRXRPM (Software Component) SAP Portfolio and Project Management 6.0
   PPM-PRO-RES (Application Component) Resources
     DEVELOPMENT_PROJECTS_TEAM (Package) Project Management - Team/Participants/Roles
Properties
Class CL_DPR_PARTICIPANT_SERVICES  
Short Description Service Class for Role    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class DPR_PARTICIPANT    
Program status P  SAP Standard Production Program 
Category 0   
Package DEVELOPMENT_PROJECTS_TEAM   Project Management - Team/Participants/Roles 
Created 20050314   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)
Interfaces
Class CL_DPR_PARTICIPANT_SERVICES has no interface implemented.
Friends
Class CL_DPR_PARTICIPANT_SERVICES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_ACO_USER Static Attribute Private Type reference (TYPE) ACO_TT_USER List aco_users 20120502
2 MT_HR_OBJECT Static Attribute Private Type reference (TYPE) ACO_TT_HR_OBJECT List org.unit 20120502
3 MV_TOP_ID Static Attribute Private Type reference (TYPE) ACO_TOP_ID Top object ID 20120502
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_WORK_EFFORT Static method Public Method Convert Required Capacity 20070419
2 GET_ACO_HR_OBJECT Static method Public Method Delivery the responsible org.unit 20120502
3 GET_ACO_USER Static method Public Method Deleivy the responsible manager 20120502
4 GET_CANDIDATE_AUTH Static method Public Method 'X': Authorization Exists for 'Assign Candidate' 20050315
5 GET_DISTRIBUTION Static method Public Method Read the data for the role or staffing distribution 20100208
6 GET_EL_TIMEFRAME_DB Static method Public Method Determine the timeframe of an Entity Link 20100527
7 GET_ROLE_AND_STAFFING_DATA Static method Public Method Read the data for the role and the staffings 20100208
8 GET_STAFFING_AUTH Static method Public Method 'X': Authorization Exists for 'Assign Resource' 20050314
9 GET_STAFFING_DIST_DB Static method Public Method Create the virtual distribution data for a staffing 20100525
10 GET_URGENCY_TEXT Static method Public Method Reads DDIC Fixed Value Texts for Urgency 20060214
11 IS_CANDIDATE_ENABLED Static method Public Method 'X': Assign Candidate Is Possible 20050314
12 IS_CHANGE_ENABLED Static method Public Method 'X': Change Resource Is Possible 20050314
13 IS_CHECK_ROLE_ENABLED Static method Public Method 'X': Check Role Is Possible 20050315
14 IS_COPY_ROLE_ENABLED Static method Public Method 'X': Copy Role Is Possible 20050315
15 IS_CREATE_ENABLED Static method Public Method 'X': Create Resource Is Possible 20050314
16 IS_CREATE_ROLE_ENABLED Static method Public Method 'X': Create Role Is Possible 20050315
17 IS_DELETE_ROLE_ENABLED Static method Public Method 'X': Delete Role Is Possible 20050315
18 IS_INCLUDE_ROLE_ENABLED Static method Public Method 'X': Include Role Is Possible 20050315
19 IS_INPUT_ENABLED Static method Public Method 'X': Fields Are Ready for Input 20050314
20 IS_RESULT_ENABLED Static method Public Method 'X': Result Is Possible 20050314
21 IS_ROLE_CHANGEABLE Static method Public Method 'X': Role Is Changeable Acc. to Input Parameters 20050315
22 IS_SEARCH_ENABLED Static method Public Method 'X': Find Resource Is Possible 20050314
23 IS_SORT_ROLE_ENABLED Static method Public Method 'X': Sort Roles Is Possible 20050315
24 IS_STAFFING_ENABLED Static method Public Method 'X': Assign Resource Is Possible 20050314
25 IS_URGENCY_VALID Static method Public Method 'X': Urgency Is Valid 20060214
Events
Class CL_DPR_PARTICIPANT_SERVICES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_STAFFING Public See coding Staffing Table Type 20100208 TT_STAFFING TYPE STANDARD TABLE OF bapi_ts_prp_staffing_det
Method Signatures

Method CONVERT_WORK_EFFORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLE_D Fehler Kennzeichen 20070419
2 Exporting EV_WORK_EFFORT_OUT Call by reference Type reference (TYPE) F Einheit 20070419
3 Importing IV_WORK_EFFORT_IN Call by reference Type reference (TYPE) DPR_TV_ASSIGNED_WORK Zugeordnete Arbeit 20070419
4 Importing IV_WORK_UNIT Call by reference Type reference (TYPE) DPR_TV_UNIT Einheit 20070419
5 Importing IV_WORK_UNIT_OUT Call by reference Type reference (TYPE) DPR_TV_UNIT Einheit 20070419

Method CONVERT_WORK_EFFORT on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method GET_ACO_HR_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARTICIPANT Value transfer Object reference (TYPE REF TO) CL_DPR_PARTICIPANT Development Projects: Projektbeteiligte(r) 20120502
2 Importing IV_ACTIVITY Value transfer Type reference (TYPE) ACO_ACTVT Aktivitiät für Berechtigungsprüfung 20120502
3 Returning RV_HR_OBJECT_ID Value transfer Type reference (TYPE) ACO_TS_HR_OBJECT_ID HR-Objekt-Id 20120502

Method GET_ACO_HR_OBJECT on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method GET_ACO_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARTICIPANT Value transfer Object reference (TYPE REF TO) CL_DPR_PARTICIPANT Development Projects: Projektbeteiligte(r) 20120502
2 Importing IV_ACTIVITY Value transfer Type reference (TYPE) ACO_ACTVT Aktivitiät für Berechtigungsprüfung 20120502
3 Returning RV_USER_ID Value transfer Type reference (TYPE) XUBNAME HR-Objekt-Id 20120502

Method GET_ACO_USER on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method GET_CANDIDATE_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_OBJECT Call by reference Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20050315
2 Importing IV_MODE Call by reference Type reference (TYPE) CHAR1 '1' Besetzen: 1: Direkt, 2-4: RPA via OrgUnit, 5: RPA via Auth 20050315
3 Importing IV_USER_ID Call by reference Type reference (TYPE) XUBNAME SY-UNAME Benutzername im Benutzerstamm 20050315
4 Returning RV_CANDIDATE_AUTH Value transfer Type reference (TYPE) BOOLE_D 'X': Berechtigung vorhanden 20050315

Method GET_CANDIDATE_AUTH on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method GET_DISTRIBUTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DIST_ADMIN_DATA Call by reference Type reference (TYPE) BAPI_TS_DIST_ADMIN_DATA Distribution administration data 20100208
2 Exporting ET_DISTRIBUTION Call by reference Type reference (TYPE) BAPI_TT_DIST_DATA Table of Distribution data 20100208
3 Exporting EV_DIST_GUID Call by reference Type reference (TYPE) DPR_TV_GUID Unique Object Key 20100208
4 Exporting EV_ENTITY_GUID Call by reference Type reference (TYPE) DPR_TV_GUID Unique Object Key 20100208
5 Importing IV_PARTICIPANT_GUID Call by reference Type reference (TYPE) DPR_TV_OBJECT_GUID_CHAR Role Guid / Concrete Role Guid (Staffing) 20100208
6 Importing IV_STAFFING Call by reference Type reference (TYPE) BOOLE_D Flag: Staffing (X) or Role 20100208

Method GET_DISTRIBUTION on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method GET_EL_TIMEFRAME_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_BEGIN_DATE Call by reference Type reference (TYPE) DPR_TV_BEGDATE Valid-From Date 20100527
2 Exporting EV_END_DATE Call by reference Type reference (TYPE) DPR_TV_ENDDATE Valid-To Date 20100527
3 Importing IS_CGPL_TASK Call by reference Type reference (TYPE) CGPL_TASK Project Planning: Attribute Table for Activities 20100527
4 Importing IS_ENTITY_LINK Call by reference Type reference (TYPE) DPR_ENTITY_LINK Role Assignments 20100527
5 Importing IV_CGPL_TASK_GUID Call by reference Type reference (TYPE) DPR_TV_OBJECT_GUID_CHAR Unique Object Key 20100527

Method GET_EL_TIMEFRAME_DB on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method GET_ROLE_AND_STAFFING_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ROLE_DETAIL Call by reference Type reference (TYPE) BAPI_TS_PRP_PROJECTROLE_DET Detailed Attributes of a Role 20100208
2 Exporting ES_ROLE_TYPE Call by reference Type reference (TYPE) BAPI_TS_PRP_ROLE_CUST_DETAIL Role 20100208
3 Exporting ET_STAFFING Call by reference Type reference (TYPE) TT_STAFFING Staffing Assignments 20100208
4 Exporting EV_NAME Call by reference Type reference (TYPE) DPR_TV_NAME Project Element Name 20100210
5 Importing IV_ROLE_GUID Call by reference Type reference (TYPE) DPR_TV_OBJECT_GUID_CHAR Unique Object Key 20100208

Method GET_ROLE_AND_STAFFING_DATA on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method GET_STAFFING_AUTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_OBJECT Call by reference Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20050315
2 Importing IV_MODE Call by reference Type reference (TYPE) CHAR1 '1' Besetzen: 1: Direkt, 2-4: RPA via OrgUnit, 5: RPA via Auth 20050314
3 Importing IV_USER_ID Call by reference Type reference (TYPE) XUBNAME SY-UNAME Benutzername im Benutzerstamm 20050314
4 Returning RV_STAFFING_AUTH Value transfer Type reference (TYPE) BOOLE_D 'X': Berechtigung vorhanden 20050314

Method GET_STAFFING_AUTH on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method GET_STAFFING_DIST_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ALLOC_ENTITY Call by reference Type reference (TYPE) DPR_TT_CAPACITY_ALLOC_OBJ Table Type for Distributed Allocations with Object Key 20100525
2 Importing IV_BEG_DATE Call by reference Type reference (TYPE) DPR_TV_BEGDATE Valid-From Date 20100525
3 Importing IV_BUPALINK_GUID Call by reference Type reference (TYPE) DPR_TV_OBJECT_GUID_CHAR Bupalink Guid 20100525
4 Importing IV_END_DATE Call by reference Type reference (TYPE) DPR_TV_ENDDATE Valid-To Date 20100525
5 Importing IV_PERIOD_TYPE Call by reference Type reference (TYPE) DPR_TV_PERIOD_TYPE Period Type (Weekly/Monthly/Generic Interval) 20100525
6 Importing IV_ROLE_LOCATION Call by reference Type reference (TYPE) DPR_TV_LOCATION Role Location (for Calendar) 20100525
7 Importing IV_UNIT Call by reference Type reference (TYPE) DPR_TV_EFFORT_UNIT Unit for Distribution 20100525

Method GET_STAFFING_DIST_DB on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method GET_URGENCY_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_URGENCY Call by reference Type reference (TYPE) DPR_TV_URGENCY Dringlichkeit 20060214
2 Returning RV_TEXT Value transfer Type reference (TYPE) STRING Text des Domänenfestwertes 20060214

Method GET_URGENCY_TEXT on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_CANDIDATE_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARTICIPANT Call by reference Object reference (TYPE REF TO) CL_DPR_PARTICIPANT Development Projects: Projektbeteiligte(r) 20050314
2 Importing IV_CANDIDATE_AVAILABLE Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE 'X': Mind. ein Kandidat ist zuordenbar 20050315
3 Importing IV_LOG_MSG Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE 'X': Fehlermeldung in das Protokoll 20060728
4 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050314

Method IS_CANDIDATE_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_CHANGE_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARTICIPANT Call by reference Object reference (TYPE REF TO) CL_DPR_PARTICIPANT Development Projects: Projektbeteiligte(r) 20050314
2 Importing IV_RESOURCE_AVAILABLE Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE 'X': Mind. eine Ressource ist zuordenbar 20050315
3 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050314

Method IS_CHANGE_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_CHECK_ROLE_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ROOT Call by reference Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20050315
2 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050315

Method IS_CHECK_ROLE_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_COPY_ROLE_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ROOT Call by reference Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20050315
2 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050315

Method IS_COPY_ROLE_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_CREATE_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARTICIPANT Call by reference Object reference (TYPE REF TO) CL_DPR_PARTICIPANT Development Projects: Projektbeteiligte(r) 20050314
2 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050314

Method IS_CREATE_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_CREATE_ROLE_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ROOT Call by reference Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20050315
2 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050315

Method IS_CREATE_ROLE_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_DELETE_ROLE_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARTICIPANT Call by reference Object reference (TYPE REF TO) CL_DPR_PARTICIPANT Development Projects: Projektbeteiligte(r) 20050315
2 Importing IR_ROOT Call by reference Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20050315
3 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050315

Method IS_DELETE_ROLE_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_INCLUDE_ROLE_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ROOT Call by reference Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20050315
2 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050315

Method IS_INCLUDE_ROLE_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_INPUT_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARTICIPANT Call by reference Object reference (TYPE REF TO) CL_DPR_PARTICIPANT Development Projects: Projektbeteiligte(r) 20050314
2 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050314

Method IS_INPUT_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_RESULT_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARTICIPANT Call by reference Object reference (TYPE REF TO) CL_DPR_PARTICIPANT Development Projects: Projektbeteiligte(r) 20050314
2 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050314

Method IS_RESULT_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_ROLE_CHANGEABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_OBJECT Call by reference Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20050315
2 Importing IV_CHECK_ADMIN Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Admin-Berechtigung prüfen 20050315
3 Importing IV_CHECK_RESMAN Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Ressourcenmanager-Berechtigung prüfen 20050315
4 Importing IV_CHECK_WRITE Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Schreib-Berechtigung prüfen 20050315
5 Returning RV_CHANGEABLE Value transfer Type reference (TYPE) BOOLE_D Kennzeichen Änderungsmodus 20050315

Method IS_ROLE_CHANGEABLE on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_SEARCH_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARTICIPANT Call by reference Object reference (TYPE REF TO) CL_DPR_PARTICIPANT Development Projects: Projektbeteiligte(r) 20050314
2 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050314

Method IS_SEARCH_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_SORT_ROLE_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ROOT Call by reference Object reference (TYPE REF TO) IF_DPR_COMMON Development Projects: Schnittstelle aller Anwendungsobjekte 20050315
2 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050315

Method IS_SORT_ROLE_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_STAFFING_ENABLED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARTICIPANT Call by reference Object reference (TYPE REF TO) CL_DPR_PARTICIPANT Development Projects: Projektbeteiligte(r) 20050314
2 Importing IV_LOG_MSG Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE 'X': Fehlermeldung in das Protokoll 20060728
3 Importing IV_RESOURCE_AVAILABLE Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE 'X': Mind. eine Ressource ist zuordenbar 20050315
4 Returning RV_ENABLED Value transfer Type reference (TYPE) BOOLE_D 'X': Aktion ist möglich 20050314

Method IS_STAFFING_ENABLED on class CL_DPR_PARTICIPANT_SERVICES has no exception.

Method IS_URGENCY_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_URGENCY Call by reference Type reference (TYPE) DPR_TV_URGENCY Dringlichkeit 20060214
2 Returning RV_IS_VALID Value transfer Type reference (TYPE) BOOLE_D 'X': Dringlichkeit ist valide 20060214

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