C_MatlDocsByMonthAndBusProcess
C_MatlDocsByMonthAndBusProcess is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_MatlDocsByMonthAndBusProcess) and exposes 24 fields with key fields SVTAggregationItemUUID, CalendarMonth, SVTBusinessProcess, CmplRqSVTScenario, SVTPreprocessedDocumentUUID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlDocsByMonthAndBusProcess | I_MatlDocsByMonthAndBusProcess | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_UnitOfMeasure | _UnitOfMeasureMass | $projection.QuantityUnit = _UnitOfMeasureMass.UnitOfMeasure |
| [1..1] | C_Product | _Product | $projection.Material = _Product.Product |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMATDOCMNTHBUSPR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.allowExtensions | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SVTAggregationItemUUID | SVTAggregationItemUUID | Aggr item uuid | |
| KEY | CalendarMonth | CalendarMonth | Calendar Month | |
| KEY | SVTBusinessProcess | SVTBusinessProcess | Business Process | |
| KEY | CmplRqSVTScenario | CmplRqSVTScenario | ||
| KEY | SVTPreprocessedDocumentUUID | SVTPreprocessedDocumentUUID | Preprocessed documen | |
| KEY | ChmlCmplncInfoUUID | ChmlCmplncInfoUUID | Chemical Compliance Information PP | |
| MaterialDocument | MaterialDocument | Material Doc. | ||
| Material | Material | Vehicle Model | ||
| ProductDescription | _Product | ProductDescription | Description | |
| Quantity | Quantity | Value | ||
| QuantityUnit | QuantityUnit | Unit of measure | ||
| Plant | Plant | Valuation Area | ||
| MaterialDocumentItem | MaterialDocumentItem | Material Document Item | ||
| MaterialDocumentYear | MaterialDocumentYear | Material Document Year | ||
| CalculatedSubstanceVolume | CalculatedSubstanceVolume | |||
| SubstanceVolumeUnit | ||||
| PostingDate | PostingDate | Posting Date for GR | ||
| CreationTime | CreationTime | Time of Change | ||
| ApplicationLogHandle | ApplicationLogHandle | Log Handle | ||
| SVTAggregationHeaderUUID | SVTAggregationHeaderUUID | Agg header doc uuid | ||
| _CalendarMonth | _CalendarMonth | |||
| _SVTAggregationItem | _SVTAggregationItem | |||
| _SVTAggregationHeader | _SVTAggregationHeader | |||
| _UnitOfMeasureMass | _UnitOfMeasureMass |
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_MatlDocsByMonthAndBusProcess.
-- 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: CMATDOCMNTHBUSPR
CREATE VIEW C_MatlDocsByMonthAndBusProcess AS
SELECT
SVTAggregationItemUUID,
CalendarMonth,
SVTBusinessProcess,
CmplRqSVTScenario,
SVTPreprocessedDocumentUUID,
ChmlCmplncInfoUUID,
MaterialDocument,
Material,
_Product.ProductDescription AS ProductDescription,
Quantity,
QuantityUnit,
Plant,
MaterialDocumentItem,
MaterialDocumentYear,
CalculatedSubstanceVolume,
_UnitOfMeasureMass._Text[1:Language = $session.system_language].UnitOfMeasure AS SubstanceVolumeUnit,
PostingDate,
CreationTime,
ApplicationLogHandle,
SVTAggregationHeaderUUID
FROM I_MatlDocsByMonthAndBusProcess
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasureMass ON QuantityUnit = _UnitOfMeasureMass.UnitOfMeasure -- association [1..1]
LEFT OUTER JOIN C_Product AS _Product ON Material = _Product.Product -- association [1..1]
;
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