P_WorkCenterAllCapacity

DDL: P_WORKCENTERALLCAPACITY SQL: PWORKCTRALLCAP Type: view COMPOSITE

P_WorkCenterAllCapacity is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_WorkCenterCapacity) and exposes 12 fields with key fields WorkCenterInternalID, WorkCenterTypeCode, CapacityInternalID, CapacityCategoryAllocation.

Data Sources (1)

SourceAliasJoin Type
I_WorkCenterCapacity WorkCenterCapacity from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PWORKCTRALLCAP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (12)

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
WorkCenter I_WorkCenterCapacity WorkCenter Work Center
WorkCenterDesc
Plant I_WorkCenterCapacity Plant Valuation Area
WorkCenterCategoryCode
WorkCenterResponsible
SupplyArea
WorkCenterUsage
CapacityCategoryCode I_WorkCenterCapacity CapacityCategoryCode

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_WorkCenterAllCapacity.
-- 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: PWORKCTRALLCAP

CREATE VIEW P_WorkCenterAllCapacity AS
SELECT
  WorkCenterCapacity.WorkCenterInternalID AS WorkCenterInternalID,
  WorkCenterCapacity.WorkCenterTypeCode AS WorkCenterTypeCode,
  WorkCenterCapacity.CapacityInternalID AS CapacityInternalID,
  WorkCenterCapacity.CapacityCategoryAllocation AS CapacityCategoryAllocation,
  WorkCenterCapacity.WorkCenter AS WorkCenter,
  WorkCenterCapacity._WorkCenter._Text[1:Language=$session.system_language].WorkCenterText AS WorkCenterDesc,
  WorkCenterCapacity.Plant AS Plant,
  WorkCenterCapacity._WorkCenter.WorkCenterCategoryCode AS WorkCenterCategoryCode,
  WorkCenterCapacity._WorkCenter.WorkCenterResponsible AS WorkCenterResponsible,
  WorkCenterCapacity._WorkCenter.SupplyArea AS SupplyArea,
  WorkCenterCapacity._WorkCenter.WorkCenterUsage AS WorkCenterUsage,
  WorkCenterCapacity.CapacityCategoryCode AS CapacityCategoryCode
FROM I_WorkCenterCapacity AS WorkCenterCapacity
;