Deprecated
This CDS view is deprecated in S/4HANA. Use I_MaintObjListPhysInventoryDoc instead. View all deprecated CDS views →

I_MaintItmObjListPhysInventory

DDL: I_MAINTITMOBJLISTPHYSINVENTORY SQL: IMIOLNOPIDOC Type: view BASIC

Maintenance Item Object List Physical Inventory

I_MaintItmObjListPhysInventory is a Basic CDS View that provides data about "Maintenance Item Object List Physical Inventory" in SAP S/4HANA. It reads from 1 data source (ser07) and exposes 10 fields with key field MaintenanceItemObjectList. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ser07 ser07 from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_PhysInvtryDocFiscalYear _PhysicalInvtryDocFiscalYear $projection.FiscalYear = _PhysicalInvtryDocFiscalYear.FiscalYear
[0..1] I_PhysInvtryDocHeader _PhysicalInventoryDocument $projection.PhysicalInventoryDocument = _PhysicalInventoryDocument.PhysicalInventoryDocument and $projection.FiscalYear = _PhysicalInventoryDocument.FiscalYear
[0..1] I_PhysInvtryDocItem _PhysicalInventoryDocumentItem $projection.PhysicalInventoryDocument = _PhysicalInventoryDocumentItem.PhysicalInventoryDocument and $projection.PhysicalInventoryDocumentItem = _PhysicalInventoryDocumentItem.PhysicalInventoryDocumentItem and $projection.FiscalYear = _PhysicalInventoryDocumentItem.FiscalYear

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IMIOLNOPIDOC view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Maintenance Item Object List Physical Inventory view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #BASIC view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_MaintObjListPhysInventoryDoc view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceItemObjectList obknr Object list
PhysicalInventoryDocument iblnr Phys. Inv. Doc.
PhysicalInventoryDocumentItem zeili Item
FiscalYear mjahr Mat. Doc. Year
PhysInvtrySerialNmbrListType oltpi OL feat. inventory
DocumentDate datum Valid to
Plant werk Plant
_PhysicalInvtryDocFiscalYear _PhysicalInvtryDocFiscalYear
_PhysicalInventoryDocument _PhysicalInventoryDocument
_PhysicalInventoryDocumentItem _PhysicalInventoryDocumentItem

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_MaintItmObjListPhysInventory.
-- 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: IMIOLNOPIDOC

CREATE VIEW I_MaintItmObjListPhysInventory AS
SELECT
  obknr AS MaintenanceItemObjectList,
  iblnr AS PhysicalInventoryDocument,
  zeili AS PhysicalInventoryDocumentItem,
  mjahr AS FiscalYear,
  oltpi AS PhysInvtrySerialNmbrListType,
  datum AS DocumentDate,
  werk AS Plant
FROM ser07
LEFT OUTER JOIN I_PhysInvtryDocFiscalYear AS _PhysicalInvtryDocFiscalYear ON FiscalYear = _PhysicalInvtryDocFiscalYear.FiscalYear  -- association [0..1]
LEFT OUTER JOIN I_PhysInvtryDocHeader AS _PhysicalInventoryDocument ON PhysicalInventoryDocument = _PhysicalInventoryDocument.PhysicalInventoryDocument AND FiscalYear = _PhysicalInventoryDocument.FiscalYear  -- association [0..1]
LEFT OUTER JOIN I_PhysInvtryDocItem AS _PhysicalInventoryDocumentItem ON PhysicalInventoryDocument = _PhysicalInventoryDocumentItem.PhysicalInventoryDocument AND PhysicalInventoryDocumentItem = _PhysicalInventoryDocumentItem.PhysicalInventoryDocumentItem AND FiscalYear = _PhysicalInventoryDocumentItem.FiscalYear  -- association [0..1]
;