I_ProjectPortfolioBasic

DDL: I_PROJECTPORTFOLIOBASIC Type: view_entity BASIC

Project Portfolio

I_ProjectPortfolioBasic is a Basic CDS View that provides data about "Project Portfolio" in SAP S/4HANA. It reads from 1 data source (/rpm/portfolio_d) and exposes 14 fields with key field ProjectPortfolioUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/rpm/portfolio_d /rpm/portfolio_d from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ProjectPortfolioPlanningData _ProjectPortfolioData $projection.ProjectPortfolioUUID = _ProjectPortfolioData.ProjectPortfolioPlanningUUID
[1..1] I_ProjectPortfolioLanguage _PortfolioLanguage _PortfolioLanguage.IsDefaultLanguage = 'X'

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Project Portfolio view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY ProjectPortfolioUUID guid UUID 22 char.
ProjectPortfolioExternalID external_id WEBGUI External ID
ParentObjectUUID parent_guid UUID
ProjectPortfolioMasterLanguage master_language Text Language
LastChangedByUser changed_by User Name
LastChangeDateTime Variant Changed on
ProjectPortfolioType portfolio_type Portfolio Type
ProjectPortfolioReleaseStatus release_status Status
PrjPrtfloIsClsfctnHierarchy hierarchy Hierarchy Level
ProjPrtfloHierarchyIsMandatory hier_mandatory Mandatory
FiscalYearVariant fy_variant FY Variant
CreatedByUser _ProjectPortfolioData CreatedByUser User Name
ProjectPortfolioCreatedOnDate _ProjectPortfolioData ProjectPortfolioCreatedOnDate
PrjPortfolioDefaultLanguage _PortfolioLanguage PrjPortfolioDefaultLanguage

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_ProjectPortfolioBasic.
-- 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_ProjectPortfolioBasic AS
SELECT
  guid AS ProjectPortfolioUUID,
  external_id AS ProjectPortfolioExternalID,
  parent_guid AS ParentObjectUUID,
  master_language AS ProjectPortfolioMasterLanguage,
  changed_by AS LastChangedByUser,
  cast(changed_on as timestamp preserving type) AS LastChangeDateTime,
  portfolio_type AS ProjectPortfolioType,
  release_status AS ProjectPortfolioReleaseStatus,
  hierarchy AS PrjPrtfloIsClsfctnHierarchy,
  hier_mandatory AS ProjPrtfloHierarchyIsMandatory,
  fy_variant AS FiscalYearVariant,
  _ProjectPortfolioData.CreatedByUser AS CreatedByUser,
  _ProjectPortfolioData.ProjectPortfolioCreatedOnDate AS ProjectPortfolioCreatedOnDate,
  _PortfolioLanguage.PrjPortfolioDefaultLanguage AS PrjPortfolioDefaultLanguage
FROM /rpm/portfolio_d
LEFT OUTER JOIN I_ProjectPortfolioPlanningData AS _ProjectPortfolioData ON ProjectPortfolioUUID = _ProjectPortfolioData.ProjectPortfolioPlanningUUID  -- association [1..1]
LEFT OUTER JOIN I_ProjectPortfolioLanguage AS _PortfolioLanguage ON _PortfolioLanguage.IsDefaultLanguage = 'X'  -- association [1..1]
;