I_Materialledger_Lit

DDL: I_MATERIALLEDGER_LIT Type: view_entity COMPOSITE Package: FINS_ML_VDM

Material Ledger Cube for Line Items

I_Materialledger_Lit is a Composite CDS View that provides data about "Material Ledger Cube for Line Items" in SAP S/4HANA. It reads from 1 data source (P_Materialledger_Curtp_Lit) and exposes 95 fields with key fields SourceLedger, CompanyCode, Ledger, GLAccount, FiscalYear. Part of development package FINS_ML_VDM.

Data Sources (1)

SourceAliasJoin Type
P_Materialledger_Curtp_Lit it from

Annotations (9)

NameValueLevelField
VDM.viewType #COMPOSITE view
Analytics.technicalName IMLCURTPLIT view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey LedgerGLLineItem view
EndUserText.label Material Ledger Cube for Line Items view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (95)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger SourceLedger Source Ledger
KEY CompanyCode P_Materialledger_Curtp_Lit rbukrs Company Code
KEY Ledger P_Materialledger_Curtp_Lit rldnr Ledger (Compat.)
KEY GLAccount P_Materialledger_Curtp_Lit racct GL Account From
KEY FiscalYear P_Materialledger_Curtp_Lit gjahr Settlement Year
KEY AccountingDocument P_Materialledger_Curtp_Lit belnr SD Document
KEY LedgerGLLineItem P_Materialledger_Curtp_Lit docln Matching Document Line Item
KEY Material P_Materialledger_Curtp_Lit matnr Vehicle Model
ChartOfAccounts P_Materialledger_Curtp_Lit ktopl G/L Chart of Accounts
AccountingDocumentType P_Materialledger_Curtp_Lit blart Rep. rec. doc. type
ValuationArea P_Materialledger_Curtp_Lit bwkey Valuation Area
InventoryValuationType P_Materialledger_Curtp_Lit bwtar Valuation Type
FiscalPeriod P_Materialledger_Curtp_Lit poper Posting periods
LedgerFiscalYear P_Materialledger_Curtp_Lit ryear Ref. Year1
PostingDate P_Materialledger_Curtp_Lit budat Posting Date
MatlDocLatestPostgDate P_Materialledger_Curtp_Lit budat Posting Date
ReferenceDocument P_Materialledger_Curtp_Lit awref Reference Doc.
ReferenceDocumentType P_Materialledger_Curtp_Lit awtyp Reference Document Type
DocumentDate P_Materialledger_Curtp_Lit bldat Journal Entry Date
BusinessTransactionType P_Materialledger_Curtp_Lit bttype Business Transaction Type
ProfitCenter P_Materialledger_Curtp_Lit prctr Profit Centers
CostCenter P_Materialledger_Curtp_Lit rcntr Cost Center
Segment P_Materialledger_Curtp_Lit segment Segment number
AccountingDocCreatedByUser P_Materialledger_Curtp_Lit usnam User Name
LastChangeDateTime P_Materialledger_Curtp_Lit timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
FiscalYearPeriod P_Materialledger_Curtp_Lit fiscyearper Period/Year
PurchasingDocument P_Materialledger_Curtp_Lit ebeln Source PurchDoc
ProductionOrder P_Materialledger_Curtp_Lit aufnr SettlementOrder
TransactionTypeDetermination P_Materialledger_Curtp_Lit ktosl Transaction
Plant P_Materialledger_Curtp_Lit werks Receiving Plant
ControllingArea P_Materialledger_Curtp_Lit kokrs Org. Value
CostEstimate P_Materialledger_Curtp_Lit kalnr ProdCostEst.No.
InvtryValnSpecialStockType P_Materialledger_Curtp_Lit sobkz Special Stock
MaterialLedgerProcessType P_Materialledger_Curtp_Lit mlptyp Orig. proc.cat.
MaterialLedgerCategory P_Materialledger_Curtp_Lit mlcateg Category
FiscalYearVariant periv FYear Variant
CompanyCodeCurrency P_Materialledger_Curtp_Lit rhcur Local Currency
AmountInCompanyCodeCurrency P_Materialledger_Curtp_Lit hsl Local Crcy Amt
SlsPriceAmountInCoCodeCrcy P_Materialledger_Curtp_Lit hvkwrt Value SP LCrcy
GroupCurrency P_Materialledger_Curtp_Lit rkcur Ledger curr.
AmountInGroupCurrency P_Materialledger_Curtp_Lit ksl GrpCurr
FreeDefinedCurrency1 P_Materialledger_Curtp_Lit rocur Free Defined Crcy 1
AmountInFreeDefinedCurrency1 P_Materialledger_Curtp_Lit osl Other Crcy Amnt
FreeDefinedCurrency2 P_Materialledger_Curtp_Lit rvcur Free Defined Crcy 4
AmountInFreeDefinedCurrency2 P_Materialledger_Curtp_Lit vsl Amount in Currency 2
FreeDefinedCurrency3 P_Materialledger_Curtp_Lit rbcur Free Defined Crcy 3
AmountInFreeDefinedCurrency3 P_Materialledger_Curtp_Lit bsl Exchange Key
FreeDefinedCurrency4 P_Materialledger_Curtp_Lit rccur Third Currency
AmountInFreeDefinedCurrency4 P_Materialledger_Curtp_Lit csl Amount in Currency 4
FreeDefinedCurrency5 P_Materialledger_Curtp_Lit rdcur Free Defined Crcy 5
AmountInFreeDefinedCurrency5 P_Materialledger_Curtp_Lit dsl Amount in Currency 5
FreeDefinedCurrency6 P_Materialledger_Curtp_Lit recur Free Defined Crcy 6
AmountInFreeDefinedCurrency6 P_Materialledger_Curtp_Lit esl Amount in Currency 6
FreeDefinedCurrency7 P_Materialledger_Curtp_Lit rfcur Free Defined Crcy 7
AmountInFreeDefinedCurrency7 P_Materialledger_Curtp_Lit fsl Amount in Currency 7
FreeDefinedCurrency8 P_Materialledger_Curtp_Lit rgcur Free Defined Crcy 8
AmountInFreeDefinedCurrency8 P_Materialledger_Curtp_Lit gsl Amount in Currency 8
BaseUnit P_Materialledger_Curtp_Lit rvunit Valuation UoM
InventoryQty
CompanyCodeCurrencyRole P_Materialledger_Curtp_Lit CurtpH Field Name
CurrencyRole P_Materialledger_Curtp_Lit CurtpK Field Name
FreeDefinedCurrency1Role P_Materialledger_Curtp_Lit CurtpO FreeDef Crcy 1
FreeDefinedCurrency2Role P_Materialledger_Curtp_Lit CurtpV FreeDef Crcy 2
FreeDefinedCurrency3Role P_Materialledger_Curtp_Lit CurtpB FreeDef Crcy 3
FreeDefinedCurrency4Role P_Materialledger_Curtp_Lit CurtpC FreeDef Crcy 4
FreeDefinedCurrency5Role P_Materialledger_Curtp_Lit CurtpD FreeDef Crcy 5
FreeDefinedCurrency6Role P_Materialledger_Curtp_Lit CurtpE FreeDef Crcy 6
FreeDefinedCurrency7Role P_Materialledger_Curtp_Lit CurtpF FreeDef Crcy 7
FreeDefinedCurrency8Role P_Materialledger_Curtp_Lit CurtpG FreeDef Crcy 8
IsSupplierStockValuation P_Materialledger_Curtp_Lit xobew Vendor stk val.
InventorySpecialStockValnType P_Materialledger_Curtp_Lit kzbws Valuation
InventorySpclStkSalesDocument P_Materialledger_Curtp_Lit mat_kdauf SD Doc of Inv.
InventorySpclStkSalesDocItm P_Materialledger_Curtp_Lit mat_kdpos SD Item of Inv.
WBSElementInternalID P_Materialledger_Curtp_Lit mat_pspnr WBSElem of Inv.
InventorySpecialStockSupplier P_Materialledger_Curtp_Lit mat_lifnr Vendor of Inv.
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_ChartOfAccounts _ChartOfAccounts
_Segment _Segment
_Material _Material
_CompanyCode _CompanyCode
_ProfitCenter _ProfitCenter
_CostCenter _CostCenter
_CompanyCodeCurrency _CompanyCodeCurrency
_GlobalCurrency _GlobalCurrency
_FreeDefinedCurrency1 _FreeDefinedCurrency1
_FreeDefinedCurrency2 _FreeDefinedCurrency2
_CostSourceUnit _CostSourceUnit
_ControllingArea _ControllingArea
_Ledger _Ledger
_FiscalYear _FiscalYear
_FiscalYearVariant _FiscalYearVariant
_JournalEntry _JournalEntry
_MaterialValuation _MaterialValuation
_BusinessTransactionType _BusinessTransactionType
_Plant _Plant

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_Materialledger_Lit.
-- 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.

