I_WorkCenterCapacityShift_4

DDL: I_WORKCENTERCAPACITYSHIFT_4 Type: view_entity COMPOSITE Package: ODATA_PP_WORKCENTER_API

Work Center Capacity Shift Details

I_WorkCenterCapacityShift_4 (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

WorkCenterCapacityIntervalShft · Manufacturing

I_WorkCenterCapacityShift_4 is a Composite CDS View (Dimension) that provides data about "Work Center Capacity Shift Details" in SAP S/4HANA. It reads from 2 data sources (I_WorkCenterCapIntvl_4, I_WorkCenterCapacityShift_3) and exposes 28 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation, CapacityInternalID, CapacityActiveVersion. Part of development package ODATA_PP_WORKCENTER_API.

SAP Help Documentation

CategoryCDS Views for Basic Work Center Data
Data CategoryDIMENSION
Purpose
This CDS view is designed to provide detailed information about workcenter capacity shifts by combining data from workcenter capcity intervals and shifts. It serves as a composite view that integrates various attributes related to workcenter capacity, shift definitions, and operational durations, enabling comprehensive analysis and reporting. This CDS view provides the data to answer the following business questions: What are the details of capacity shifts for specific workcenters, including start and end times, shift definitions, and validity periods? How is the capacity allocated across different categories and workcenter types? What is the utilization percentage of planned capacity for each shift? What are the operating durations and break durations associated with each capacity shift? How can we track changes in capacity data over time, including the last change date and time? How do workday rules and weekday associations impact the scheduling and operation of workcenter shifts? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: C_KAPA_PLA - CIM: Capacity planning These restriction types are edited in the Maintain Business Roles app.

Structure
Important Fields Important fields in this view include the following: Field Name Description WorkCenterInternalID Object ID WorkCenterTypeCode Object Type CapacityCategoryAllocation Capacity Allocation CapacityInternalID Capacity ID CapacityActiveVersion Version IntervalEndDate Valid To WeekDay Week Day AvailableCapacityShift Capacity Shift IntervalStartDate Valid From WorkDayRule Workday Rule ShiftDefinition Shift Definition ShiftStartTime Start Time ShiftEndTime End Time ShiftDefValidityStartDate Start Date ShiftDefValidityEndDate End Date CapacityNumberOfCapacities No. Ind. Capacities CapacityPlanUtilizationPercent Capacity Utilization CapacityBreakDuration Break Duration OperatingDurationInSeconds Operating Duration TotOperatingDurationInSeconds Total Operating Duration In Seconds CapacityLastChangeDateTime Capacity Last Change Date Time

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessManufacturing
Application ComponentPP-BD-WKC-2CL
CapabilitiesData Source for Data Extraction,Analytical Dimension,Association Target for Defining CDS Entities,Data Source in SQL Select,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageManufacturing for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view is designed to provide detailed information about workcenter capacity shifts by combining data from workcenter capcity intervals and shifts. It serves as a composite view that integrates various attributes related to workcenter capacity, shift definitions, and operational durations, enabling comprehensive analysis and reporting.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the details of capacity shifts for specific workcenters, including start and end times, shift definitions, and validity periods?</p></li> <li><p>How is the capacity allocated across different categories and workcenter types?</p></li> <li><p>What is the utilization percentage of planned capacity for each shift?</p></li> <li><p>What are the operating durations and break durations associated with each capacity shift?</p></li> <li><p>How can we track changes in capacity data over time, including the last change date and time?</p></li> <li><p>How do workday rules and weekday associations impact the scheduling and operation of workcenter shifts?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (2)

SourceAliasJoin Type
I_WorkCenterCapIntvl_4 Interval inner
I_WorkCenterCapacityShift_3 Shift from

Annotations (15)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Work Center Capacity Shift Details view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey AvailableCapacityShift view
ObjectModel.sapObjectNodeType.name WorkCenterCapacityIntervalShft view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterInternalID I_WorkCenterCapIntvl_4 WorkCenterInternalID Object ID of the resource
KEY WorkCenterTypeCode I_WorkCenterCapIntvl_4 WorkCenterTypeCode Object types of the CIM resource
KEY CapacityCategoryAllocation I_WorkCenterCapIntvl_4 CapacityCategoryAllocation Capacity Category Allocation
KEY CapacityInternalID I_WorkCenterCapacityShift_3 CapacityInternalID Capacity ID
KEY CapacityActiveVersion I_WorkCenterCapacityShift_3 CapacityActiveVersion Available capacity version
KEY IntervalEndDate I_WorkCenterCapacityShift_3 IntervalEndDate Valid-to date
KEY WeekDay I_WorkCenterCapacityShift_3 WeekDay Weekdays
KEY AvailableCapacityShift I_WorkCenterCapacityShift_3 AvailableCapacityShift Shift Number of an Available Capacity
IntervalStartDate I_WorkCenterCapacityShift_3 IntervalStartDate Valid-From Date
WorkDayRule I_WorkCenterCapacityShift_3 WorkDayRule Recurrence Weekdays
ShiftDefinition I_WorkCenterCapacityShift_3 ShiftDefinition Shift Definition
ShiftStartTime I_WorkCenterCapacityShift_3 ShiftStartTime Start Time
ShiftEndTime I_WorkCenterCapacityShift_3 ShiftEndTime End Time
ShiftDefValidityStartDate I_WorkCenterCapacityShift_3 ShiftDefValidityStartDate Start Date
ShiftDefValidityEndDate I_WorkCenterCapacityShift_3 ShiftDefValidityEndDate End Date
CapacityNumberOfCapacities I_WorkCenterCapacityShift_3 CapacityNumberOfCapacities Number of Individual Capacities
CapacityPlanUtilizationPercent I_WorkCenterCapacityShift_3 CapacityPlanUtilizationPercent Capacity Utilization Ratio in Percent
CapacityBreakDuration I_WorkCenterCapacityShift_3 CapacityBreakDuration Cumulative Break Duration in Seconds (internal)
OperatingDurationInSeconds I_WorkCenterCapacityShift_3 OperatingDurationInSeconds Operating Duration in Seconds
TotOperatingDurationInSeconds I_WorkCenterCapacityShift_3 TotOperatingDurationInSeconds Total Operating Duration In Seconds
CapacityLastChangeDateTime I_WorkCenterCapacityShift_3 CapacityLastChangeDateTime Capacity Last Change Date Time
_AvailableCapacityType I_WorkCenterCapacityShift_3 _AvailableCapacityType
_Capacity I_WorkCenterCapacityShift_3 _Capacity
_EndDate I_WorkCenterCapacityShift_3 _EndDate
_WeekDay I_WorkCenterCapacityShift_3 _WeekDay
_WorkCenter I_WorkCenterCapIntvl_4 _WorkCenter
_WorkCenterTypeCode I_WorkCenterCapIntvl_4 _WorkCenterTypeCode
_WorkCenterCapMap I_WorkCenterCapIntvl_4 _WorkCenterCapMap

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_WorkCenterCapacityShift_4.
-- 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_WorkCenterCapacityShift_4 AS
SELECT
  Interval.WorkCenterInternalID AS WorkCenterInternalID,
  Interval.WorkCenterTypeCode AS WorkCenterTypeCode,
  Interval.CapacityCategoryAllocation AS CapacityCategoryAllocation,
  Shift.CapacityInternalID AS CapacityInternalID,
  Shift.CapacityActiveVersion AS CapacityActiveVersion,
  Shift.IntervalEndDate AS IntervalEndDate,
  Shift.WeekDay AS WeekDay,
  Shift.AvailableCapacityShift AS AvailableCapacityShift,
  Shift.IntervalStartDate AS IntervalStartDate,
  Shift.WorkDayRule AS WorkDayRule,
  Shift.ShiftDefinition AS ShiftDefinition,
  Shift.ShiftStartTime AS ShiftStartTime,
  Shift.ShiftEndTime AS ShiftEndTime,
  Shift.ShiftDefValidityStartDate AS ShiftDefValidityStartDate,
  Shift.ShiftDefValidityEndDate AS ShiftDefValidityEndDate,
  Shift.CapacityNumberOfCapacities AS CapacityNumberOfCapacities,
  Shift.CapacityPlanUtilizationPercent AS CapacityPlanUtilizationPercent,
  Shift.CapacityBreakDuration AS CapacityBreakDuration,
  Shift.OperatingDurationInSeconds AS OperatingDurationInSeconds,
  Shift.TotOperatingDurationInSeconds AS TotOperatingDurationInSeconds,
  Shift.CapacityLastChangeDateTime AS CapacityLastChangeDateTime,
  Shift._AvailableCapacityType AS _AvailableCapacityType,
  Shift._Capacity AS _Capacity,
  Shift._EndDate AS _EndDate,
  Shift._WeekDay AS _WeekDay,
  Interval._WorkCenter AS _WorkCenter,
  Interval._WorkCenterTypeCode AS _WorkCenterTypeCode,
  Interval._WorkCenterCapMap AS _WorkCenterCapMap
FROM I_WorkCenterCapacityShift_3 AS Shift
INNER JOIN I_WorkCenterCapIntvl_4 AS Interval ON /* join condition not captured in parsed metadata */
;