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

I_MLBasic_Bal

DDL: I_MLBASIC_BAL SQL: IMLBASICBLA Type: view COMPOSITE

Material Ledger for bla

I_MLBasic_Bal is a Composite CDS View (Dimension) that provides data about "Material Ledger for bla" in SAP S/4HANA. It reads from 1 data source (P_Materialledgercurtp_Bal) and exposes 104 fields with key fields CompanyCode, Ledger, GLAccount, FiscalYear, AccountingDocument.

Data Sources (1)

SourceAliasJoin Type
P_Materialledgercurtp_Bal it from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IMLBASICBLA view
Analytics.dataCategory #DIMENSION view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey LedgerGLLineItem view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Material Ledger for bla view
VDM.viewType #COMPOSITE view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_ML_BALANCE view

Fields (104)

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

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_MLBasic_Bal.
-- 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: IMLBASICBLA

CREATE VIEW I_MLBasic_Bal AS
SELECT
  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.bttype AS BusinessTransactionType,
  _BusinessTransactionType._Text[1:Language = $session.system_language].BusinessTransactionTypeName AS BusinessTransactionTypeName,
  it.bldat AS DocumentDate,
  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,
  _Material._MaterialGroup.MaterialGroup AS MaterialGroup,
  _MaterialValuation.MaterialValuationClass AS MaterialValuationClass,
  _MaterialValuation.InventoryValuationCategory AS InventoryValuationCategory,
  it.hsl AS AmountInCompanyCodeCurrency,
  it.hvkwrt AS SlsPriceAmountInCoCodeCrcy,
  it.rkcur AS GroupCurrency,
  it.ksl AS AmountInGroupCurrency,
  it.rocur AS FreeDefinedCurrency1,
  cast(it.osl as fis_osl) AS AmountInFreeDefinedCurrency1,
  it.rvcur AS FreeDefinedCurrency2,
  cast( it.vsl as fis_vsl) AS AmountInFreeDefinedCurrency2,
  it.rbcur AS FreeDefinedCurrency3,
  cast( it.bsl as fis_bsl) AS AmountInFreeDefinedCurrency3,
  it.rccur AS FreeDefinedCurrency4,
  cast( it.csl as fis_csl) AS AmountInFreeDefinedCurrency4,
  it.rdcur AS FreeDefinedCurrency5,
  cast( it.dsl as fis_dsl) AS AmountInFreeDefinedCurrency5,
  it.recur AS FreeDefinedCurrency6,
  cast( it.esl as fis_esl) AS AmountInFreeDefinedCurrency6,
  it.rfcur AS FreeDefinedCurrency7,
  cast( it.fsl as fis_fsl) AS AmountInFreeDefinedCurrency7,
  it.rgcur AS FreeDefinedCurrency8,
  cast( it.gsl as fis_gsl) AS AmountInFreeDefinedCurrency8,
  it.rvunit AS BaseUnit,
  cast(it.vmsl as fcml_lbkum) 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_Materialledgercurtp_Bal AS it
;