F_Mmim_Matdoc
Help-View for material documents
F_Mmim_Matdoc is a CDS View that provides data about "Help-View for material documents" in SAP S/4HANA. It reads from 1 data source (matdoc) and exposes 28 fields with key fields MaterialDocument, MaterialDocumentYear, MaterialDocumentItem. Part of development package MBND_CLOUD_BL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| matdoc | matdoc | from |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Help-View for material documents | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialDocument | mblnr | Material Doc. | |
| KEY | MaterialDocumentYear | mjahr | Mat. Doc. Year | |
| KEY | MaterialDocumentItem | zeile | Mat. Doc.Item | |
| Material | matbf | Stock Mat. | ||
| Plant | Receiving Plant | |||
| Batch | charg | Chargeable Proc. | ||
| InventoryStockType | lbbsa_sid | Stock Type | ||
| StorageLocation | lgort | Sublocation | ||
| Customer | kunnr | Stock customer | ||
| IssuingOrReceivingPlant | umwrk | Receiving plant | ||
| IssuingOrReceivingStorageLoc | umlgo | Receiving SLoc. | ||
| IssuingOrReceivingStockType | lbbsa_cid | Stock Type | ||
| DeliveryDocument | vbeln_im | Delivery | ||
| PurchaseOrder | ebeln | Source PurchDoc | ||
| OrderID | aufnr | SettlementOrder | ||
| CreatedByUser | usnam | User Name | ||
| PersonnelNumber | pernr | Personnel no. | ||
| WorkItem | work_item_id | Work Item ID | ||
| GoodsMovementType | bwart | Valuation Type | ||
| EntryUnit | erfme | Unit of Entry | ||
| AccountingDocumentType | blart | Rep. rec. doc. type | ||
| InventorySpecialStockType | sobkz | Special Stock | ||
| StockSegment | sgt_scat | Stock Segment | ||
| Reservation | Reservation | |||
| ProductSeasonYear | fsh_season_year | Season Year | ||
| ProductSeason | fsh_season | Season | ||
| ProductCollection | fsh_collection | Collection | ||
| ProductTheme | fsh_theme | Theme |
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.
-- 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.
CREATE VIEW F_Mmim_Matdoc AS
SELECT
mblnr AS MaterialDocument,
mjahr AS MaterialDocumentYear,
zeile AS MaterialDocumentItem,
matbf AS Material,
cast(werks as werks_d) AS Plant,
charg AS Batch,
lbbsa_sid AS InventoryStockType,
lgort AS StorageLocation,
kunnr AS Customer,
umwrk AS IssuingOrReceivingPlant,
umlgo AS IssuingOrReceivingStorageLoc,
lbbsa_cid AS IssuingOrReceivingStockType,
vbeln_im AS DeliveryDocument,
ebeln AS PurchaseOrder,
aufnr AS OrderID,
usnam AS CreatedByUser,
pernr AS PersonnelNumber,
work_item_id AS WorkItem,
bwart AS GoodsMovementType,
erfme AS EntryUnit,
blart AS AccountingDocumentType,
sobkz AS InventorySpecialStockType,
sgt_scat AS StockSegment,
cast(rsnum as nsdm_rsnum preserving type ) AS Reservation,
fsh_season_year AS ProductSeasonYear,
fsh_season AS ProductSeason,
fsh_collection AS ProductCollection,
fsh_theme AS ProductTheme
FROM matdoc
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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