CREATE VIEW I_Materialledger_Lit AS
SELECT
  SourceLedger,
  it.rbukrs AS CompanyCode,
  it.rldnr AS Ledger,
  it.racct AS GLAccount,
  it.gjahr AS FiscalYear,
  it.belnr AS AccountingDocument,
  it.docln AS LedgerGLLineItem,
  it.matnr AS Material,
  it.ktopl AS ChartOfAccounts,
  it.blart AS AccountingDocumentType,
  it.bwkey AS ValuationArea,
  it.bwtar AS InventoryValuationType,
  it.poper AS FiscalPeriod,
  it.ryear AS LedgerFiscalYear,
  it.budat AS PostingDate,
  it.budat AS MatlDocLatestPostgDate,
  it.awref AS ReferenceDocument,
  it.awtyp AS ReferenceDocumentType,
  it.bldat AS DocumentDate,
  it.bttype AS BusinessTransactionType,
  it.prctr AS ProfitCenter,
  it.rcntr AS CostCenter,
  it.segment AS Segment,
  it.usnam AS AccountingDocCreatedByUser,
  it.timestamp AS LastChangeDateTime,
  it.fiscyearper AS FiscalYearPeriod,
  it.ebeln AS PurchasingDocument,
  it.aufnr AS ProductionOrder,
  it.ktosl AS TransactionTypeDetermination,
  it.werks AS Plant,
  it.kokrs AS ControllingArea,
  it.kalnr AS CostEstimate,
  it.sobkz AS InvtryValnSpecialStockType,
  it.mlptyp AS MaterialLedgerProcessType,
  it.mlcateg AS MaterialLedgerCategory,
  periv AS FiscalYearVariant,
  it.rhcur AS CompanyCodeCurrency,
  it.hsl AS AmountInCompanyCodeCurrency,
  it.hvkwrt AS SlsPriceAmountInCoCodeCrcy,
  it.rkcur AS GroupCurrency,
  it.ksl AS AmountInGroupCurrency,
  it.rocur AS FreeDefinedCurrency1,
  it.osl AS AmountInFreeDefinedCurrency1,
  it.rvcur AS FreeDefinedCurrency2,
  it.vsl AS AmountInFreeDefinedCurrency2,
  it.rbcur AS FreeDefinedCurrency3,
  it.bsl AS AmountInFreeDefinedCurrency3,
  it.rccur AS FreeDefinedCurrency4,
  it.csl AS AmountInFreeDefinedCurrency4,
  it.rdcur AS FreeDefinedCurrency5,
  it.dsl AS AmountInFreeDefinedCurrency5,
  it.recur AS FreeDefinedCurrency6,
  it.esl AS AmountInFreeDefinedCurrency6,
  it.rfcur AS FreeDefinedCurrency7,
  it.fsl AS AmountInFreeDefinedCurrency7,
  it.rgcur AS FreeDefinedCurrency8,
  it.gsl AS AmountInFreeDefinedCurrency8,
  it.rvunit AS BaseUnit,
  cast(it.vmsl as fcml_lbkum preserving type ) AS InventoryQty,
  it.CurtpH AS CompanyCodeCurrencyRole,
  it.CurtpK AS CurrencyRole,
  it.CurtpO AS FreeDefinedCurrency1Role,
  it.CurtpV AS FreeDefinedCurrency2Role,
  it.CurtpB AS FreeDefinedCurrency3Role,
  it.CurtpC AS FreeDefinedCurrency4Role,
  it.CurtpD AS FreeDefinedCurrency5Role,
  it.CurtpE AS FreeDefinedCurrency6Role,
  it.CurtpF AS FreeDefinedCurrency7Role,
  it.CurtpG AS FreeDefinedCurrency8Role,
  it.xobew AS IsSupplierStockValuation,
  it.kzbws AS InventorySpecialStockValnType,
  it.mat_kdauf AS InventorySpclStkSalesDocument,
  it.mat_kdpos AS InventorySpclStkSalesDocItm,
  it.mat_pspnr AS WBSElementInternalID,
  it.mat_lifnr AS InventorySpecialStockSupplier
FROM P_Materialledger_Curtp_Lit AS it
;