ScmPrd_MatMap_Union

DDL: SCMPRD_MATMAP_UNION SQL: SCMPRDMATMAPUNI Type: view

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)

SourceAliasJoin 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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;