/VSCEW/A_WorkCenterInterval
Workcenter interval
/VSCEW/A_WorkCenterInterval is a CDS View that provides data about "Workcenter interval" in SAP S/4HANA. It reads from 1 data source (I_AvailableCapacityInterval) and exposes 12 fields with key fields Scenario, CapacityInternalID, AvailableCapacityType, ValidityEndDate. It has 1 association to related views. It is exposed through 2 OData services (/VSCEW/API, /VSCEW/API). Part of development package /VSCEW/API_FWI.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AvailableCapacityInterval | Interval | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | /VSCEW/A_WorkCenterShift | _Shift | _Shift.Scenario = $projection.Scenario and _Shift.CapacityInternalID = $projection.CapacityInternalID and _Shift.ValidityEndDate = $projection.ValidityEndDate |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Workcenter interval | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | YWI | view | |
| ObjectModel.query.implementedBy | ABAP:/VSCEW/FWI_DYNAMIC_HANDLER | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| /VSCEW/API | /VSCEW/API | V4 | C2 | NOT_RELEASED |
| /VSCEW/API | /VSCEW/UI_ADMIN_SCENARIO | V4 | C1 | NOT_RELEASED |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Scenario | |||
| KEY | CapacityInternalID | CapacityInternalID | Capacity ID | |
| KEY | AvailableCapacityType | AvailableCapacityType | Version | |
| KEY | ValidityEndDate | ValidityEndDate | ValidTo | |
| ValidityStartDate | ||||
| CapacityNumberOfCapacities | CapacityNumberOfCapacities | Standard Pct. | ||
| AvailableCapacityIntervalDurn | AvailableCapacityIntervalDurn | |||
| WorkDayRule | WorkDayRule | Recurrence Weekdays | ||
| ShiftSequence | ShiftSequence | Shift Sequence | ||
| CapacityPlanUtilizationPercent | CapacityPlanUtilizationPercent | Utilization | ||
| StdAvailableCapacityIsValid | StdAvailableCapacityIsValid | Header Condit. | ||
| _Shift | _Shift |
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 /VSCEW/A_WorkCenterInterval.
-- 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 /VSCEW/A_WorkCenterInterval AS
SELECT
cast('NONE' as /vscew/scenario) AS Scenario,
CapacityInternalID,
AvailableCapacityType,
ValidityEndDate,
cast('00000000' as datuv) AS ValidityStartDate,
CapacityNumberOfCapacities,
AvailableCapacityIntervalDurn,
WorkDayRule,
ShiftSequence,
CapacityPlanUtilizationPercent,
StdAvailableCapacityIsValid
FROM I_AvailableCapacityInterval AS Interval
LEFT OUTER JOIN /VSCEW/A_WorkCenterShift AS _Shift ON _Shift.Scenario = Scenario AND _Shift.CapacityInternalID = CapacityInternalID AND _Shift.ValidityEndDate = ValidityEndDate -- association [0..*]
;
Learn More
- 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?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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