C_MlBalanceSummary
Material Inventory Values - Balance Summary
C_MlBalanceSummary is a Consumption CDS View that provides data about "Material Inventory Values - Balance Summary" in SAP S/4HANA. It reads from 1 data source (I_ML_Balance) and exposes 30 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ML_Balance | I_ML_Balance | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | fis_reporting_key_date | |
| hidden | true | |
| P_CalendarDate | calendardate |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMLBALSUM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.query | true | view | |
| Analytics.settings.maxProcessingEffort | #HIGH | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Material Inventory Values - Balance Summary | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| hiddentrue | ||||
| P_CalendarDateCompanyCode | ||||
| Ledger | Ledger | Ledger | ||
| GLAccount | GLAccount | General Ledger | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| Segment | Segment | Segment number | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| Material | Material | Vehicle Model | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| MaterialValuationClass | MaterialValuationClass | Valuation Class | ||
| InventoryValuationCategory | InventoryValuationCategory | |||
| Plant | Plant | Valuation Area | ||
| ProductHierarchy | ProductHierarchy | Prod.hierarchy | ||
| InventoryQty | InventoryQty | |||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| SlsPriceAmountInCoCodeCrcy | SlsPriceAmountInCoCodeCrcy | Sales Price Book Value | ||
| AmountInGroupCurrency | AmountInGroupCurrency | Amnt in GrpCrcy | ||
| AmountInFreeDefinedCurrency1 | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | ||
| AmountInFreeDefinedCurrency2 | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | ||
| AmountInFreeDefinedCurrency3 | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | ||
| AmountInFreeDefinedCurrency4 | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | ||
| AmountInFreeDefinedCurrency5 | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | ||
| AmountInFreeDefinedCurrency6 | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | ||
| AmountInFreeDefinedCurrency7 | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | ||
| AmountInFreeDefinedCurrency8 | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| _ProductHierarchy | _ProductHierarchy |
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 C_MlBalanceSummary.
-- 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.
-- Parameters: P_KeyDate : fis_reporting_key_date, hidden : true, P_CalendarDate : calendardate
CREATE VIEW C_MlBalanceSummary AS
SELECT
hidden: true AS hiddentrue,
derivation: { lookupEntity: 'I_CalendarDate', resultElement: 'CalendarDate', binding: [ { targetElement : 'CalendarDate', type : #PARAMETER, value : 'P_KeyDate' AS P_CalendarDateCompanyCode,
Ledger,
GLAccount,
MaterialGroup,
ProfitCenter,
Segment,
ChartOfAccounts,
Material,
InventoryValuationType,
ValuationArea,
MaterialValuationClass,
InventoryValuationCategory,
Plant,
ProductHierarchy,
InventoryQty,
AmountInCompanyCodeCurrency,
SlsPriceAmountInCoCodeCrcy,
AmountInGroupCurrency,
AmountInFreeDefinedCurrency1,
AmountInFreeDefinedCurrency2,
AmountInFreeDefinedCurrency3,
AmountInFreeDefinedCurrency4,
AmountInFreeDefinedCurrency5,
AmountInFreeDefinedCurrency6,
AmountInFreeDefinedCurrency7,
AmountInFreeDefinedCurrency8,
PostingDate,
BaseUnit
FROM I_ML_Balance
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA