I_WBSElementStructure

DDL: I_WBSELEMENTSTRUCTURE Type: view BASIC Package: ODATA_PROJECT_HIERARCHY

WBS Element Structure

I_WBSElementStructure is a Basic CDS View (Dimension) that provides data about "WBS Element Structure" in SAP S/4HANA. It reads from 1 data source (prhi) and exposes 6 fields with key field WBSElementInternalID. It has 3 associations to related views. Part of development package ODATA_PROJECT_HIERARCHY.

Data Sources (1)

SourceAliasJoin Type
prhi prhi from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_WBSElementBasicData _WBSElement $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID
[1..1] I_ProjectBasicData _Project $projection.ProjectInternalID = _Project.ProjectInternalID
[1..1] I_WBSElementBasicData _WBSElementParent $projection.WBSElementParentInternalID = _WBSElementParent.WBSElementInternalID

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IWBSELMNTSTRUC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_ALLOWED view
Analytics.dataCategory #DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
EndUserText.label WBS Element Structure view
ObjectModel.representativeKey WBSElementInternalID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY WBSElementInternalID posnr WBS Element
ProjectInternalID psphi Current proj.no
WBSElementParentInternalID up Superior
_WBSElement _WBSElement
_Project _Project
_WBSElementParent _WBSElementParent

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_WBSElementStructure.
-- 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_WBSElementStructure AS
SELECT
  posnr AS WBSElementInternalID,
  psphi AS ProjectInternalID,
  up AS WBSElementParentInternalID
FROM prhi
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID  -- association [1..1]
LEFT OUTER JOIN I_ProjectBasicData AS _Project ON ProjectInternalID = _Project.ProjectInternalID  -- association [1..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementParent ON WBSElementParentInternalID = _WBSElementParent.WBSElementInternalID  -- association [1..1]
;