SEPMRA_C_Shop_Product
Product
SEPMRA_C_Shop_Product is a CDS View that provides data about "Product" in SAP S/4HANA. It reads from 1 data source (SEPMRA_I_Product_E) and exposes 28 fields with key field Product. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| SEPMRA_I_Product_E | Product | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | SEPMRA_P_Shop_ConvertedPrice | _ConvertedPrice | $projection.Product = _ConvertedPrice.Product |
| [1..1] | SEPMRA_C_Shop_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..*] | SEPMRA_C_Shop_ReviewPost | _Reviews | $projection.Product = _Reviews.Product |
| [5..5] | SEPMRA_C_Shop_ReviewHistogram | _ReviewHistogram | $projection.Product = _ReviewHistogram.Product |
| [0..*] | SEPMRA_C_Shop_ProductImage | _ProductImages | $projection.Product = _ProductImages.Product |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SEPMRACSHOPPD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Product | view | |
| Search.searchable | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| UI.headerInfo.typeName | Product | view | |
| UI.headerInfo.typeNamePlural | Products | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | ProductName | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | Product | view | |
| UI.headerInfo.imageUrl | ProductPictureURL | view | |
| Consumption.semanticObject | EPMProduct | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | SEPMRA_I_Product_E | Product | Product Sold |
| ProductName | ||||
| ProductDescription | ||||
| ProductPictureURL | SEPMRA_I_Product_E | ProductPictureURL | ||
| Height | ||||
| Width | SEPMRA_I_Product_E | Width | Width | |
| Depth | SEPMRA_I_Product_E | Depth | Draught | |
| DimensionUnit | SEPMRA_I_Product_E | DimensionUnit | Unit of length | |
| DimensionUnitName | ||||
| Weight | ||||
| WeightUnit | SEPMRA_I_Product_E | WeightUnit | Weight unit | |
| WeightUnitName | ||||
| Price | ||||
| Currency | _ConvertedPrice | Currency | Valuation Crcy | |
| StockQuantityUnit | ||||
| StockQuantityUnitName | ||||
| StockAvailability | ||||
| StockAvailabilityText | ||||
| AverageRatingValue | ||||
| NumberOfReviewPosts | ||||
| Supplier | ||||
| SupplierName | ||||
| ProductCategory | ||||
| MainProductCategory | ||||
| Associations_ProductImages | ||||
| _Supplier | _Supplier | |||
| _Reviews | _Reviews | |||
| _ReviewHistogram | _ReviewHistogram |
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 SEPMRA_C_Shop_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.
CREATE VIEW SEPMRA_C_Shop_Product AS
SELECT
Product.Product AS Product,
Product._ProductTextInCurrentLang.Name AS ProductName,
Product._ProductTextInCurrentLang.Description AS ProductDescription,
Product.ProductPictureURL AS ProductPictureURL,
Product.Width AS Width,
Product.Depth AS Depth,
Product.DimensionUnit AS DimensionUnit,
cast( Product._DimensionUnit._Text[ 1: Language = $session.system_language ].UnitOfMeasureName as sepmra_sh_dimensionunittext preserving type ) AS DimensionUnitName,
Product.WeightUnit AS WeightUnit,
cast( Product._WeightUnit._Text[ 1: Language = $session.system_language ].UnitOfMeasureName as sepmra_sh_weightunittext preserving type ) AS WeightUnitName,
_ConvertedPrice.Currency AS Currency,
Product._ProductStock.QuantityUnit AS StockQuantityUnit,
cast( Product._ProductStock._QuantityUnit._Text[ 1: Language = $session.system_language ].UnitOfMeasureName as sepmra_sh_productbaseunittext preserving type ) AS StockQuantityUnitName,
Product._ProductStock.StockAvailability AS StockAvailability,
Product._ProductStock._StockAvailability._Text[ 1: Language = $session.system_language ].StockAvailabilityText AS StockAvailabilityText,
Product._CollaborativeReview.NumberOfReviewPosts AS NumberOfReviewPosts,
Product._Supplier.CompanyName AS SupplierName,
Product._ProductCategory.MainProductCategory AS MainProductCategory
FROM SEPMRA_I_Product_E AS Product
LEFT OUTER JOIN SEPMRA_P_Shop_ConvertedPrice AS _ConvertedPrice ON Product = _ConvertedPrice.Product -- association [1..1]
LEFT OUTER JOIN SEPMRA_C_Shop_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [1..1]
LEFT OUTER JOIN SEPMRA_C_Shop_ReviewPost AS _Reviews ON Product = _Reviews.Product -- association [0..*]
LEFT OUTER JOIN SEPMRA_C_Shop_ReviewHistogram AS _ReviewHistogram ON Product = _ReviewHistogram.Product -- association [5..5]
LEFT OUTER JOIN SEPMRA_C_Shop_ProductImage AS _ProductImages ON Product = _ProductImages.Product -- association [0..*]
;
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