P_RSHWCCapaInterDetails_Cache
The view refines the intervals with additional details
P_RSHWCCapaInterDetails_Cache is a Consumption CDS View that provides data about "The view refines the intervals with additional details" in SAP S/4HANA. It reads from 1 data source (P_RSHWCCapaHdrAndIntrval_Cache) and exposes 25 fields with key fields CapacityInternalID, ValidityEndDate.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_RSHWCCapaHdrAndIntrval_Cache | header_w_end | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRSHWCINDETCACHE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | The view refines the intervals with additional details | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CapacityInternalID | P_RSHWCCapaHdrAndIntrval_Cache | CapacityInternalID | Capacity ID |
| KEY | ValidityEndDate | P_RSHWCCapaHdrAndIntrval_Cache | ValidityEndDate | ValidTo |
| ValidityEndDateendasValidityBeginDate | ||||
| HeaderValidityBeginDate | P_RSHWCCapaHdrAndIntrval_Cache | HeaderValidityBeginDate | ||
| HeaderValidityEndDate | P_RSHWCCapaHdrAndIntrval_Cache | HeaderValidityEndDate | to | |
| IntervalValidityEndDate | P_RSHWCCapaHdrAndIntrval_Cache | IntervalValidityEndDate | ValidTo | |
| WorkCenterInternalID | P_RSHWCCapaHdrAndIntrval_Cache | WorkCenterInternalID | Work Center | |
| CapacityStartTime | P_RSHWCCapaHdrAndIntrval_Cache | CapacityStartTime | ||
| CapacityEndTime | P_RSHWCCapaHdrAndIntrval_Cache | CapacityEndTime | ||
| CapacityNumberOfCapacities | P_RSHWCCapaHdrAndIntrval_Cache | CapacityNumberOfCapacities | ||
| CapacityPlanUtilizationPercent | P_RSHWCCapaHdrAndIntrval_Cache | CapacityPlanUtilizationPercent | ||
| CapacityBreakDuration | P_RSHWCCapaHdrAndIntrval_Cache | CapacityBreakDuration | ||
| TotOperatingDurationInSeconds | P_RSHWCCapaHdrAndIntrval_Cache | TotOperatingDurationInSeconds | ||
| OperatingDurationInSeconds | P_RSHWCCapaHdrAndIntrval_Cache | OperatingDurationInSeconds | ||
| WorkCenter | P_RSHWCCapaHdrAndIntrval_Cache | WorkCenter | Work Center | |
| WorkCenterCategoryCode | P_RSHWCCapaHdrAndIntrval_Cache | WorkCenterCategoryCode | ||
| WorkCenterTypeCode | P_RSHWCCapaHdrAndIntrval_Cache | WorkCenterTypeCode | Object Type | |
| Plant | P_RSHWCCapaHdrAndIntrval_Cache | Plant | Valuation Area | |
| FactoryCalendar | P_RSHWCCapaHdrAndIntrval_Cache | FactoryCalendar | Factory Calendar | |
| ShiftGroup | P_RSHWCCapaHdrAndIntrval_Cache | ShiftGroup | Shift Grouping | |
| CapacityActiveVersion | P_RSHWCCapaHdrAndIntrval_Cache | CapacityActiveVersion | ||
| AvailableCapacityIntervalDurn | P_RSHWCCapaHdrAndIntrval_Cache | AvailableCapacityIntervalDurn | ||
| WorkDayRule | P_RSHWCCapaHdrAndIntrval_Cache | WorkDayRule | Recurrence Weekdays | |
| StdAvailableCapacityIsValid | P_RSHWCCapaHdrAndIntrval_Cache | StdAvailableCapacityIsValid | ||
| AvailableCapacityType | P_RSHWCCapaHdrAndIntrval_Cache | AvailableCapacityType |
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 P_RSHWCCapaInterDetails_Cache.
-- 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: PRSHWCINDETCACHE
CREATE VIEW P_RSHWCCapaInterDetails_Cache AS
SELECT
header_w_end.CapacityInternalID AS CapacityInternalID,
header_w_end.ValidityEndDate AS ValidityEndDate,
case when header_w_begin.CapacityInternalID is null then cast('00000000' as dats) else max(header_w_begin.ValidityEndDate) end as ValidityBeginDate AS ValidityEndDateendasValidityBeginDate,
header_w_end.HeaderValidityBeginDate AS HeaderValidityBeginDate,
header_w_end.HeaderValidityEndDate AS HeaderValidityEndDate,
header_w_end.IntervalValidityEndDate AS IntervalValidityEndDate,
header_w_end.WorkCenterInternalID AS WorkCenterInternalID,
header_w_end.CapacityStartTime AS CapacityStartTime,
header_w_end.CapacityEndTime AS CapacityEndTime,
header_w_end.CapacityNumberOfCapacities AS CapacityNumberOfCapacities,
header_w_end.CapacityPlanUtilizationPercent AS CapacityPlanUtilizationPercent,
header_w_end.CapacityBreakDuration AS CapacityBreakDuration,
header_w_end.TotOperatingDurationInSeconds AS TotOperatingDurationInSeconds,
header_w_end.OperatingDurationInSeconds AS OperatingDurationInSeconds,
header_w_end.WorkCenter AS WorkCenter,
header_w_end.WorkCenterCategoryCode AS WorkCenterCategoryCode,
header_w_end.WorkCenterTypeCode AS WorkCenterTypeCode,
header_w_end.Plant AS Plant,
header_w_end.FactoryCalendar AS FactoryCalendar,
header_w_end.ShiftGroup AS ShiftGroup,
header_w_end.CapacityActiveVersion AS CapacityActiveVersion,
header_w_end.AvailableCapacityIntervalDurn AS AvailableCapacityIntervalDurn,
header_w_end.WorkDayRule AS WorkDayRule,
header_w_end.StdAvailableCapacityIsValid AS StdAvailableCapacityIsValid,
header_w_end.AvailableCapacityType AS AvailableCapacityType
FROM P_RSHWCCapaHdrAndIntrval_Cache AS header_w_end
;
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