P_ProcCapReqOpDurn

DDL: P_PROCCAPREQOPDURN SQL: PPIOPDURN Type: view COMPOSITE

P_ProcCapReqOpDurn is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CapacityRequirementItemCap) and exposes 5 fields with key fields CapacityRequirement, CapacityRqmtItemCapacity, SuperiorOperationInternalID.

Data Sources (1)

SourceAliasJoin Type
I_CapacityRequirementItemCap CapRqmtItmCap from

Annotations (7)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CapacityRequirement I_CapacityRequirementItemCap CapacityRequirement Id number
KEY CapacityRqmtItemCapacity I_CapacityRequirementItemCap CapacityRqmtItemCapacity
KEY SuperiorOperationInternalID I_CapacityRequirementItemCap SuperiorOperationInternalID Sup. Op. Node
CapacityRequirementUnit CapacityRequirementUnit Capacity Unit
TotRemCapReqOpSegProcgDurn

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_ProcCapReqOpDurn.
-- 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: PPIOPDURN

CREATE VIEW P_ProcCapReqOpDurn AS
SELECT
  CapRqmtItmCap.CapacityRequirement AS CapacityRequirement,
  CapRqmtItmCap.CapacityRqmtItemCapacity AS CapacityRqmtItemCapacity,
  CapRqmtItmCap.SuperiorOperationInternalID AS SuperiorOperationInternalID,
  CapacityRequirementUnit,
  sum(CapRqmtItmCap.RemainingCapReqOpSegProcgDurn) AS TotRemCapReqOpSegProcgDurn
FROM I_CapacityRequirementItemCap AS CapRqmtItmCap
;