I_CapEvalShiftDefVH

DDL: I_CAPEVALSHIFTDEFVH Type: view_entity COMPOSITE Package: PPH_VDM_CAP_EVAL

Capacity Evaluation Shift Definition Value Help

I_CapEvalShiftDefVH is a Composite CDS View that provides data about "Capacity Evaluation Shift Definition Value Help" in SAP S/4HANA. It reads from 3 data sources (I_ShiftDefinition, I_ShiftDefinitionText, P_WorkCenterHeaderCapDef) and exposes 8 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation, CapacityInternalID, ShiftDefinition. It has 1 association to related views. Part of development package PPH_VDM_CAP_EVAL.

Data Sources (3)

SourceAliasJoin Type
I_ShiftDefinition _ShiftDef inner
I_ShiftDefinitionText _Text left_outer
P_WorkCenterHeaderCapDef _WorkCenterCapacity from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language _Text.Language = _Language.Language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Capacity Evaluation Shift Definition Value Help view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
ObjectModel.dataCategory #VALUE_HELP view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterInternalID P_WorkCenterHeaderCapDef WorkCenterInternalID Work Center
KEY WorkCenterTypeCode P_WorkCenterHeaderCapDef WorkCenterTypeCode Object Type
KEY CapacityCategoryAllocation P_WorkCenterHeaderCapDef CapacityCategoryAllocation
KEY CapacityInternalID P_WorkCenterHeaderCapDef CapacityInternalID Capacity ID
KEY ShiftDefinition I_ShiftDefinition ShiftDefinition Shift Definition
KEY Language I_ShiftDefinitionText Language Report Text Language
ShiftDefinitionName I_ShiftDefinitionText ShiftDefinitionName Text
_Language _Language

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_CapEvalShiftDefVH.
-- 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_CapEvalShiftDefVH AS
SELECT
  _WorkCenterCapacity.WorkCenterInternalID AS WorkCenterInternalID,
  _WorkCenterCapacity.WorkCenterTypeCode AS WorkCenterTypeCode,
  _WorkCenterCapacity.CapacityCategoryAllocation AS CapacityCategoryAllocation,
  _WorkCenterCapacity.CapacityInternalID AS CapacityInternalID,
  _ShiftDef.ShiftDefinition AS ShiftDefinition,
  _Text.Language AS Language,
  _Text.ShiftDefinitionName AS ShiftDefinitionName
FROM P_WorkCenterHeaderCapDef AS _WorkCenterCapacity
INNER JOIN I_ShiftDefinition AS _ShiftDef ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ShiftDefinitionText AS _Text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Language AS _Language ON _Text.Language = _Language.Language  -- association [0..1]
;