I_MKT_Product
Marketing: Product
I_MKT_Product is a Basic CDS View (Dimension) that provides data about "Marketing: Product" in SAP S/4HANA. It reads from 1 data source (cuand_prod_root) and exposes 18 fields with key field Product. It has 7 associations to related views. Part of development package CUAN_CDS_CONTACT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cuand_prod_root | cuand_prod_root | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MKT_ProductText | _Text | $projection.Product = _Text.Product |
| [0..1] | I_MKT_ProductOriginData | _MKT_BaseProductOriginData | $projection.BaseProductID = _MKT_BaseProductOriginData.ProductID and $projection.BaseProductOrigin = _MKT_BaseProductOriginData.ProductOrigin |
| [0..1] | I_MKT_Brand | _MKT_Brand | $projection.Brand = _MKT_Brand.Brand |
| [0..*] | I_MKT_ProductCatAssignment | _MKT_ProductCatAssignment | $projection.Product = _MKT_ProductCatAssignment.Product |
| [0..1] | I_MKT_ProductVariantType | _MKT_ProductVariantType | $projection.ProductVariantType = _MKT_ProductVariantType.ProductVariantType |
| [0..1] | I_MKT_ProductOrigin | _MKT_ProductOrigin | $projection.ProductOrigin = _MKT_ProductOrigin.ProductOrigin |
| [0..*] | I_MKT_ProductMarketingArea | _MKT_ProductMarketingArea | $projection.Product = _MKT_ProductMarketingArea.ProductUUID association[1..1] to E_MKT_PRODUCT as _Extension on cuand_prod_root.db_key = _Extension.Product |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Marketing: Product | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | IMKT_PRODUCT | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | Product | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Metadata.allowExtensions | true | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | |||
| ProductImageURL | cuand_prod_root | image_url | URL | |
| WebsiteURL | cuand_prod_root | nav_url | ||
| Brand | cuand_prod_root | brand_id | Brand | |
| BaseProductID | cuand_prod_root | base_product_id | ||
| BaseProductOrigin | cuand_prod_root | base_product_origin | ||
| IsBaseProduct | cuand_prod_root | is_base_product | Is Base Product | |
| ProductVariantType | cuand_prod_root | prod_variant_type | ||
| ProductValidEndDate | cuand_prod_root | valid_to | Validity End Time | |
| ProductID | cuand_prod_facet | product_id | Simulated Product ID | |
| ProductOrigin | cuand_prod_facet | product_origin | ||
| _MKT_ProductCatAssignment | _MKT_ProductCatAssignment | |||
| _MKT_Brand | _MKT_Brand | |||
| _MKT_ProductVariantType | _MKT_ProductVariantType | |||
| _MKT_BaseProductOriginData | _MKT_BaseProductOriginData | |||
| _MKT_ProductOrigin | _MKT_ProductOrigin | |||
| _MKT_ProductMarketingArea | _MKT_ProductMarketingArea | |||
| _Text | _Text |
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 I_MKT_Product.
-- 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: IMKT_PRODUCT
CREATE VIEW I_MKT_Product AS
SELECT
cast (cuand_prod_root.db_key as cuan_cds_product preserving type) AS Product,
cuand_prod_root.image_url AS ProductImageURL,
cuand_prod_root.nav_url AS WebsiteURL,
cuand_prod_root.brand_id AS Brand,
cuand_prod_root.base_product_id AS BaseProductID,
cuand_prod_root.base_product_origin AS BaseProductOrigin,
cuand_prod_root.is_base_product AS IsBaseProduct,
cuand_prod_root.prod_variant_type AS ProductVariantType,
cuand_prod_root.valid_to AS ProductValidEndDate,
cuand_prod_facet.product_id AS ProductID,
cuand_prod_facet.product_origin AS ProductOrigin
FROM cuand_prod_root
LEFT OUTER JOIN I_MKT_ProductText AS _Text ON Product = _Text.Product -- association [0..*]
LEFT OUTER JOIN I_MKT_ProductOriginData AS _MKT_BaseProductOriginData ON BaseProductID = _MKT_BaseProductOriginData.ProductID AND BaseProductOrigin = _MKT_BaseProductOriginData.ProductOrigin -- association [0..1]
LEFT OUTER JOIN I_MKT_Brand AS _MKT_Brand ON Brand = _MKT_Brand.Brand -- association [0..1]
LEFT OUTER JOIN I_MKT_ProductCatAssignment AS _MKT_ProductCatAssignment ON Product = _MKT_ProductCatAssignment.Product -- association [0..*]
LEFT OUTER JOIN I_MKT_ProductVariantType AS _MKT_ProductVariantType ON ProductVariantType = _MKT_ProductVariantType.ProductVariantType -- association [0..1]
LEFT OUTER JOIN I_MKT_ProductOrigin AS _MKT_ProductOrigin ON ProductOrigin = _MKT_ProductOrigin.ProductOrigin -- association [0..1]
LEFT OUTER JOIN I_MKT_ProductMarketingArea AS _MKT_ProductMarketingArea ON Product = _MKT_ProductMarketingArea.ProductUUID association[1..1] to E_MKT_PRODUCT as _Extension on cuand_prod_root.db_key = _Extension.Product -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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