I_WrkCtrCapShiftIntervalTP
Work Center Shift Interval
I_WrkCtrCapShiftIntervalTP is a Transactional CDS View that provides data about "Work Center Shift Interval" in SAP S/4HANA. It reads from 1 data source (I_WorkCenterCapacityInterval) and exposes 18 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation, CapacityInternalID, ValidityEndDate. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkCenterCapacityInterval | _shiftInterval | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_WorkCenterCapOverviewTP | _workCenterResponsible | $projection.WorkCenterInternalID = _workCenterResponsible.WorkCenterInternalID and $projection.WorkCenterTypeCode = _workCenterResponsible.WorkCenterTypeCode and $projection.CapacityCategoryAllocation = _workCenterResponsible.CapacityCategoryAllocation and $projection.CapacityInternalID = _workCenterResponsible.CapacityInternalID |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IWCCAPINTERVALTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.writeDraftPersistence | CFSWCINTERVAL_D | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Work Center Shift Interval | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkCenterInternalID | I_WorkCenterCapacityInterval | WorkCenterInternalID | Work Center |
| KEY | WorkCenterTypeCode | I_WorkCenterCapacityInterval | WorkCenterTypeCode | Object Type |
| KEY | CapacityCategoryAllocation | I_WorkCenterCapacityInterval | CapacityCategoryAllocation | |
| KEY | CapacityInternalID | I_WorkCenterCapacityInterval | CapacityInternalID | Capacity ID |
| KEY | ValidityEndDate | |||
| KEY | CapacityActiveVersion | |||
| ValidityEndDateForEdit | ||||
| ValidityBeginDate | ||||
| WorkDayRule | ||||
| CapacityNumberOfCapacities | ||||
| AvailableCapacityIntervalDurn | ||||
| CapacityPlanUtilizationPercent | ||||
| StdAvailableCapacityIsValid | ||||
| ShiftSequence | ||||
| IntervalStatusText | ||||
| IntervalStatusCode | ||||
| _workCenterResponsible | _workCenterResponsible | |||
| _Capacity | _Capacity |
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_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: IWCCAPINTERVALTP
CREATE VIEW I_WrkCtrCapShiftIntervalTP AS
SELECT
_shiftInterval.WorkCenterInternalID AS WorkCenterInternalID,
_shiftInterval.WorkCenterTypeCode AS WorkCenterTypeCode,
_shiftInterval.CapacityCategoryAllocation AS CapacityCategoryAllocation,
_shiftInterval.CapacityInternalID AS CapacityInternalID,
cast (_shiftInterval.ValidityEndDate as datub) AS ValidityEndDate,
cast(_shiftInterval.AvailableCapacityType as kapversakt) AS CapacityActiveVersion,
cast (_shiftInterval.ValidityEndDate as datub) AS ValidityEndDateForEdit,
cast (_shiftInterval.ValidityBeginDate as datub) AS ValidityBeginDate,
cast (_shiftInterval.WorkDayRule as kapfabtag) AS WorkDayRule,
cast (_shiftInterval.CapacityNumberOfCapacities as kapanzahl) AS CapacityNumberOfCapacities,
cast (_shiftInterval.AvailableCapacityIntervalDurn as numc2) AS AvailableCapacityIntervalDurn,
cast (_shiftInterval.CapacityPlanUtilizationPercent as nutzgrad) AS CapacityPlanUtilizationPercent,
cast (_shiftInterval.StdAvailableCapacityIsValid as kap_kopf) AS StdAvailableCapacityIsValid,
cast (_shiftInterval.ShiftSequence as schprog) AS ShiftSequence,
cast ('' as char20 ) AS IntervalStatusText,
cast ('' as cfs_interval_change_status ) AS IntervalStatusCode
FROM I_WorkCenterCapacityInterval AS _shiftInterval
LEFT OUTER JOIN I_WorkCenterCapOverviewTP AS _workCenterResponsible ON WorkCenterInternalID = _workCenterResponsible.WorkCenterInternalID AND WorkCenterTypeCode = _workCenterResponsible.WorkCenterTypeCode AND CapacityCategoryAllocation = _workCenterResponsible.CapacityCategoryAllocation AND CapacityInternalID = _workCenterResponsible.CapacityInternalID -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA