MLDOC_EXTRACT
Extract of Material Ledger Document
MLDOC_EXTRACT is an SAP database table in S/4HANA. Extract of Material Ledger Document. It contains 12 fields. 6 CDS views read from this table.
CDS Views using this table (6)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| FCMLDOC_EX_MAT_DDL | view | from | Materials from MLDOC_EXTRACT | |
| MLDOC_UCB_EXTRACT | view_entity | from | MLDOC with joined UCB all records | |
| MLDOC_UCB_EXTRACT | view_entity | union_all | MLDOC with joined UCB all records | |
| P_DACRMaterialHeaderExtract | view | from | COMPOSITE | DACR Material Extract with Material Header |
| P_MatlLedgerDocumentExtract | view_entity | from | BASIC | Extract of Material Ledger Document |
| P_MLDocumentExtract | view | from | BASIC | Material Ledger: Document Extract |
Fields (12)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | mandt | Client | |||
| KEY | kalnr | ck_kalnr | Cost EstimateNo | |||
| KEY | jahrper | ml4h_jahrper | Year / Period | |||
| KEY | docref | ml4h_docref | Document Reference | |||
| KEY | curtp | fins_ext_curtype | Crcy Type/Valn View | |||
| rldnr | fins_ledger | Ledger | ||||
| quant | ml4h_quantity | Trans. Qty Val. Unit | ||||
| meins | meins | Base Unit | ||||
| stval | ml4h_stval | Trs. Invent. Value | ||||
| vkwrt | ml4h_vkwrt | Sales Value | ||||
| waers | waers | Currency | ||||
| pdocref | ml4h_docref | Document Reference |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Extract of Material Ledger Document
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE MLDOC_EXTRACT (
MANDT, -- Client [mandt]
KALNR, -- Cost EstimateNo [ck_kalnr]
JAHRPER, -- Year / Period [ml4h_jahrper]
DOCREF, -- Document Reference [ml4h_docref]
CURTP, -- Crcy Type/Valn View [fins_ext_curtype]
RLDNR, -- Ledger [fins_ledger]
QUANT, -- Trans. Qty Val. Unit [ml4h_quantity]
MEINS, -- Base Unit [meins]
STVAL, -- Trs. Invent. Value [ml4h_stval]
VKWRT, -- Sales Value [ml4h_vkwrt]
WAERS, -- Currency [waers]
PDOCREF, -- Document Reference [ml4h_docref]
PRIMARY KEY (MANDT, KALNR, JAHRPER, DOCREF, CURTP)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- 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
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA