P_RSHMaintAssetBrdPPNonWrkgTme

DDL: P_RSHMAINTASSETBRDPPNONWRKGTME SQL: PRSHASTNONWRKTME Type: view CONSUMPTION

Non working days for a work center

P_RSHMaintAssetBrdPPNonWrkgTme is a Consumption CDS View that provides data about "Non working days for a work center" in SAP S/4HANA. It reads from 2 data sources (P_RSHCALWORKDAYS, I_RSHMaintSchedSmltdWrkCtr) and exposes 11 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityInternalID, CalendarDate, CapacityStartTime.

Data Sources (2)

SourceAliasJoin Type
P_RSHCALWORKDAYS P_RSHCALWORKDAYS inner
I_RSHMaintSchedSmltdWrkCtr SimulatedWorkCenters inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PRSHASTNONWRKTME view
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Non working days for a work center view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterInternalID CapacityPerDay WorkCenterInternalID Work Center
KEY WorkCenterTypeCode CapacityPerDay WorkCenterTypeCode Object Type
KEY CapacityInternalID CapacityPerDay CapacityInternalID Capacity ID
KEY CalendarDate CapacityPerDay CalendarDate Calendar Date
KEY CapacityStartTime CapacityPerDay CapacityStartTime
KEY MaintSchedSimlnUUID MaintSchedSimlnUUID UUID
WorkCenter WorkCenter Work Center
WorkCenterCategoryCode WorkCenterCategoryCode
Plant Plant Valuation Area
MaintSchedSimulationStartDate MaintSchedSimulationStartDate Start Date
MaintSchedSimulationEndDate MaintSchedSimulationEndDate End Date

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_RSHMaintAssetBrdPPNonWrkgTme.
-- 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: PRSHASTNONWRKTME

CREATE VIEW P_RSHMaintAssetBrdPPNonWrkgTme AS
SELECT
  CapacityPerDay.WorkCenterInternalID AS WorkCenterInternalID,
  CapacityPerDay.WorkCenterTypeCode AS WorkCenterTypeCode,
  CapacityPerDay.CapacityInternalID AS CapacityInternalID,
  CapacityPerDay.CalendarDate AS CalendarDate,
  CapacityPerDay.CapacityStartTime AS CapacityStartTime,
  MaintSchedSimlnUUID,
  WorkCenter,
  WorkCenterCategoryCode,
  Plant,
  MaintSchedSimulationStartDate,
  MaintSchedSimulationEndDate
INNER JOIN I_RSHMaintSchedSmltdWrkCtr AS SimulatedWorkCenters ON /* join condition not captured in parsed metadata */
INNER JOIN P_RSHCALWORKDAYS ON /* join condition not captured in parsed metadata */
;