P_SchedFirstOperation

DDL: P_SCHEDFIRSTOPERATION Type: view_entity COMPOSITE Package: PPH_VDM_CAP_EVAL

Schedule Production Top Operation on same Resource

P_SchedFirstOperation is a Composite CDS View that provides data about "Schedule Production Top Operation on same Resource" in SAP S/4HANA. It reads from 1 data source (I_CapacityRequirementItemCap) and exposes 3 fields with key fields CapacityRequirement, WorkCenterInternalID. Part of development package PPH_VDM_CAP_EVAL.

Data Sources (1)

SourceAliasJoin Type
I_CapacityRequirementItemCap CapRqmtItmCap from

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true 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.

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