I_DARTMatlInvtryBalanceCube

DDL: I_DARTMATLINVTRYBALANCECUBE SQL: IDZMIBALSUMC Type: view COMPOSITE

Matl Invtry Balance Interface for DART

I_DARTMatlInvtryBalanceCube is a Composite CDS View (Cube) that provides data about "Matl Invtry Balance Interface for DART" in SAP S/4HANA. It reads from 1 data source (I_ML_Balance) and exposes 27 fields. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ML_Balance I_ML_Balance from

Parameters (2)

NameTypeDefault
P_CalendarDate fis_budat_to
P_Language fac_audit_language

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Matlvaluationclasstext _Matlvaluationclasstext $projection.MaterialValuationClass = _Matlvaluationclasstext.MaterialValuationClass and _Matlvaluationclasstext.Language = $parameters.P_Language
[0..*] P_T149T _InventoryValCategoryText $projection.InventoryValuationCategory = _InventoryValCategoryText.InventoryValuationCategory and _InventoryValCategoryText.Language = $parameters.P_Language
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IDZMIBALSUMC view
Analytics.dataCategory #CUBE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
Analytics.settings.maxProcessingEffort #HIGH view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.allowExtensions true view
EndUserText.label Matl Invtry Balance Interface for DART view

Fields (27)

KeyFieldSource TableSource FieldDescription
SAPClient
CompanyCode CompanyCode Receiver Company Code
Ledger Ledger Ledger
ValuationArea ValuationArea Valuation Area
InventoryValuationType InventoryValuationType Valuation Type
FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Tax period
InventoryValuationCategory InventoryValuationCategory
InventoryValuationCategoryName _InventoryValCategoryText InventoryValuationCategoryName
MaterialValuationClass MaterialValuationClass Valuation Class
MaterialUsabilityProfileName _Matlvaluationclasstext MaterialUsabilityProfileName
GLAccount GLAccount General Ledger
GLAccountLongName
MaterialGroup MaterialGroup Product Group
MaterialGroupName
Material Material Vehicle Model
MaterialName
Plant Plant Valuation Area
PlantName _Plant PlantName Plant Name
InventoryQty InventoryQty
BaseUnit BaseUnit Unit of Measure
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
CompanyCodeCurrency CompanyCodeCurrency Local Currency
LIFOValuationPoolNumber _mbew mypol LIFO Pool
IsLIFOAndFIFORelevant _mbew xlifo LIFO/FIFO-Rel.
_CostSourceUnit _CostSourceUnit
_CompanyCodeCurrency _CompanyCodeCurrency

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_DARTMatlInvtryBalanceCube.
-- 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: IDZMIBALSUMC
-- Parameters: P_CalendarDate : fis_budat_to, P_Language : fac_audit_language

CREATE VIEW I_DARTMatlInvtryBalanceCube AS
SELECT
  cast($session.client as char3) AS SAPClient,
  CompanyCode,
  Ledger,
  ValuationArea,
  InventoryValuationType,
  FiscalYear,
  FiscalPeriod,
  InventoryValuationCategory,
  _InventoryValCategoryText.InventoryValuationCategoryName AS InventoryValuationCategoryName,
  MaterialValuationClass,
  _Matlvaluationclasstext.MaterialUsabilityProfileName AS MaterialUsabilityProfileName,
  GLAccount,
  _GLAccountInChartOfAccounts._Text[1: Language = $parameters.P_Language].GLAccountLongName AS GLAccountLongName,
  MaterialGroup,
  _Material._MaterialGroup._Text[1: Language = $parameters.P_Language].MaterialGroupName AS MaterialGroupName,
  Material,
  _Material._Text[1: Language = $parameters.P_Language].MaterialName AS MaterialName,
  Plant,
  _Plant.PlantName AS PlantName,
  InventoryQty,
  BaseUnit,
  AmountInCompanyCodeCurrency,
  CompanyCodeCurrency,
  _mbew.mypol AS LIFOValuationPoolNumber,
  _mbew.xlifo AS IsLIFOAndFIFORelevant
FROM I_ML_Balance
LEFT OUTER JOIN I_Matlvaluationclasstext AS _Matlvaluationclasstext ON MaterialValuationClass = _Matlvaluationclasstext.MaterialValuationClass AND _Matlvaluationclasstext.Language = $parameters.P_Language  -- association [0..1]
LEFT OUTER JOIN P_T149T AS _InventoryValCategoryText ON InventoryValuationCategory = _InventoryValCategoryText.InventoryValuationCategory AND _InventoryValCategoryText.Language = $parameters.P_Language  -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
;