P_SchedFirstOperation

DDL: P_SCHEDFIRSTOPERATION SQL: PSCHEDFRSTOP Type: view COMPOSITE

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

Data Sources (1)

SourceAliasJoin Type
I_CapacityRequirementItemCap CapRqmtItmCap from

Annotations (7)

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

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CapacityRequirement I_CapacityRequirementItemCap CapacityRequirement Id number
KEY WorkCenterInternalID I_CapacityRequirementItemCap WorkCenterInternalID Work Center
Operation

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_SchedFirstOperation.
-- 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: PSCHEDFRSTOP

CREATE VIEW P_SchedFirstOperation AS
SELECT
  CapRqmtItmCap.CapacityRequirement AS CapacityRequirement,
  CapRqmtItmCap.WorkCenterInternalID AS WorkCenterInternalID,
  min( CapRqmtItmCap.Operation ) AS Operation
FROM I_CapacityRequirementItemCap AS CapRqmtItmCap
;