I_InspLotMatlDocItem
Material Document Item in Inspection Lot
I_InspLotMatlDocItem is a Basic CDS View that provides data about "Material Document Item in Inspection Lot" in SAP S/4HANA. It reads from 1 data source (qamb) and exposes 11 fields with key fields InspectionLot, InspLotMatlDocItem. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qamb | qamb | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InspectionLot | _InspectionLot | $projection.InspectionLot = _InspectionLot.InspectionLot |
| [1..1] | I_InspLotMatlDocItemType | _InspLotMatlDocItemType | $projection.InspLotMatlDocItemType = _InspLotMatlDocItemType.InspLotMatlDocItemType |
| [1..1] | I_GoodsMovementDocument | _GoodsMovementDocument | $projection.MaterialDocument = _GoodsMovementDocument.MaterialDocument and $projection.MaterialDocumentItem = _GoodsMovementDocument.MaterialDocumentItem and $projection.MaterialDocumentYear = _GoodsMovementDocument.MaterialDocumentYear and _GoodsMovementDocument.MaterialDocumentRecordType = 'MDOC' |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IINSPLOTMATLDOCI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Material Document Item in Inspection Lot | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | prueflos | ||
| KEY | InspLotMatlDocItem | zaehler | ||
| InspLotMatlDocItemType | typ | |||
| MaterialDocument | mblnr | |||
| MaterialDocumentYear | mjahr | |||
| MaterialDocumentItem | zeile | |||
| CreationDate | cpudt | |||
| UsageDecisionStockType | ud_stock_type | |||
| _InspLotMatlDocItemType | _InspLotMatlDocItemType | |||
| _InspectionLot | _InspectionLot | |||
| _GoodsMovementDocument | _GoodsMovementDocument |
@AbapCatalog.sqlViewName: 'IINSPLOTMATLDOCI'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Material Document Item in Inspection Lot'
@ObjectModel.supportedCapabilities:
[ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
sizeCategory: #L,
serviceQuality: #B
}
}
@Metadata.ignorePropagatedAnnotations: true
define view I_InspLotMatlDocItem
as select from qamb
association [1..1] to I_InspectionLot as _InspectionLot on $projection.InspectionLot = _InspectionLot.InspectionLot
association [1..1] to I_InspLotMatlDocItemType as _InspLotMatlDocItemType on $projection.InspLotMatlDocItemType = _InspLotMatlDocItemType.InspLotMatlDocItemType
association [1..1] to I_GoodsMovementDocument as _GoodsMovementDocument on $projection.MaterialDocument = _GoodsMovementDocument.MaterialDocument
and $projection.MaterialDocumentItem = _GoodsMovementDocument.MaterialDocumentItem
and $projection.MaterialDocumentYear = _GoodsMovementDocument.MaterialDocumentYear
and _GoodsMovementDocument.MaterialDocumentRecordType = 'MDOC'
{
@ObjectModel.foreignKey.association: '_InspectionLot'
key prueflos as InspectionLot,
key zaehler as InspLotMatlDocItem,
@ObjectModel.foreignKey.association: '_InspLotMatlDocItemType'
typ as InspLotMatlDocItemType,
mblnr as MaterialDocument,
mjahr as MaterialDocumentYear,
zeile as MaterialDocumentItem,
cpudt as CreationDate,
ud_stock_type as UsageDecisionStockType,
//Associations
_InspLotMatlDocItemType,
_InspectionLot,
_GoodsMovementDocument
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"QAMB"
],
"ASSOCIATED":
[
"I_GOODSMOVEMENTDOCUMENT",
"I_INSPECTIONLOT",
"I_INSPLOTMATLDOCITEMTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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