I_EnterpriseProjectRoleType
Role Type for Enterprise Projects
I_EnterpriseProjectRoleType (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
EnterpriseProjectRoleType · R&D Engineering
I_EnterpriseProjectRoleType is a Basic CDS View (Dimension) that provides data about "Role Type for Enterprise Projects" in SAP S/4HANA. It reads from 1 data source (dpr_part_role) and exposes 6 fields with key field ProjectRoleType. It has 3 associations to related views. Part of development package VDM_PPM_OBJECTS_ROLE.
SAP Help Documentation
| Category | CDS Views for Project Financials Control and Project Management |
|---|---|
| Data Category | Dimension |
| Status | Released |
This CDS view retrieves the project role types defined for enterprise projects and professional services projects . This CDS view provides the data to answer the following business question: Which role types of a certain project role category are available? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations This CDS view requires privileged access. Configuration Project role types for professional services projects are retrieved from key user configuration in the Manage Your Solution app. For more information, see configuration step Define Role Types in solution area Professional Services .
Structure
Fields used for filtering All fields of this CDS view can be used for filtering. The main filters are as follows: ProjectRoleCategory used to specify the role category to which a project role type belongs. For information about supported values, see Role Category for Enterprise Projects . Further important fields Important fields in this view include the following: Field Name Description ProjectRoleType Project role type PartnerFunction Partner function from Sales that is assigned to the role type (only relevant for professional services projects)
Constraints
This CDS view can only be used to retrieve project role types for enterprise projects with the project category 6 ( Enterprise project ) or 7 ( Enterprise project – Professional Services ) in SAP S/4HANA Cloud Public Edition . It is not intended for use in SAP S/4HANA .
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | R&D Engineering |
| Application Component | PPM-SCL-STR |
| Capabilities | Data Source for Data Extraction,Data Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | R&D/Engineering for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view retrieves the project role types defined for enterprise projects and professional services projects.</p> This CDS view provides the data to answer the following business question:<ul> <li> <p>Which role types of a certain project role category are available?</p> </li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dpr_part_role | dpr_part_role | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_EntProjectRoleCategory | _ProjectRoleTypeCategory | $projection.ProjectRoleCategory = _ProjectRoleTypeCategory.ProjectRoleCategory |
| [1..1] | I_PartnerFunction | _PartnerFunction | $projection.PartnerFunction = _PartnerFunction.PartnerFunction |
| [0..*] | I_EntProjectRoleTypeText | _Text | |
Annotations (21)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Role Type for Enterprise Projects | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IENTPROJROLETYPE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.dataMaintenance | #RESTRICTED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | ProjectRoleType | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.sapObjectNodeType.name | EnterpriseProjectRoleType | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectRoleType | participant_role | Role Type for Projects | |
| ProjectRoleCategory | role_category | Role Category for Projects | ||
| PartnerFunction | Partner Function | |||
| _Text | _Text | |||
| _ProjectRoleTypeCategory | _ProjectRoleTypeCategory | |||
| _PartnerFunction | _PartnerFunction |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_EnterpriseProjectRoleType.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_EnterpriseProjectRoleType AS
SELECT
participant_role AS ProjectRoleType,
role_category AS ProjectRoleCategory,
cast ( dpr_part_role.partner_function as /s4ppm/tv_partner_function preserving type ) AS PartnerFunction
FROM dpr_part_role
LEFT OUTER JOIN I_EntProjectRoleCategory AS _ProjectRoleTypeCategory ON ProjectRoleCategory = _ProjectRoleTypeCategory.ProjectRoleCategory -- association [1..1]
LEFT OUTER JOIN I_PartnerFunction AS _PartnerFunction ON PartnerFunction = _PartnerFunction.PartnerFunction -- association [1..1]
LEFT OUTER JOIN I_EntProjectRoleTypeText AS _Text ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA