C_MassMaintCapShiftDefVH

DDL: C_MASSMAINTCAPSHIFTDEFVH Type: view_entity CONSUMPTION

Shift Definition

C_MassMaintCapShiftDefVH is a Consumption CDS View that provides data about "Shift Definition" in SAP S/4HANA. It reads from 1 data source (I_MassMaintCapShiftDefinition) and exposes 9 fields with key fields ShiftDefinition, ShiftGrouping, ShiftEndDate.

Data Sources (1)

SourceAliasJoin Type
I_MassMaintCapShiftDefinition I_MassMaintCapShiftDefinition from

Parameters (2)

NameTypeDefault
P_IntervalStartDate pph_begda
P_IntervalEndDate pph_endda

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Shift Definition view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ShiftDefinition ShiftDefinition Shift Definition
KEY ShiftGrouping ShiftGrouping Shift Grouping
KEY ShiftEndDate ShiftEndDate Shift End Date
ShiftStartDate ShiftStartDate Shift Start Date
ShiftStartTime ShiftStartTime Shift Start Time
ShiftEndTime ShiftEndTime Shift End Time
ShiftDefinitionName ShiftDefinitionName Shift Definition Name
OperatingDurationInSeconds OperatingDurationInSeconds Shift Operating Duration In Seconds
BreakDurationInSeconds BreakDurationInSeconds Shift Break Duration In Seconds

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_MassMaintCapShiftDefVH.
-- 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.
-- Parameters: P_IntervalStartDate : pph_begda, P_IntervalEndDate : pph_endda

CREATE VIEW C_MassMaintCapShiftDefVH AS
SELECT
  ShiftDefinition,
  ShiftGrouping,
  ShiftEndDate,
  ShiftStartDate,
  ShiftStartTime,
  ShiftEndTime,
  ShiftDefinitionName,
  OperatingDurationInSeconds,
  BreakDurationInSeconds
FROM I_MassMaintCapShiftDefinition
;