I_InspCharcValueAggregate

DDL: I_INSPCHARCVALUEAGGREGATE SQL: IINSPCHAVLAGGR Type: view COMPOSITE

Insp. Characteristic Value Aggregate

I_InspCharcValueAggregate is a Composite CDS View (Fact) that provides data about "Insp. Characteristic Value Aggregate" in SAP S/4HANA. It reads from 2 data sources (I_InspectionCharacteristic, I_InspectionResultValue) and exposes 5 fields with key fields InspectionLot, InspPlanOperationInternalID, InspectionCharacteristic.

Data Sources (2)

SourceAliasJoin Type
I_InspectionCharacteristic I_InspectionCharacteristic from
I_InspectionResultValue I_InspectionResultValue inner

Annotations (8)

NameValueLevelField
EndUserText.label Insp. Characteristic Value Aggregate view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Analytics.dataCategory #FACT view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IINSPCHAVLAGGR view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspectionCharacteristic InspectionLot Inspection Lot
KEY InspPlanOperationInternalID I_InspectionCharacteristic InspPlanOperationInternalID Node Number
KEY InspectionCharacteristic I_InspectionCharacteristic InspectionCharacteristic Characteristic
InspectionSubsetInternalID I_InspectionResultValue InspectionSubsetInternalID Sample Number
InspResultValueCount

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 I_InspCharcValueAggregate.
-- 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: IINSPCHAVLAGGR

CREATE VIEW I_InspCharcValueAggregate AS
SELECT
  I_InspectionCharacteristic.InspectionLot AS InspectionLot,
  I_InspectionCharacteristic.InspPlanOperationInternalID AS InspPlanOperationInternalID,
  I_InspectionCharacteristic.InspectionCharacteristic AS InspectionCharacteristic,
  I_InspectionResultValue.InspectionSubsetInternalID AS InspectionSubsetInternalID,
  count(*) AS InspResultValueCount
FROM I_InspectionCharacteristic
INNER JOIN I_InspectionResultValue ON /* join condition not captured in parsed metadata */
;