NSDM_DDL_CHK_MAT_MASTER
Chk for miss mat mast vs. MATDOC_EXTRACT
NSDM_DDL_CHK_MAT_MASTER is a CDS View that provides data about "Chk for miss mat mast vs. MATDOC_EXTRACT" in SAP S/4HANA. It reads from 24 data sources and exposes 144 fields.
Data Sources (24)
| Source | Alias | Join Type |
|---|---|---|
| matdoc_extract | m | from |
| matdoc_extract | m | union_all |
| matdoc_extract | m | union_all |
| matdoc_extract | m | union_all |
| matdoc_extract | m | union_all |
| matdoc_extract | m | union_all |
| matdoc_extract | m | union_all |
| matdoc_extract | m | union_all |
| matdoc_extract | m | union_all |
| matdoc_extract | m | union_all |
| matdoc_extract | m | union_all |
| matdoc_extract | m | union_all |
| v_marc_md | s | left_outer |
| v_mard_md | s | left_outer |
| v_mchb_md | s | left_outer |
| v_mska_md | s | left_outer |
| v_msku_md | s | left_outer |
| v_mkol_md | s | left_outer |
| v_mslb_md | s | left_outer |
| v_mspr_md | s | left_outer |
| msrd_md | s | left_outer |
| msfd_md | s | left_outer |
| mcha | s | left_outer |
| mch1 | s | left_outer |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | NSDM_V_CHK_MD_MM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Chk for miss mat mast vs. MATDOC_EXTRACT | view | |
| DataAging.noAgingRestriction | false | view | |
| ObjectModel.usageType.sizeCategory | L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view |
Fields (144)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| matbf | matbf | Stock Mat. | ||
| werks | matdoc_extract | werks | Receiving Plant | |
| lgort_sid | lgort_sid | Stor. Location SID | ||
| charg_sid | charg_sid | Batch SID | ||
| lifnr_sid | lifnr_sid | Supplier SID | ||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| lgortmatbf | ||||
| werks | matdoc_extract | werks | Receiving Plant | |
| lgort_sid | lgort_sid | Stor. Location SID | ||
| charg_sid | Batch SID | |||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| chargmatbf | ||||
| werks | matdoc_extract | werks | Receiving Plant | |
| lgort_sid | lgort_sid | Stor. Location SID | ||
| charg_sid | charg_sid | Batch SID | ||
| lifnr_sid | lifnr_sid | Supplier SID | ||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| sobkzmatbf | ||||
| werks | matdoc_extract | werks | Receiving Plant | |
| lgort_sid | lgort_sid | Stor. Location SID | ||
| charg_sid | charg_sid | Batch SID | ||
| lifnr_sid | lifnr_sid | Supplier SID | ||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| sobkzmatbf | ||||
| werks | matdoc_extract | werks | Receiving Plant | |
| lgort_sid | lgort_sid | Stor. Location SID | ||
| charg_sid | charg_sid | Batch SID | ||
| lifnr_sid | lifnr_sid | Supplier SID | ||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| sobkzmatbf | ||||
| werks | matdoc_extract | werks | Receiving Plant | |
| lgort_sid | lgort_sid | Stor. Location SID | ||
| charg_sid | charg_sid | Batch SID | ||
| lifnr_sid | lifnr_sid | Supplier SID | ||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| sobkzmatbf | ||||
| werks | matdoc_extract | werks | Receiving Plant | |
| lgort_sid | lgort_sid | Stor. Location SID | ||
| charg_sid | charg_sid | Batch SID | ||
| lifnr_sid | lifnr_sid | Supplier SID | ||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| pspnrmatbf | ||||
| werks | matdoc_extract | werks | Receiving Plant | |
| lgort_sid | lgort_sid | Stor. Location SID | ||
| charg_sid | charg_sid | Batch SID | ||
| lifnr_sid | lifnr_sid | Supplier SID | ||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| sobkzmatbf | ||||
| werks | matdoc_extract | werks | Receiving Plant | |
| lgort_sid | lgort_sid | Stor. Location SID | ||
| charg_sid | charg_sid | Batch SID | ||
| lifnr_sid | lifnr_sid | Supplier SID | ||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| sobkzmatbf | ||||
| werks | matdoc_extract | werks | Receiving Plant | |
| lgort_sid | lgort_sid | Stor. Location SID | ||
| charg_sid | charg_sid | Batch SID | ||
| lifnr_sid | lifnr_sid | Supplier SID | ||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| chargmatbf | ||||
| werks | matdoc_extract | werks | Receiving Plant | |
| lgort_sid | Stor. Location SID | |||
| charg_sid | charg_sid | Batch SID | ||
| lifnr_sid | lifnr_sid | Supplier SID | ||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| chargmatbf | ||||
| werks | Receiving Plant | |||
| lgort_sid | Stor. Location SID | |||
| charg_sid | charg_sid | Batch SID | ||
| lifnr_sid | lifnr_sid | Supplier SID | ||
| mat_kdauf | mat_kdauf | SD Doc of Inv. | ||
| mat_kdpos | mat_kdpos | SD Item of Inv. | ||
| mat_pspnr | mat_pspnr | WBSElem of Inv. | ||
| kunnr_sid | kunnr_sid | Customer SID | ||
| sobkz | matdoc_extract | sobkz | Special Stock | |
| gjper | ||||
| icon | ||||
| master_table |
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 NSDM_DDL_CHK_MAT_MASTER.
-- 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: NSDM_V_CHK_MD_MM
CREATE VIEW NSDM_DDL_CHK_MAT_MASTER AS
SELECT
matbf,
m.werks AS werks,
lgort_sid,
charg_sid,
lifnr_sid,
mat_kdauf,
mat_kdpos,
mat_pspnr,
kunnr_sid,
m.sobkz AS sobkz,
max( m.gjper ) AS gjper,
'' AS icon,
'MARC' as master_table AS lgortmatbf,
'MARD' as master_table AS chargmatbf,
'MCHB' as master_table AS sobkzmatbf,
'MSLB' as master_table AS pspnrmatbf,
'MCH1' AS master_table
FROM matdoc_extract AS m
LEFT OUTER JOIN v_marc_md AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_mard_md AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_mchb_md AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_mska_md AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_msku_md AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_mkol_md AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_mslb_md AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN v_mspr_md AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN msrd_md AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN msfd_md AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN mcha AS s ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN mch1 AS s ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): matdoc_extract
;
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