ScmPrd_MatMap_Union
Union of MARA and MATERIALID
ScmPrd_MatMap_Union is a CDS View that provides data about "Union of MARA and MATERIALID" in SAP S/4HANA. It reads from 5 data sources (mara, mara, materialid, scmprd_lama_bf_count, scmprd_lama_bf_count) and exposes 7 fields.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| mara | mara | from |
| mara | mara | inner |
| materialid | materialid | union_all |
| scmprd_lama_bf_count | scmprd_lama_bf_count | inner |
| scmprd_lama_bf_count | scmprd_lama_bf_count | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SCMPRDMATMAPUNI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.dataMaintenance | #RESTRICTED | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| EndUserText.label | Union of MARA and MATERIALID | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| mandt | mara | mandt | Editing Client | |
| ext_matnr | mara | matnr | Material | |
| matid | mara | scm_matid_guid22 | Product ID | |
| mandt | Editing Client | |||
| ext_matnr | materialid | matnr_int | Material | |
| matid | mara | scm_matid_guid22 | Product ID | |
| matnr | materialid | matnr_long | Material |
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 ScmPrd_MatMap_Union.
-- 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: SCMPRDMATMAPUNI
CREATE VIEW ScmPrd_MatMap_Union AS
SELECT
mara.mandt AS mandt,
mara.matnr AS ext_matnr,
mara.scm_matid_guid22 AS matid,
materialid.matnr_long AS matnr
FROM mara
INNER JOIN scmprd_lama_bf_count ON /* join condition not captured in parsed metadata */
INNER JOIN mara ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): materialid
;
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