I_MatlLdgrDocumentItemQuantity

DDL: I_MATLLDGRDOCUMENTITEMQUANTITY SQL: IMLDOCITMQTY Type: view BASIC Package: FINS_ML_DOCUMENT

Material Ledger Document Item Quantities

I_MatlLdgrDocumentItemQuantity is a Basic CDS View that provides data about "Material Ledger Document Item Quantities" in SAP S/4HANA. It reads from 1 data source (P_MLDocumentQuantities) and exposes 9 fields with key fields MaterialLedgerDocument, MaterialLedgerDocumentYear, PriceChangeDocumentItem, FiscalYear, FiscalPeriod. Part of development package FINS_ML_DOCUMENT.

Data Sources (1)

SourceAliasJoin Type
P_MLDocumentQuantities P_MLDocumentQuantities from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IMLDOCITMQTY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY MaterialLedgerDocument belnr SD Document
KEY MaterialLedgerDocumentYear kjahr Year
KEY PriceChangeDocumentItem posnr WBS Element
KEY FiscalYear bdatj Year
KEY FiscalPeriod poper Posting periods
PostingDate budat Posting Date
MaterialLedgerPeriodType perart Period Type
PreviousInventoryQuantity lbkum_old Total Stock
ValuationClass bklas Valuation Class

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_MatlLdgrDocumentItemQuantity.
-- 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: IMLDOCITMQTY

CREATE VIEW I_MatlLdgrDocumentItemQuantity AS
SELECT
  belnr AS MaterialLedgerDocument,
  kjahr AS MaterialLedgerDocumentYear,
  posnr AS PriceChangeDocumentItem,
  bdatj AS FiscalYear,
  poper AS FiscalPeriod,
  budat AS PostingDate,
  perart AS MaterialLedgerPeriodType,
  lbkum_old AS PreviousInventoryQuantity,
  bklas AS ValuationClass
FROM P_MLDocumentQuantities
;