I_SrcgProjTypePhaseModel

DDL: I_SRCGPROJTYPEPHASEMODEL Type: view_entity BASIC

Phase Model for Sourcing Project Type

I_SrcgProjTypePhaseModel (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sourcing & Procurement

I_SrcgProjTypePhaseModel is a Basic CDS View that provides data about "Phase Model for Sourcing Project Type" in SAP S/4HANA. It reads from 1 data source (R_SourcingProjectType) and exposes 8 fields with key fields SourcingProjectType, SrcgProjPhaseGroup, SourcingProjectPhase, SrcgProjPhasePredecessor. It has 3 associations to related views.

SAP Help Documentation

CategoryProduct Sourcing
Purpose
This CDS view retrieves the supported phase groups and codes that have been defined for each sourcing project type. This CDS view provides the data to answer the following business questions: Which phase groups and codes are supported by each sourcing project type? What are the predecessor phase and condition type? 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 Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description SourcingProjectType Sourcing Project Type SrcgProjPhaseGroup Phase Group for Sourcing Project SourcingProjectPhase Sourcing Project Phase SrcgProjPhasePredecessor Predecessor Phase in Sourcing Project SrcgProjPhaseConditionType Condition Type in Sourcing Project

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-PUR-SRC-SP
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves the supported phase groups and codes that have been defined for each sourcing project type.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which phase groups and codes are supported by each sourcing project type?</p></li> <li><p>What are the predecessor phase and condition type?</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

Data Sources (1)

SourceAliasJoin Type
R_SourcingProjectType _Type from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_SourcingProjectTypeText _SourcingProjectTypeText $projection.SourcingProjectType = _SourcingProjectTypeText.SourcingProjectType
[0..*] I_SrcgProjPhaseGroupText _SrcgProjPhaseGroupText $projection.SrcgProjPhaseGroup = _SrcgProjPhaseGroupText.SrcgProjPhaseGroup
[0..*] I_SourcingProjectPhaseText _SourcingProjectPhaseText $projection.SourcingProjectPhase = _SourcingProjectPhaseText.SourcingProjectPhase

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.modelingPattern #NONE view
VDM.viewType #BASIC view
EndUserText.label Phase Model for Sourcing Project Type view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SourcingProjectType R_SourcingProjectType SourcingProjectType Sourcing Project Type
KEY SrcgProjPhaseGroup R_SourcingProjectType SrcgProjPhaseGroup Sourcing Project Phase Group
KEY SourcingProjectPhase _PhaseMod phase Sourcing Project Phase
KEY SrcgProjPhasePredecessor _PhaseMod phase_predecessor Sourcing Project Phase Predecessor (Phase Steps Customizing)
SrcgProjPhaseConditionType _PhaseMod condition_type Sourcing Project Condition Type
_SourcingProjectTypeText _SourcingProjectTypeText
_SrcgProjPhaseGroupText _SrcgProjPhaseGroupText
_SourcingProjectPhaseText _SourcingProjectPhaseText

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_SrcgProjTypePhaseModel.
-- 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_SrcgProjTypePhaseModel AS
SELECT
  _Type.SourcingProjectType AS SourcingProjectType,
  _Type.SrcgProjPhaseGroup AS SrcgProjPhaseGroup,
  _PhaseMod.phase AS SourcingProjectPhase,
  _PhaseMod.phase_predecessor AS SrcgProjPhasePredecessor,
  _PhaseMod.condition_type AS SrcgProjPhaseConditionType
FROM R_SourcingProjectType AS _Type
LEFT OUTER JOIN I_SourcingProjectTypeText AS _SourcingProjectTypeText ON SourcingProjectType = _SourcingProjectTypeText.SourcingProjectType  -- association [0..*]
LEFT OUTER JOIN I_SrcgProjPhaseGroupText AS _SrcgProjPhaseGroupText ON SrcgProjPhaseGroup = _SrcgProjPhaseGroupText.SrcgProjPhaseGroup  -- association [0..*]
LEFT OUTER JOIN I_SourcingProjectPhaseText AS _SourcingProjectPhaseText ON SourcingProjectPhase = _SourcingProjectPhaseText.SourcingProjectPhase  -- association [0..*]
;