C_CapEvalWcUtilznInEvalHorzn
WorkCenter Utilizn in Evaluation Horizon
C_CapEvalWcUtilznInEvalHorzn is a Consumption CDS View that provides data about "WorkCenter Utilizn in Evaluation Horizon" in SAP S/4HANA. It reads from 1 data source (I_WorkCenterCapacity) and exposes 31 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityCategoryAllocation, CapacityInternalID, CapacityEvaluationTimePeriodWk. 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)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkCenterCapacity | I_WorkCenterCapacity | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | P_CapEvalCalcdField | _CalcdField | $projection.WorkCenterInternalID = _CalcdField.WorkCenterInternalID and $projection.WorkCenterTypeCode = _CalcdField.WorkCenterTypeCode and $projection.CapacityCategoryAllocation = _CalcdField.CapacityCategoryAllocation and $projection.CapacityInternalID = _CalcdField.CapacityInternalID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCAPEVALWCUTHORZ | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | WorkCenter Utilizn in Evaluation Horizon | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F3289 | ASQL_F3289 | C2 | NOT_RELEASED |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkCenterInternalID | WorkCenterInternalID | Work Center | |
| KEY | WorkCenterTypeCode | WorkCenterTypeCode | Object Type | |
| KEY | CapacityCategoryAllocation | CapacityCategoryAllocation | ||
| KEY | CapacityInternalID | CapacityInternalID | Capacity ID | |
| KEY | CapacityEvaluationTimePeriodWk | |||
| KEY | CapacityEvaluationTimePeriod | |||
| KEY | ShiftName | |||
| WorkCenter | WorkCenter | Work Center | ||
| WorkCenterEvaluationHorizon | _CalcdField | WorkCenterEvaluationHorizon | ||
| CapacityRequirementOrigin | _CalcdField | CapacityRequirementOrigin | ||
| OperationPlanningStatusCode | _CalcdField | OperationPlanningStatusCode | ||
| OrderStatusCode | _CalcdField | OrderStatusCode | ||
| WorkCenterTotUtilznInTmePerd | ||||
| WrkCtrMaintCapUtilznInPercent | ||||
| WorkCenterUtilznInHours | ||||
| BaseUnit | ||||
| WorkCenterCapUtilznValueColor | ||||
| WorkCenterCapCumltvValueColor | ||||
| WrkCtrMaintCapUtilznCrtyCode | ||||
| WorkCenterCumltvLoadInTmePerd | _CalcdField | WorkCenterCumltvLoadInTmePerd | ||
| WorkCenterCumltvLoadInHours | _CalcdField | WorkCenterCumltvLoadInHours | ||
| CurrentPlantDate | _CalcdField | CurrentPlantDate | ||
| WorkCenterAvailableCapacity | _CalcdField | WorkCenterAvailableCapacity | ||
| WorkCenterCapacityUnit | _CalcdField | WorkCenterCapacityUnit | ||
| HorizonStartDate | _CalcdField | HorizonStartDate | ||
| HorizonEndDate | _CalcdField | HorizonEndDate | ||
| CapEvalStartDate | _CalcdField | CapEvalStartDate | ||
| CapEvalBucketType | _CalcdField | CapEvalBucketType | ||
| RemainingAvailableCapacityDurn | _CalcdField | RemainingAvailableCapacityDurn | ||
| WrkCtrMaintCapUtilznInHours | ||||
| RmngAvailCapWthMaintDuration | _CalcdField | RmngAvailCapWthMaintDuration |
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_CapEvalWcUtilznInEvalHorzn.
-- 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: CCAPEVALWCUTHORZ
CREATE VIEW C_CapEvalWcUtilznInEvalHorzn AS
SELECT
WorkCenterInternalID,
WorkCenterTypeCode,
CapacityCategoryAllocation,
CapacityInternalID,
cast('' as abap.char(12)) AS CapacityEvaluationTimePeriodWk,
cast('' as abap.dats) AS CapacityEvaluationTimePeriod,
cast ('' as abap.char(4)) AS ShiftName,
WorkCenter,
_CalcdField.WorkCenterEvaluationHorizon AS WorkCenterEvaluationHorizon,
_CalcdField.CapacityRequirementOrigin AS CapacityRequirementOrigin,
_CalcdField.OperationPlanningStatusCode AS OperationPlanningStatusCode,
_CalcdField.OrderStatusCode AS OrderStatusCode,
cast(0 as dec10_2) AS WorkCenterTotUtilznInTmePerd,
cast(0 as pph_cfs_maint_util) AS WrkCtrMaintCapUtilznInPercent,
cast(0 as dec10_2) AS WorkCenterUtilznInHours,
cast('%' as meins) AS BaseUnit,
'' AS WorkCenterCapUtilznValueColor,
'' AS WorkCenterCapCumltvValueColor,
'' AS WrkCtrMaintCapUtilznCrtyCode,
_CalcdField.WorkCenterCumltvLoadInTmePerd AS WorkCenterCumltvLoadInTmePerd,
_CalcdField.WorkCenterCumltvLoadInHours AS WorkCenterCumltvLoadInHours,
_CalcdField.CurrentPlantDate AS CurrentPlantDate,
_CalcdField.WorkCenterAvailableCapacity AS WorkCenterAvailableCapacity,
_CalcdField.WorkCenterCapacityUnit AS WorkCenterCapacityUnit,
_CalcdField.HorizonStartDate AS HorizonStartDate,
_CalcdField.HorizonEndDate AS HorizonEndDate,
_CalcdField.CapEvalStartDate AS CapEvalStartDate,
_CalcdField.CapEvalBucketType AS CapEvalBucketType,
_CalcdField.RemainingAvailableCapacityDurn AS RemainingAvailableCapacityDurn,
cast(0 as pph_cfs_maint_util_hour) AS WrkCtrMaintCapUtilznInHours,
_CalcdField.RmngAvailCapWthMaintDuration AS RmngAvailCapWthMaintDuration
FROM I_WorkCenterCapacity
LEFT OUTER JOIN P_CapEvalCalcdField AS _CalcdField ON WorkCenterInternalID = _CalcdField.WorkCenterInternalID AND WorkCenterTypeCode = _CalcdField.WorkCenterTypeCode AND CapacityCategoryAllocation = _CalcdField.CapacityCategoryAllocation AND CapacityInternalID = _CalcdField.CapacityInternalID -- association [1..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