A_WorkCenterCapacityInterval
Capacity Interval
A_WorkCenterCapacityInterval is a Composite CDS View that provides data about "Capacity Interval" in SAP S/4HANA. It reads from 1 data source (I_WorkCenterCapacityInterval) and exposes 14 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation, CapacityInternalID, CapacityActiveVersion. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F8997). Part of development package ODATA_PP_WORKCENTER_API.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkCenterCapacityInterval | Interval | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | A_WorkCenterCapacityShift | _WorkCenterShift | $projection.WorkCenterInternalID = _WorkCenterShift.WorkCenterInternalID and $projection.WorkCenterTypeCode = _WorkCenterShift.WorkCenterTypeCode and $projection.CapacityInternalID = _WorkCenterShift.CapacityInternalID and $projection.CapacityCategoryAllocation = _WorkCenterShift.CapacityCategoryAllocation and $projection.CapacityActiveVersion = _WorkCenterShift.CapacityActiveVersion and $projection.IntervalEndDate = _WorkCenterShift.IntervalEndDate |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Capacity Interval | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F8997 | ASQL_F8997 | C2 | NOT_RELEASED |
Fields (14)
| 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 | CapacityActiveVersion | I_WorkCenterCapacityInterval | AvailableCapacityType | |
| KEY | IntervalEndDate | I_WorkCenterCapacityInterval | ValidityEndDate | ValidTo |
| IntervalStartDate | I_WorkCenterCapacityInterval | ValidityBeginDate | ||
| WorkCenter | I_WorkCenterCapacityInterval | WorkCenter | Work Center | |
| Plant | I_WorkCenterCapacityInterval | Plant | Valuation Area | |
| WorkDayRule | I_WorkCenterCapacityInterval | WorkDayRule | Recurrence Weekdays | |
| AvailableCapacityIntervalDurn | I_WorkCenterCapacityInterval | AvailableCapacityIntervalDurn | ||
| ShiftSequence | I_WorkCenterCapacityInterval | ShiftSequence | Shift Sequence | |
| StdAvailableCapacityIsValid | I_WorkCenterCapacityInterval | StdAvailableCapacityIsValid | ||
| _WorkCenterShift | _WorkCenterShift |
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 A_WorkCenterCapacityInterval.
-- 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 A_WorkCenterCapacityInterval AS
SELECT
Interval.WorkCenterInternalID AS WorkCenterInternalID,
Interval.WorkCenterTypeCode AS WorkCenterTypeCode,
Interval.CapacityCategoryAllocation AS CapacityCategoryAllocation,
Interval.CapacityInternalID AS CapacityInternalID,
Interval.AvailableCapacityType AS CapacityActiveVersion,
Interval.ValidityEndDate AS IntervalEndDate,
Interval.ValidityBeginDate AS IntervalStartDate,
Interval.WorkCenter AS WorkCenter,
Interval.Plant AS Plant,
Interval.WorkDayRule AS WorkDayRule,
Interval.AvailableCapacityIntervalDurn AS AvailableCapacityIntervalDurn,
Interval.ShiftSequence AS ShiftSequence,
Interval.StdAvailableCapacityIsValid AS StdAvailableCapacityIsValid
FROM I_WorkCenterCapacityInterval AS Interval
LEFT OUTER JOIN A_WorkCenterCapacityShift AS _WorkCenterShift ON WorkCenterInternalID = _WorkCenterShift.WorkCenterInternalID AND WorkCenterTypeCode = _WorkCenterShift.WorkCenterTypeCode AND CapacityInternalID = _WorkCenterShift.CapacityInternalID AND CapacityCategoryAllocation = _WorkCenterShift.CapacityCategoryAllocation AND CapacityActiveVersion = _WorkCenterShift.CapacityActiveVersion AND IntervalEndDate = _WorkCenterShift.IntervalEndDate -- association [1..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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