I_MatlAvgDailyUsge1
Material Average Daily Usage
I_MatlAvgDailyUsge1 is a Composite CDS View that provides data about "Material Average Daily Usage" in SAP S/4HANA. It reads from 3 data sources (I_DDAvgDailyUsgeMvtTypeConfig, I_GoodsMovementDocument, P_MRPAreaStorLocSubContractor) and exposes 15 fields with key fields Material, Plant, MRPAreaendasMRPArea, MaterialDocumentYear, MaterialDocument. Part of development package PPH_DD_VDM_STLM.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_DDAvgDailyUsgeMvtTypeConfig | _ADUMvtTypeConfig | left_outer |
| I_GoodsMovementDocument | _GoodsMovementDoc | from |
| P_MRPAreaStorLocSubContractor | _MRPAreaProd | left_outer |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IMATADU1 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Material Average Daily Usage | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | I_GoodsMovementDocument | Material | Vehicle Model |
| KEY | Plant | I_GoodsMovementDocument | Plant | Valuation Area |
| KEY | MRPAreaendasMRPArea | |||
| KEY | MaterialDocumentYear | MaterialDocumentYear | Material Document Year | |
| KEY | MaterialDocument | MaterialDocument | Material Doc. | |
| KEY | MaterialDocumentItem | MaterialDocumentItem | Material Document Item | |
| KEY | MaterialDocumentRecordType | MaterialDocumentRecordType | ||
| Supplier | P_MRPAreaStorLocSubContractor | MPRAreaSubcontractor | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| IsEffectiveGoodsMovement | I_GoodsMovementDocument | IsEffectiveGoodsMovement | ||
| IsReversalMovementType | I_GoodsMovementDocument | IsReversalMovementType | ||
| MaterialBaseUnit | MaterialBaseUnit | Valuation Unit | ||
| StorageLocation | P_MRPAreaStorLocSubContractor | MRPAreaStorageLocation | ||
| GoodsMovementType | GoodsMovementType | Movement Type | ||
| Customer | I_GoodsMovementDocument | Customer | Sold-to Party |
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_MatlAvgDailyUsge1.
-- 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: IMATADU1
CREATE VIEW I_MatlAvgDailyUsge1 AS
SELECT
_GoodsMovementDoc.Material AS Material,
_GoodsMovementDoc.Plant AS Plant,
case when _MRPAreaProd.MRPArea is null then _GoodsMovementDoc.Plant else _MRPAreaProd.MRPArea end as MRPArea AS MRPAreaendasMRPArea,
MaterialDocumentYear,
MaterialDocument,
MaterialDocumentItem,
MaterialDocumentRecordType,
_MRPAreaProd.MPRAreaSubcontractor AS Supplier,
PostingDate,
_GoodsMovementDoc.IsEffectiveGoodsMovement AS IsEffectiveGoodsMovement,
_GoodsMovementDoc.IsReversalMovementType AS IsReversalMovementType,
MaterialBaseUnit,
_MRPAreaProd.MRPAreaStorageLocation AS StorageLocation,
GoodsMovementType,
_GoodsMovementDoc.Customer AS Customer
FROM I_GoodsMovementDocument AS _GoodsMovementDoc
LEFT OUTER JOIN P_MRPAreaStorLocSubContractor AS _MRPAreaProd ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DDAvgDailyUsgeMvtTypeConfig AS _ADUMvtTypeConfig ON /* join condition not captured in parsed metadata */
;
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