P_InspMatlSmplCharAggregate

DDL: P_INSPMATLSMPLCHARAGGREGATE SQL: PIMATSMPLCHRAGR Type: view COMPOSITE Package: VDM_QM_INSPECTION

Inspection Material Sample Characteristic Aggregate

P_InspMatlSmplCharAggregate is a Composite CDS View that provides data about "Inspection Material Sample Characteristic Aggregate" in SAP S/4HANA. It reads from 2 data sources (I_InspectionSubset, I_InspSubsetResult) and exposes 3 fields with key fields InspectionLot, MaterialSample. Part of development package VDM_QM_INSPECTION.

Data Sources (2)

SourceAliasJoin Type
I_InspectionSubset I_InspectionSubset from
I_InspSubsetResult I_InspSubsetResult left_outer

Annotations (5)

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

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspectionSubset InspectionLot Inspection Lot
KEY MaterialSample I_InspectionSubset MaterialSample Sample
InspCharacteristicCount

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_InspMatlSmplCharAggregate.
-- 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: PIMATSMPLCHRAGR

CREATE VIEW P_InspMatlSmplCharAggregate AS
SELECT
  I_InspectionSubset.InspectionLot AS InspectionLot,
  I_InspectionSubset.MaterialSample AS MaterialSample,
  count( distinct I_InspSubsetCharacteristic.InspectionCharacteristic) AS InspCharacteristicCount
FROM I_InspectionSubset
LEFT OUTER JOIN I_InspSubsetResult ON /* join condition not captured in parsed metadata */
;