I_WrkCntrAssociatedCapForPlnr

DDL: I_WRKCNTRASSOCIATEDCAPFORPLNR Type: view_entity COMPOSITE Package: PPH_VDM_CAP_EVAL

Associated Capacity for planner

I_WrkCntrAssociatedCapForPlnr is a Composite CDS View that provides data about "Associated Capacity for planner" in SAP S/4HANA. It reads from 2 data sources (I_WorkCenterCapacity, I_WorkCenterCapacity) and exposes 10 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityInternalID, CapacityCategoryAllocation, CapacityResponsiblePlanner. Part of development package PPH_VDM_CAP_EVAL.

Data Sources (2)

SourceAliasJoin Type
I_WorkCenterCapacity AssociatedWorkCenterCapacity cross
I_WorkCenterCapacity WorkCenterCapacity from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label Associated Capacity for planner view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY WorkCenterInternalID I_WorkCenterCapacity WorkCenterInternalID Work Center Internal Id
KEY WorkCenterTypeCode I_WorkCenterCapacity WorkCenterTypeCode Work Center Type Code
KEY CapacityInternalID I_WorkCenterCapacity CapacityInternalID Capacity ID
KEY CapacityCategoryAllocation I_WorkCenterCapacity CapacityCategoryAllocation
KEY CapacityResponsiblePlanner
KEY AssociatedCapacityInternalID I_WorkCenterCapacity CapacityInternalID Capacity ID
AssociatedWorkCenter I_WorkCenterCapacity WorkCenter Work Center
CapacityCategoryCode I_WorkCenterCapacity CapacityCategoryCode
AssociatedWorkCenterInternalID I_WorkCenterCapacity WorkCenterInternalID Work Center
Plant

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_WrkCntrAssociatedCapForPlnr.
-- 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 I_WrkCntrAssociatedCapForPlnr AS
SELECT
  WorkCenterCapacity.WorkCenterInternalID AS WorkCenterInternalID,
  WorkCenterCapacity.WorkCenterTypeCode AS WorkCenterTypeCode,
  WorkCenterCapacity.CapacityInternalID AS CapacityInternalID,
  WorkCenterCapacity.CapacityCategoryAllocation AS CapacityCategoryAllocation,
  WorkCenterCapacity._Capacity.CapacityResponsiblePlanner AS CapacityResponsiblePlanner,
  AssociatedWorkCenterCapacity.CapacityInternalID AS AssociatedCapacityInternalID,
  AssociatedWorkCenterCapacity.WorkCenter AS AssociatedWorkCenter,
  AssociatedWorkCenterCapacity.CapacityCategoryCode AS CapacityCategoryCode,
  AssociatedWorkCenterCapacity.WorkCenterInternalID AS AssociatedWorkCenterInternalID,
  AssociatedWorkCenterCapacity._Plant.Plant AS Plant
FROM I_WorkCenterCapacity AS WorkCenterCapacity
CROSS JOIN I_WorkCenterCapacity AS AssociatedWorkCenterCapacity
;