I_InspectionLotCube
Inspection Lot Cube
I_InspectionLotCube is a Composite CDS View (Cube) that provides data about "Inspection Lot Cube" in SAP S/4HANA. It reads from 2 data sources (I_InspectionLot, I_InspLotUsageDecision) and exposes 27 fields with key field InspectionLot. It has 1 association to related views. Part of development package VDM_QM_ANALYTICS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_InspectionLot | ILot | from |
| I_InspLotUsageDecision | UD | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PurchaseOrderItem | _PurchaseOrderItem | $projection.PurchasingDocument = _PurchaseOrderItem.PurchaseOrder and $projection.PurchasingDocumentItem = _PurchaseOrderItem.PurchaseOrderItem |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| Analytics.dataCategory | #CUBE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | IINSPECTIONLOTC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Inspection Lot Cube | view | |
| Metadata.allowExtensions | true | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | I_InspectionLot | InspectionLot | Inspection Lot |
| Material | I_InspectionLot | Material | Vehicle Model | |
| Plant | I_InspectionLot | Plant | Valuation Area | |
| InspectionLotOrigin | I_InspectionLot | InspectionLotOrigin | ||
| InspectionLotType | I_InspectionLot | InspectionLotType | Inspection Type | |
| Supplier | I_InspectionLot | Supplier | Supplier | |
| PurchasingDocumentCategory | I_InspectionLot | PurchasingDocumentCategory | Doc. Category | |
| PurchasingDocument | I_InspectionLot | PurchasingDocument | Purchasing Document | |
| PurchasingDocumentItem | I_InspectionLot | PurchasingDocumentItem | Purchasing Doc. Item | |
| Customer | I_InspectionLot | Customer | Sold-to Party | |
| MatlQualityAuthorizationGroup | I_InspectionLot | MatlQualityAuthorizationGroup | QM Matl Auth. | |
| InspectionLotQuantityUnit | I_InspectionLot | InspectionLotQuantityUnit | Sample UOM | |
| InspectionLotCreatedOn | I_InspectionLot | InspectionLotCreatedOn | Created On | |
| InspectionLotCreatedOnTime | I_InspectionLot | InspectionLotCreatedOnTime | ||
| InspectionLotUsageDecidedOn | I_InspLotUsageDecision | InspectionLotUsageDecidedOn | ||
| InspLotUsageDecisionTime | I_InspLotUsageDecision | InspLotUsageDecisionTime | ||
| InspectionLotQualityScore | I_InspLotUsageDecision | InspectionLotQualityScore | Inspection Lot Score | |
| InspectionLotCount | ||||
| InspectionLotQuantity | I_InspectionLot | InspectionLotQuantity | ||
| _Material | I_InspectionLot | _Material | ||
| _Plant | I_InspectionLot | _Plant | ||
| _InspectionLotOrigin | I_InspectionLot | _InspectionLotOrigin | ||
| _InspectionLotType | I_InspectionLot | _InspectionLotType | ||
| _Supplier | I_InspectionLot | _Supplier | ||
| _Customer | I_InspectionLot | _Customer | ||
| _InspectionLotQuantityUnit | I_InspectionLot | _InspectionLotQuantityUnit | ||
| _PurchaseOrderItem | _PurchaseOrderItem |
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_InspectionLotCube.
-- 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: IINSPECTIONLOTC
CREATE VIEW I_InspectionLotCube AS
SELECT
ILot.InspectionLot AS InspectionLot,
ILot.Material AS Material,
ILot.Plant AS Plant,
ILot.InspectionLotOrigin AS InspectionLotOrigin,
ILot.InspectionLotType AS InspectionLotType,
ILot.Supplier AS Supplier,
ILot.PurchasingDocumentCategory AS PurchasingDocumentCategory,
ILot.PurchasingDocument AS PurchasingDocument,
ILot.PurchasingDocumentItem AS PurchasingDocumentItem,
ILot.Customer AS Customer,
ILot.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
ILot.InspectionLotQuantityUnit AS InspectionLotQuantityUnit,
ILot.InspectionLotCreatedOn AS InspectionLotCreatedOn,
ILot.InspectionLotCreatedOnTime AS InspectionLotCreatedOnTime,
UD.InspectionLotUsageDecidedOn AS InspectionLotUsageDecidedOn,
UD.InspLotUsageDecisionTime AS InspLotUsageDecisionTime,
UD.InspectionLotQualityScore AS InspectionLotQualityScore,
cast ('1' as qzhlgesamt ) AS InspectionLotCount,
ILot.InspectionLotQuantity AS InspectionLotQuantity,
ILot._Material AS _Material,
ILot._Plant AS _Plant,
ILot._InspectionLotOrigin AS _InspectionLotOrigin,
ILot._InspectionLotType AS _InspectionLotType,
ILot._Supplier AS _Supplier,
ILot._Customer AS _Customer,
ILot._InspectionLotQuantityUnit AS _InspectionLotQuantityUnit
FROM I_InspectionLot AS ILot
INNER JOIN I_InspLotUsageDecision AS UD ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PurchaseOrderItem AS _PurchaseOrderItem ON PurchasingDocument = _PurchaseOrderItem.PurchaseOrder AND PurchasingDocumentItem = _PurchaseOrderItem.PurchaseOrderItem -- association [0..1]
;
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