I_InspectionLotAggregate
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)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA