P_InspectionLotAggregate3

DDL: P_INSPECTIONLOTAGGREGATE3 SQL: PINSPLOTAGR3 Type: view COMPOSITE

P_InspectionLotAggregate3 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_InspOperationUsageDecision) and exposes 2 fields with key field InspectionLot.

Data Sources (1)

SourceAliasJoin Type
I_InspOperationUsageDecision I_InspOperationUsageDecision from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PINSPLOTAGR3 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspOperationUsageDecision InspectionLot Inspection Lot
InspOperationCompletedCount

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_InspectionLotAggregate3.
-- 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: PINSPLOTAGR3

CREATE VIEW P_InspectionLotAggregate3 AS
SELECT
  I_InspOperationUsageDecision.InspectionLot AS InspectionLot,
  count( distinct I_InspOperationUsageDecision.InspPlanOperationInternalID) AS InspOperationCompletedCount
FROM I_InspOperationUsageDecision
;