P_WrkCtrCapShftDef

DDL: P_WRKCTRCAPSHFTDEF SQL: PWCCAPSHFTDEF Type: view COMPOSITE

P_WrkCtrCapShftDef is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_WorkCenterShiftDefinition) and exposes 10 fields with key fields ShiftDefinition, ShiftGrouping, ShiftEndDate.

Data Sources (1)

SourceAliasJoin Type
P_WorkCenterShiftDefinition P_WorkCenterShiftDefinition from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PWCCAPSHFTDEF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ShiftDefinition ShiftDefinition
KEY ShiftGrouping ShiftGrouping Shift Grouping
KEY ShiftEndDate ShiftEndDate
ShiftEndTime ShiftEndTime
CapacityEndTimeID CapacityEndTimeID
ShiftStartDate ShiftStartDate
ShiftStartTime ShiftStartTime
CapacityStartTimeID CapacityStartTimeID
OperatingDurationInSeconds OperatingDurationInSeconds
ValidityEndDate ValidityEndDate ValidTo

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 P_WrkCtrCapShftDef.
-- 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.
-- SQL view name: PWCCAPSHFTDEF

CREATE VIEW P_WrkCtrCapShftDef AS
SELECT
  ShiftDefinition,
  ShiftGrouping,
  ShiftEndDate,
  ShiftEndTime,
  CapacityEndTimeID,
  ShiftStartDate,
  ShiftStartTime,
  CapacityStartTimeID,
  OperatingDurationInSeconds,
  ValidityEndDate
FROM P_WorkCenterShiftDefinition
;