C_MatlDocsByMonthAndBusProcess

DDL: C_MATLDOCSBYMONTHANDBUSPROCESS SQL: CMATDOCMNTHBUSPR Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_MatlDocsByMonthAndBusProcess I_MatlDocsByMonthAndBusProcess from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_UnitOfMeasure _UnitOfMeasureMass $projection.QuantityUnit = _UnitOfMeasureMass.UnitOfMeasure
[1..1] C_Product _Product $projection.Material = _Product.Product

Annotations (10)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;