I_InspLotMatlDocItmGdsMvt
Insp Lot Mat Doc Item with Goods Mvt
I_InspLotMatlDocItmGdsMvt is a Composite CDS View that provides data about "Insp Lot Mat Doc Item with Goods Mvt" in SAP S/4HANA. It reads from 2 data sources (I_GoodsMovementDocument, I_InspLotMatlDocItem) and exposes 20 fields with key fields InspectionLot, InspLotMatlDocItem. It has 5 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_GoodsMovementDocument | _GoodsMvtDocument | inner |
| I_InspLotMatlDocItem | _InspLotMatlDocItem | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InspectionLot | _InspectionLot | $projection.InspectionLot = _InspectionLot.InspectionLot |
| [1..1] | I_InspLotMatlDocItemType | _InspLotMatlDocItemType | $projection.InspLotMatlDocItemType = _InspLotMatlDocItemType.InspLotMatlDocItemType |
| [0..1] | I_InspUsgeDcsnStockType | _UsageDecisionStockType | $projection.UsageDecisionStockType = _UsageDecisionStockType.UsageDecisionStockType |
| [0..*] | I_SerialNumberMaterialDoc_2 | _SerialNumbers | $projection.MaterialDocument = _SerialNumbers.MaterialDocument and $projection.MaterialDocumentItem = _SerialNumbers.MaterialDocumentItem and $projection.MaterialDocumentYear = _SerialNumbers.MaterialDocumentYear |
| [0..1] | I_UnitOfMeasure | _InspLotMatlDocItmQtyUnit | $projection.InspLotMatlDocItmQtyUnit = _InspLotMatlDocItmQtyUnit.UnitOfMeasure |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IINSPLOTMDIGM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Insp Lot Mat Doc Item with Goods Mvt | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #B | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | I_InspLotMatlDocItem | InspectionLot | Inspection Lot |
| KEY | InspLotMatlDocItem | I_InspLotMatlDocItem | InspLotMatlDocItem | Version |
| InspLotMatlDocItemType | I_InspLotMatlDocItem | InspLotMatlDocItemType | Type | |
| MaterialDocument | I_InspLotMatlDocItem | MaterialDocument | Material Doc. | |
| MaterialDocumentYear | I_InspLotMatlDocItem | MaterialDocumentYear | Material Document Year | |
| MaterialDocumentItem | I_InspLotMatlDocItem | MaterialDocumentItem | Material Document Item | |
| CreationDate | I_InspLotMatlDocItem | CreationDate | Time Stamp | |
| UsageDecisionStockType | I_InspLotMatlDocItem | UsageDecisionStockType | Posting in UD | |
| InspLotMatlDocItmQtyUnit | I_GoodsMovementDocument | EntryUnit | Unit of Entry | |
| InspLotQtyPosted | I_GoodsMovementDocument | QuantityInEntryUnit | Quantity in Unit of Entry | |
| StorageLocation | I_GoodsMovementDocument | StorageLocation | StorageLocation | |
| InspLotMaterialPostedTo | I_GoodsMovementDocument | IssgOrRcvgMaterial | Transfer Material | |
| InspLotBatchTransferredTo | I_GoodsMovementDocument | IssgOrRcvgBatch | Transfer Batch | |
| MaterialDocumentItemText | I_GoodsMovementDocument | MaterialDocumentItemText | Text | |
| _InspLotMatlDocItemType | _InspLotMatlDocItemType | |||
| _UsageDecisionStockType | _UsageDecisionStockType | |||
| _InspectionLot | _InspectionLot | |||
| _GoodsMovementDocument | I_InspLotMatlDocItem | _GoodsMovementDocument | ||
| _SerialNumbers | _SerialNumbers | |||
| _InspLotMatlDocItmQtyUnit | _InspLotMatlDocItmQtyUnit |
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_InspLotMatlDocItmGdsMvt.
-- 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: IINSPLOTMDIGM
CREATE VIEW I_InspLotMatlDocItmGdsMvt AS
SELECT
_InspLotMatlDocItem.InspectionLot AS InspectionLot,
_InspLotMatlDocItem.InspLotMatlDocItem AS InspLotMatlDocItem,
_InspLotMatlDocItem.InspLotMatlDocItemType AS InspLotMatlDocItemType,
_InspLotMatlDocItem.MaterialDocument AS MaterialDocument,
_InspLotMatlDocItem.MaterialDocumentYear AS MaterialDocumentYear,
_InspLotMatlDocItem.MaterialDocumentItem AS MaterialDocumentItem,
_InspLotMatlDocItem.CreationDate AS CreationDate,
_InspLotMatlDocItem.UsageDecisionStockType AS UsageDecisionStockType,
_GoodsMvtDocument.EntryUnit AS InspLotMatlDocItmQtyUnit,
_GoodsMvtDocument.QuantityInEntryUnit AS InspLotQtyPosted,
_GoodsMvtDocument.StorageLocation AS StorageLocation,
_GoodsMvtDocument.IssgOrRcvgMaterial AS InspLotMaterialPostedTo,
_GoodsMvtDocument.IssgOrRcvgBatch AS InspLotBatchTransferredTo,
_GoodsMvtDocument.MaterialDocumentItemText AS MaterialDocumentItemText,
_InspLotMatlDocItem._GoodsMovementDocument AS _GoodsMovementDocument
FROM I_InspLotMatlDocItem AS _InspLotMatlDocItem
INNER JOIN I_GoodsMovementDocument AS _GoodsMvtDocument ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot -- association [1..1]
LEFT OUTER JOIN I_InspLotMatlDocItemType AS _InspLotMatlDocItemType ON InspLotMatlDocItemType = _InspLotMatlDocItemType.InspLotMatlDocItemType -- association [1..1]
LEFT OUTER JOIN I_InspUsgeDcsnStockType AS _UsageDecisionStockType ON UsageDecisionStockType = _UsageDecisionStockType.UsageDecisionStockType -- association [0..1]
LEFT OUTER JOIN I_SerialNumberMaterialDoc_2 AS _SerialNumbers ON MaterialDocument = _SerialNumbers.MaterialDocument AND MaterialDocumentItem = _SerialNumbers.MaterialDocumentItem AND MaterialDocumentYear = _SerialNumbers.MaterialDocumentYear -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasure AS _InspLotMatlDocItmQtyUnit ON InspLotMatlDocItmQtyUnit = _InspLotMatlDocItmQtyUnit.UnitOfMeasure -- 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