C_HCMOrgChartViewsPerScenario

DDL: C_HCMORGCHARTVIEWSPERSCENARIO Type: view_entity CONSUMPTION

Views Per Scenario

C_HCMOrgChartViewsPerScenario is a Consumption CDS View that provides data about "Views Per Scenario" in SAP S/4HANA. It reads from 1 data source (I_HCMOrgChartViewsPerScenario) and exposes 9 fields with key fields HCMOrgChartScenarioID, HCMOrgChartViewID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_HCMOrgChartViewsPerScenario I_HCMOrgChartViewsPerScenario from

Associations (1)

CardinalityTargetAliasCondition
[1..*] C_HCMOrgChartNodeTypesPerView _NodeTypes _NodeTypes.HCMOrgChartViewID = I_HCMOrgChartViewsPerScenario.HCMOrgChartViewID

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Views Per Scenario view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
Feature SW:H4S4_SFWS_SC_01 view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY HCMOrgChartScenarioID I_HCMOrgChartViewsPerScenario HCMOrgChartScenarioID Workflow definition
KEY HCMOrgChartViewID I_HCMOrgChartViewsPerScenario HCMOrgChartViewID View ID
HCMOrgChartViewOrderValue I_HCMOrgChartViewsPerScenario HCMOrgChartViewOrderValue Order
HCMOrgChartNodeGroupingValue OrgChartView HCMOrgChartNodeGroupingValue
HCMOrgChartInitialZoomFactor OrgChartView HCMOrgChartInitialZoomFactor
HCMOrgChartIsExpandDownEnabled OrgChartView HCMOrgChartIsExpandDownEnabled
HCMOrgChartIsExpandUpEnabled OrgChartView HCMOrgChartIsExpandUpEnabled
HCMOrgChartViewName
_NodeTypes _NodeTypes

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 C_HCMOrgChartViewsPerScenario.
-- 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 C_HCMOrgChartViewsPerScenario AS
SELECT
  I_HCMOrgChartViewsPerScenario.HCMOrgChartScenarioID AS HCMOrgChartScenarioID,
  I_HCMOrgChartViewsPerScenario.HCMOrgChartViewID AS HCMOrgChartViewID,
  I_HCMOrgChartViewsPerScenario.HCMOrgChartViewOrderValue AS HCMOrgChartViewOrderValue,
  OrgChartView.HCMOrgChartNodeGroupingValue AS HCMOrgChartNodeGroupingValue,
  OrgChartView.HCMOrgChartInitialZoomFactor AS HCMOrgChartInitialZoomFactor,
  OrgChartView.HCMOrgChartIsExpandDownEnabled AS HCMOrgChartIsExpandDownEnabled,
  OrgChartView.HCMOrgChartIsExpandUpEnabled AS HCMOrgChartIsExpandUpEnabled,
  OrgChartView._Text[1:Language=$session.system_language].HCMOrgChartViewName AS HCMOrgChartViewName
FROM I_HCMOrgChartViewsPerScenario
LEFT OUTER JOIN C_HCMOrgChartNodeTypesPerView AS _NodeTypes ON _NodeTypes.HCMOrgChartViewID = I_HCMOrgChartViewsPerScenario.HCMOrgChartViewID  -- association [1..*]
;