FCML_MAT_DDL
CDS View with structure of table FCML_MAT
FCML_MAT_DDL is a CDS View that provides data about "CDS View with structure of table FCML_MAT" in SAP S/4HANA. It reads from 38 data sources and exposes 175 fields with key fields kalnr, vszhl, vszhl, vszhl, vszhl.
Data Sources (38)
| Source | Alias | Join Type |
|---|---|---|
| v_ebew_md | ebew | inner |
| ckmlhd | hd | from |
| ckmlhd | hd | union_all |
| ckmlhd | hd | union_all |
| ckmlhd | hd | union_all |
| ckmllahd | lahd | union_all |
| ckmllahd | lahd | union_all |
| mara | mara | inner |
| mara | mara | inner |
| mara | mara | inner |
| mara | mara | inner |
| v_marc_md | marc | inner |
| v_marc_md | marc | inner |
| v_marc_md | marc | inner |
| v_marc_md | marc | inner |
| v_mbew_md | mbew | inner |
| v_obew_md | obew | inner |
| v_qbew_md | qbew | inner |
| t001 | t001 | inner |
| t001 | t001 | inner |
| t001 | t001 | inner |
| t001 | t001 | inner |
| t001 | t001 | inner |
| t001 | t001 | inner |
| t001k | t001k | inner |
| t001k | t001k | inner |
| t001k | t001k | inner |
| t001k | t001k | inner |
| t001k | t001k | inner |
| t001k | t001k | inner |
| t001w | t001w | inner |
| t001w | t001w | inner |
| t001w | t001w | inner |
| t001w | t001w | inner |
| tka02 | tka02 | inner |
| tka02 | tka02 | inner |
| tka02 | tka02 | inner |
| tka02 | tka02 | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FCML_MAT_V | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| EndUserText.label | CDS View with structure of table FCML_MAT | view |
Fields (175)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | kalnr | ckmlhd | kalnr | ProdCostEst.No. |
| KEY | vszhl | |||
| obart | ||||
| matnr | ckmlhd | matnr | Vehicle Model | |
| bwkey | ckmlhd | bwkey | Receiving Plant | |
| werks | t001w | werks | Receiving Plant | |
| sobkz | ckmlhd | sobkz | Special Stock | |
| vbeln | ckmlhd | vbeln | SD Sched. Agmt | |
| posnr | ckmlhd | posnr | WBS Element | |
| lifnr | ckmlhd | lifnr | Vendor no. | |
| bwtar | ckmlhd | bwtar | Valuation Type | |
| pspnr | ckmlhd | pspnr | WBS Element | |
| bklas | v_mbew_md | bklas | Valuation Class | |
| mlast | ckmlhd | mlast | Price Determ. | |
| hrkft | v_mbew_md | hrkft | Origin group order | |
| bukrs | t001k | bukrs | Value | |
| kokrs | tka02 | kokrs | Org. Value | |
| kostl | ||||
| lstar | ||||
| prznr | ||||
| prctr | v_marc_md | prctr | Profit Centers | |
| mtart | mara | mtart | Product Type | |
| mbrsh | mara | mbrsh | Industry | |
| matkl | mara | matkl | Product Sold Group | |
| meins | mara | meins | Valuation Unit | |
| spart | mara | spart | Source supplier | |
| prdha | mara | prdha | Prod.Hierarchy | |
| attyp | mara | attyp | Trdg Goods Cat. | |
| laeda | mara | laeda | Last Change | |
| kalnr | ProdCostEst.No. | |||
| KEY | vszhl | |||
| obart | ||||
| matnr | ckmlhd | matnr | Vehicle Model | |
| bwkey | ckmlhd | bwkey | Receiving Plant | |
| werks | t001w | werks | Receiving Plant | |
| sobkz | ckmlhd | sobkz | Special Stock | |
| vbeln | ckmlhd | vbeln | SD Sched. Agmt | |
| posnr | ckmlhd | posnr | WBS Element | |
| lifnr | ckmlhd | lifnr | Vendor no. | |
| bwtar | ckmlhd | bwtar | Valuation Type | |
| pspnr | ckmlhd | pspnr | WBS Element | |
| bklas | v_ebew_md | bklas | Valuation Class | |
| mlast | ckmlhd | mlast | Price Determ. | |
| hrkft | v_ebew_md | hrkft | Origin group order | |
| bukrs | t001k | bukrs | Value | |
| kokrs | tka02 | kokrs | Org. Value | |
| kostl | ||||
| lstar | ||||
| prznr | ||||
| prctr | v_marc_md | prctr | Profit Centers | |
| mtart | mara | mtart | Product Type | |
| mbrsh | mara | mbrsh | Industry | |
| matkl | mara | matkl | Product Sold Group | |
| meins | mara | meins | Valuation Unit | |
| spart | mara | spart | Source supplier | |
| prdha | mara | prdha | Prod.Hierarchy | |
| attyp | mara | attyp | Trdg Goods Cat. | |
| laeda | mara | laeda | Last Change | |
| kalnr | ProdCostEst.No. | |||
| KEY | vszhl | |||
| obart | ||||
| matnr | ckmlhd | matnr | Vehicle Model | |
| bwkey | ckmlhd | bwkey | Receiving Plant | |
| werks | t001w | werks | Receiving Plant | |
| sobkz | ckmlhd | sobkz | Special Stock | |
| vbeln | ckmlhd | vbeln | SD Sched. Agmt | |
| posnr | ckmlhd | posnr | WBS Element | |
| lifnr | ckmlhd | lifnr | Vendor no. | |
| bwtar | ckmlhd | bwtar | Valuation Type | |
| pspnr | ckmlhd | pspnr | WBS Element | |
| bklas | v_qbew_md | bklas | Valuation Class | |
| mlast | ckmlhd | mlast | Price Determ. | |
| hrkft | v_qbew_md | hrkft | Origin group order | |
| bukrs | t001k | bukrs | Value | |
| kokrs | tka02 | kokrs | Org. Value | |
| kostl | ||||
| lstar | ||||
| prznr | ||||
| prctr | v_marc_md | prctr | Profit Centers | |
| mtart | mara | mtart | Product Type | |
| mbrsh | mara | mbrsh | Industry | |
| matkl | mara | matkl | Product Sold Group | |
| meins | mara | meins | Valuation Unit | |
| spart | mara | spart | Source supplier | |
| prdha | mara | prdha | Prod.Hierarchy | |
| attyp | mara | attyp | Trdg Goods Cat. | |
| laeda | mara | laeda | Last Change | |
| kalnr | ProdCostEst.No. | |||
| KEY | vszhl | |||
| obart | ||||
| matnr | ckmlhd | matnr | Vehicle Model | |
| bwkey | ckmlhd | bwkey | Receiving Plant | |
| werks | t001w | werks | Receiving Plant | |
| sobkz | ckmlhd | sobkz | Special Stock | |
| vbeln | ckmlhd | vbeln | SD Sched. Agmt | |
| posnr | ckmlhd | posnr | WBS Element | |
| lifnr | ckmlhd | lifnr | Vendor no. | |
| bwtar | ckmlhd | bwtar | Valuation Type | |
| pspnr | ckmlhd | pspnr | WBS Element | |
| bklas | v_obew_md | bklas | Valuation Class | |
| mlast | ckmlhd | mlast | Price Determ. | |
| hrkft | v_obew_md | hrkft | Origin group order | |
| bukrs | t001k | bukrs | Value | |
| kokrs | tka02 | kokrs | Org. Value | |
| kostl | ||||
| lstar | ||||
| prznr | ||||
| prctr | v_marc_md | prctr | Profit Centers | |
| mtart | mara | mtart | Product Type | |
| mbrsh | mara | mbrsh | Industry | |
| matkl | mara | matkl | Product Sold Group | |
| meins | mara | meins | Valuation Unit | |
| spart | mara | spart | Source supplier | |
| prdha | mara | prdha | Prod.Hierarchy | |
| attyp | mara | attyp | Trdg Goods Cat. | |
| laeda | mara | laeda | Last Change | |
| kalnr | ProdCostEst.No. | |||
| KEY | vszhl | |||
| obart | ||||
| matnr | Vehicle Model | |||
| bwkey | ckmllahd | werks | Receiving Plant | |
| werks | ckmllahd | werks | Receiving Plant | |
| sobkz | Special Stock | |||
| vbeln | SD Sched. Agmt | |||
| posnr | WBS Element | |||
| lifnr | Vendor no. | |||
| bwtar | Valuation Type | |||
| pspnr | WBS Element | |||
| bklas | Valuation Class | |||
| mlast | Price Determ. | |||
| hrkft | Origin group order | |||
| bukrs | t001k | bukrs | Value | |
| kokrs | Org. Value | |||
| kostl | ||||
| lstar | ||||
| prznr | ||||
| prctr | Profit Centers | |||
| mtart | Product Type | |||
| mbrsh | Industry | |||
| matkl | Product Sold Group | |||
| meins | Valuation Unit | |||
| spart | Source supplier | |||
| prdha | Prod.Hierarchy | |||
| attyp | Trdg Goods Cat. | |||
| laeda | Last Change | |||
| kalnr | ProdCostEst.No. | |||
| KEY | vszhl | |||
| obart | ||||
| matnr | Vehicle Model | |||
| bwkey | ckmllahd | werks | Receiving Plant | |
| werks | ckmllahd | werks | Receiving Plant | |
| sobkz | Special Stock | |||
| vbeln | SD Sched. Agmt | |||
| posnr | WBS Element | |||
| lifnr | Vendor no. | |||
| bwtar | Valuation Type | |||
| pspnr | WBS Element | |||
| bklas | Valuation Class | |||
| mlast | Price Determ. | |||
| hrkft | Origin group order | |||
| bukrs | t001k | bukrs | Value | |
| kokrs | Org. Value | |||
| kostl | ||||
| lstar | ||||
| prznr | ||||
| prctr | Profit Centers | |||
| mtart | Product Type | |||
| mbrsh | Industry | |||
| matkl | Product Sold Group | |||
| meins | Valuation Unit | |||
| spart | Source supplier | |||
| prdha | Prod.Hierarchy | |||
| attyp | Trdg Goods Cat. | |||
| laeda | Last Change | |||
| periv | t001 | periv | FYear Variant |
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 FCML_MAT_DDL.
-- 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: FCML_MAT_V
CREATE VIEW FCML_MAT_DDL AS
SELECT
hd.kalnr AS kalnr,
cast ('00000000' as vszhl preserving type) AS vszhl,
cast ('MA' as j_obart preserving type) AS obart,
hd.matnr AS matnr,
hd.bwkey AS bwkey,
t001w.werks AS werks,
hd.sobkz AS sobkz,
hd.vbeln AS vbeln,
hd.posnr AS posnr,
hd.lifnr AS lifnr,
hd.bwtar AS bwtar,
hd.pspnr AS pspnr,
mbew.bklas AS bklas,
hd.mlast AS mlast,
mbew.hrkft AS hrkft,
t001k.bukrs AS bukrs,
tka02.kokrs AS kokrs,
cast (' ' as kostl preserving type) AS kostl,
cast (' ' as lstar preserving type) AS lstar,
cast (' ' as co_prznr preserving type) AS prznr,
marc.prctr AS prctr,
mara.mtart AS mtart,
mara.mbrsh AS mbrsh,
mara.matkl AS matkl,
mara.meins AS meins,
mara.spart AS spart,
mara.prdha AS prdha,
mara.attyp AS attyp,
mara.laeda AS laeda,
t001.periv AS periv
FROM ckmlhd AS hd
INNER JOIN mara ON /* join condition not captured in parsed metadata */
INNER JOIN t001k ON /* join condition not captured in parsed metadata */
INNER JOIN t001 ON /* join condition not captured in parsed metadata */
INNER JOIN t001w ON /* join condition not captured in parsed metadata */
INNER JOIN tka02 ON /* join condition not captured in parsed metadata */
INNER JOIN v_mbew_md AS mbew ON /* join condition not captured in parsed metadata */
INNER JOIN v_marc_md AS marc ON /* join condition not captured in parsed metadata */
INNER JOIN v_ebew_md AS ebew ON /* join condition not captured in parsed metadata */
INNER JOIN v_qbew_md AS qbew ON /* join condition not captured in parsed metadata */
INNER JOIN v_obew_md AS obew ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): ckmlhd, ckmllahd
;
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