I_RSHMaintSchedWrkCtrCap

DDL: I_RSHMAINTSCHEDWRKCTRCAP SQL: IRSHMNTSCHWCCAP Type: view BASIC

Work Center Capacity of Frozen Schedules

I_RSHMaintSchedWrkCtrCap is a Basic CDS View that provides data about "Work Center Capacity of Frozen Schedules" in SAP S/4HANA. It reads from 2 data sources (I_WorkCenter, rsh_d_mntschdwc) and exposes 11 fields with key fields MaintSchedSimlnUUID, WorkCenterInternalID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_WorkCenter I_WorkCenter inner
rsh_d_mntschdwc rsh_d_mntschdwc from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_RSHMaintSchedSimulation _MaintSchedSimulation _MaintSchedSimulation.MaintSchedSimlnUUID = $projection.MaintSchedSimlnUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IRSHMNTSCHWCCAP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Work Center Capacity of Frozen Schedules view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY MaintSchedSimlnUUID maintschedsimlnuuid UUID
KEY WorkCenterInternalID rsh_d_mntschdwc workcenterinternalid Work Center
WorkCenterTypeCode rsh_d_mntschdwc workcentertypecode Object Type
WorkCenter I_WorkCenter WorkCenter Work Center
TotalPlannedCapacity totalplannedcapacity
TotalPlannedCapacityUnit
TotalAvailableCapacity totalavailablecapacity
TotalAvailableCapacityUnit
Plant Plant Valuation Area
WorkCenterCategoryCode WorkCenterCategoryCode Work Center Category
_MaintSchedSimulation _MaintSchedSimulation

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_RSHMaintSchedWrkCtrCap.
-- 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: IRSHMNTSCHWCCAP

CREATE VIEW I_RSHMaintSchedWrkCtrCap AS
SELECT
  MaintSchedSimlnUUID,
  rsh_d_mntschdwc.workcenterinternalid AS WorkCenterInternalID,
  rsh_d_mntschdwc.workcentertypecode AS WorkCenterTypeCode,
  I_WorkCenter.WorkCenter AS WorkCenter,
  TotalPlannedCapacity,
  cast('s' as unit) AS TotalPlannedCapacityUnit,
  TotalAvailableCapacity,
  cast('s' as unit) AS TotalAvailableCapacityUnit,
  Plant,
  WorkCenterCategoryCode
FROM rsh_d_mntschdwc
INNER JOIN I_WorkCenter ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_RSHMaintSchedSimulation AS _MaintSchedSimulation ON _MaintSchedSimulation.MaintSchedSimlnUUID = MaintSchedSimlnUUID  -- association [1..1]
;