I_INSPLOTMATLDOCITEM

CDS View

Material Document Item in Inspection Lot

I_INSPLOTMATLDOCITEM is a CDS View in S/4HANA. Material Document Item in Inspection Lot. It contains 10 fields. 8 CDS views read from this table.

CDS Views using this table (8)

ViewTypeJoinVDMDescription
A_InspLotMatlDocItmSrlNmbr view_entity inner CONSUMPTION Serial Numbers for Stock Posting
C_InspLotMatlDocValHelp view from CONSUMPTION Inspection Lot Material Document ValueHelp
C_InspLotStockPosting view from CONSUMPTION Inspection Lot Stock Posting
C_InspUsgeDescStk view from CONSUMPTION Insp Usage Decision Stk Posting
I_FldLogsInspectionLot view_entity from COMPOSITE Non-Cancelled Inspection Lot
I_InspLotMatlDocItmGdsMvt view_entity from COMPOSITE Insp Lot Mat Doc Item with Goods Mvt
P_InspSrlNmbrUsgeDcsnStkPostd view_entity inner COMPOSITE Serial Number Usage Decision Posted
R_InspLotMatlDocItmSrlNmbrTP view_entity inner TRANSACTIONAL Insp Stock Posting Serial Number - TP

Fields (10)

KeyField CDS FieldsUsed in Views
KEY InspectionLot InspectionLot 8
KEY InspLotMatlDocItem InspLotMatlDocItem 7
_GoodsMovementDocument _GoodsMovementDocument 1
_InspectionLot _InspectionLot 1
CreationDate CreationDate 3
InspLotMatlDocItemType InspLotMatlDocItemType 5
MaterialDocument MaterialDocument 6
MaterialDocumentItem MaterialDocumentItem 5
MaterialDocumentYear MaterialDocumentYear 6
UsageDecisionStockType UsageDecisionStockType 2
@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 entity 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
}