F_Mmim_Matdoc_Item_Count

DDL: F_MMIM_MATDOC_ITEM_COUNT SQL: FMMIMMDOCITCOUNT Type: view

Counter for Material Document Items

F_Mmim_Matdoc_Item_Count is a CDS View that provides data about "Counter for Material Document Items" in SAP S/4HANA. It reads from 1 data source (matdoc) and exposes 3 fields.

Data Sources (1)

SourceAliasJoin Type
matdoc matdoc from

Annotations (9)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName FMMIMMDOCITCOUNT view
EndUserText.label Counter for Material Document Items view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
MaterialDocument mblnr Material Doc.
MaterialDocumentYear mjahr Mat. Doc. Year
MaterialDocumentItemCounter

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 F_Mmim_Matdoc_Item_Count.
-- 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: FMMIMMDOCITCOUNT

CREATE VIEW F_Mmim_Matdoc_Item_Count AS
SELECT
  mblnr AS MaterialDocument,
  mjahr AS MaterialDocumentYear,
  count(*) AS MaterialDocumentItemCounter
FROM matdoc
;