C_WrkCtrCapShiftIntervalTP

DDL: C_WRKCTRCAPSHIFTINTERVALTP SQL: CWCCAPINTERVALTP Type: view CONSUMPTION Package: ODATA_PP_CAP_EVAL

Work Center Shift Interval : Consumption

C_WrkCtrCapShiftIntervalTP is a Consumption CDS View that provides data about "Work Center Shift Interval : Consumption" in SAP S/4HANA. It reads from 1 data source (I_WrkCtrCapShiftIntervalTP) and exposes 17 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation, CapacityInternalID, ValidityEndDate. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F3289). Part of development package ODATA_PP_CAP_EVAL.

Data Sources (1)

SourceAliasJoin Type
I_WrkCtrCapShiftIntervalTP _shiftInterval from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_WorkCenterCapOverviewTP _workCenterResponsible $projection.WorkCenterInternalID = _workCenterResponsible.WorkCenterInternalID and $projection.WorkCenterTypeCode = _workCenterResponsible.WorkCenterTypeCode and $projection.CapacityCategoryAllocation = _workCenterResponsible.CapacityCategoryAllocation and $projection.CapacityInternalID = _workCenterResponsible.CapacityInternalID

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CWCCAPINTERVALTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Work Center Shift Interval : Consumption view
ClientHandling.algorithm #SESSION_VARIABLE view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3289 ASQL_F3289 C2 NOT_RELEASED

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterInternalID I_WrkCtrCapShiftIntervalTP WorkCenterInternalID Work Center
KEY WorkCenterTypeCode I_WrkCtrCapShiftIntervalTP WorkCenterTypeCode Object Type
KEY CapacityCategoryAllocation I_WrkCtrCapShiftIntervalTP CapacityCategoryAllocation
KEY CapacityInternalID I_WrkCtrCapShiftIntervalTP CapacityInternalID Capacity ID
KEY ValidityEndDate I_WrkCtrCapShiftIntervalTP ValidityEndDate ValidTo
KEY CapacityActiveVersion I_WrkCtrCapShiftIntervalTP CapacityActiveVersion
ValidityEndDateForEdit I_WrkCtrCapShiftIntervalTP ValidityEndDateForEdit Valid To
ValidityBeginDate I_WrkCtrCapShiftIntervalTP ValidityBeginDate
WorkDayRule I_WrkCtrCapShiftIntervalTP WorkDayRule Recurrence Weekdays
CapacityNumberOfCapacities I_WrkCtrCapShiftIntervalTP CapacityNumberOfCapacities
AvailableCapacityIntervalDurn I_WrkCtrCapShiftIntervalTP AvailableCapacityIntervalDurn
CapacityPlanUtilizationPercent I_WrkCtrCapShiftIntervalTP CapacityPlanUtilizationPercent
StdAvailableCapacityIsValid I_WrkCtrCapShiftIntervalTP StdAvailableCapacityIsValid
ShiftSequence I_WrkCtrCapShiftIntervalTP ShiftSequence Shift Sequence
IntervalStatusText I_WrkCtrCapShiftIntervalTP IntervalStatusText
IntervalStatusCode I_WrkCtrCapShiftIntervalTP IntervalStatusCode
_workCenterResponsible _workCenterResponsible

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_WrkCtrCapShiftIntervalTP.
-- 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: CWCCAPINTERVALTP

CREATE VIEW C_WrkCtrCapShiftIntervalTP AS
SELECT
  _shiftInterval.WorkCenterInternalID AS WorkCenterInternalID,
  _shiftInterval.WorkCenterTypeCode AS WorkCenterTypeCode,
  _shiftInterval.CapacityCategoryAllocation AS CapacityCategoryAllocation,
  _shiftInterval.CapacityInternalID AS CapacityInternalID,
  _shiftInterval.ValidityEndDate AS ValidityEndDate,
  _shiftInterval.CapacityActiveVersion AS CapacityActiveVersion,
  _shiftInterval.ValidityEndDateForEdit AS ValidityEndDateForEdit,
  _shiftInterval.ValidityBeginDate AS ValidityBeginDate,
  _shiftInterval.WorkDayRule AS WorkDayRule,
  _shiftInterval.CapacityNumberOfCapacities AS CapacityNumberOfCapacities,
  _shiftInterval.AvailableCapacityIntervalDurn AS AvailableCapacityIntervalDurn,
  _shiftInterval.CapacityPlanUtilizationPercent AS CapacityPlanUtilizationPercent,
  _shiftInterval.StdAvailableCapacityIsValid AS StdAvailableCapacityIsValid,
  _shiftInterval.ShiftSequence AS ShiftSequence,
  _shiftInterval.IntervalStatusText AS IntervalStatusText,
  _shiftInterval.IntervalStatusCode AS IntervalStatusCode
FROM I_WrkCtrCapShiftIntervalTP AS _shiftInterval
LEFT OUTER JOIN C_WorkCenterCapOverviewTP AS _workCenterResponsible ON WorkCenterInternalID = _workCenterResponsible.WorkCenterInternalID AND WorkCenterTypeCode = _workCenterResponsible.WorkCenterTypeCode AND CapacityCategoryAllocation = _workCenterResponsible.CapacityCategoryAllocation AND CapacityInternalID = _workCenterResponsible.CapacityInternalID  -- association [1..1]
;