I_InspectionLotAggregate

DDL: I_INSPECTIONLOTAGGREGATE SQL: IINSPLOTAGGR Type: view COMPOSITE

Aggregation on inspection lot level

I_InspectionLotAggregate is a Composite CDS View that provides data about "Aggregation on inspection lot level" in SAP S/4HANA. It reads from 4 data sources (I_InspectionLot, P_InspectionLotAggregate1, P_InspectionLotAggregate2, P_InspectionLotAggregate3) and exposes 18 fields with key field InspectionLot.

Data Sources (4)

SourceAliasJoin Type
I_InspectionLot I_InspectionLot from
P_InspectionLotAggregate1 P_InspectionLotAggregate1 left_outer
P_InspectionLotAggregate2 P_InspectionLotAggregate2 left_outer
P_InspectionLotAggregate3 P_InspectionLotAggregate3 left_outer

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IINSPLOTAGGR view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Aggregation on inspection lot level view
VDM.viewType #COMPOSITE view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspectionLot InspectionLot Inspection Lot
InspCharAcceptedCount P_InspectionLotAggregate2 InspCharAcceptedCount
InspCharRejectedCount P_InspectionLotAggregate2 InspCharRejectedCount
InspCharOpenCount P_InspectionLotAggregate2 InspCharOpenCount
InspCharacteristicCount P_InspectionLotAggregate2 InspCharacteristicCount
InspCharLongTermOpenCount P_InspectionLotAggregate2 InspCharLongTermOpenCount
InspCharShortTermOpenCount P_InspectionLotAggregate2 InspCharShortTermOpenCount
NumberOfSkipInspCharcs P_InspectionLotAggregate2 NumberOfSkipInspCharcs
InspSubsetCharcAcceptedCount P_InspectionLotAggregate2 InspSubsetCharcAcceptedCount
InspSubsetCharcRejectedCount P_InspectionLotAggregate2 InspSubsetCharcRejectedCount
InspSubsetCharcOpenCount P_InspectionLotAggregate2 InspSubsetCharcOpenCount
NumberOfSkipInspSubsetCharcs P_InspectionLotAggregate2 NumberOfSkipInspSubsetCharcs
MaterialSampleCount P_InspectionLotAggregate1 MaterialSampleCount
InspOperationCount P_InspectionLotAggregate2 InspOperationCount
InspOperationCompletedCount P_InspectionLotAggregate3 InspOperationCompletedCount
Plant Plant Valuation Area
InspectionLotType InspectionLotType Inspection Type
MatlQualityAuthorizationGroup MatlQualityAuthorizationGroup QM Matl Auth.

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_InspectionLotAggregate.
-- 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: IINSPLOTAGGR

CREATE VIEW I_InspectionLotAggregate AS
SELECT
  I_InspectionLot.InspectionLot AS InspectionLot,
  P_InspectionLotAggregate2.InspCharAcceptedCount AS InspCharAcceptedCount,
  P_InspectionLotAggregate2.InspCharRejectedCount AS InspCharRejectedCount,
  P_InspectionLotAggregate2.InspCharOpenCount AS InspCharOpenCount,
  P_InspectionLotAggregate2.InspCharacteristicCount AS InspCharacteristicCount,
  P_InspectionLotAggregate2.InspCharLongTermOpenCount AS InspCharLongTermOpenCount,
  P_InspectionLotAggregate2.InspCharShortTermOpenCount AS InspCharShortTermOpenCount,
  P_InspectionLotAggregate2.NumberOfSkipInspCharcs AS NumberOfSkipInspCharcs,
  P_InspectionLotAggregate2.InspSubsetCharcAcceptedCount AS InspSubsetCharcAcceptedCount,
  P_InspectionLotAggregate2.InspSubsetCharcRejectedCount AS InspSubsetCharcRejectedCount,
  P_InspectionLotAggregate2.InspSubsetCharcOpenCount AS InspSubsetCharcOpenCount,
  P_InspectionLotAggregate2.NumberOfSkipInspSubsetCharcs AS NumberOfSkipInspSubsetCharcs,
  P_InspectionLotAggregate1.MaterialSampleCount AS MaterialSampleCount,
  P_InspectionLotAggregate2.InspOperationCount AS InspOperationCount,
  P_InspectionLotAggregate3.InspOperationCompletedCount AS InspOperationCompletedCount,
  Plant,
  InspectionLotType,
  MatlQualityAuthorizationGroup
FROM I_InspectionLot
LEFT OUTER JOIN P_InspectionLotAggregate2 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_InspectionLotAggregate3 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_InspectionLotAggregate1 ON /* join condition not captured in parsed metadata */
;