C_ProductObjPgRetailPromotion
Product Object Page - Retail Promotion
C_ProductObjPgRetailPromotion is a Consumption CDS View that provides data about "Product Object Page - Retail Promotion" in SAP S/4HANA. It reads from 1 data source (I_RetailPromotionByProduct) and exposes 28 fields with key fields Product, RetailPromotion. It has 1 association to related views. Part of development package VDM_MD_PRODUCT_OBJPAGE_APP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_RetailPromotionByProduct | I_RetailPromotionByProduct | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_ProductObjPg | _ProductObjPg | $projection.Product = _ProductObjPg.Product |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPRODOBJPGRTLPRM | view | |
| EndUserText.label | Product Object Page - Retail Promotion | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | Product | Product Sold | |
| KEY | RetailPromotion | RetailPromotion | Promotion | |
| RetailPromotionName | ||||
| RetailPromotionSalesFromDate | _RetailPromotion | RetailPromotionSalesFromDate | Start | |
| RetailPromotionSalesToDate | _RetailPromotion | RetailPromotionSalesToDate | End | |
| SalesPriceActivationStatus | _RetailPromotion | SalesPriceActivationStatus | Sales Price Activation | |
| SalesOrganization | _RetailPromotion | SalesOrganization | Sales Organization | |
| DistributionChannel | _RetailPromotion | DistributionChannel | RefDistCh-Cust/Mat. | |
| PurchasingOrganization | _RetailPromotion | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | _RetailPromotion | PurchasingGroup | Purchasing Group | |
| RetailPromotionType | _RetailPromotion | RetailPromotionType | ||
| PromotionAnnouncementStatus | _RetailPromotion | PromotionAnnouncementStatus | Promotion Announcement | |
| _ProductObjPg | _ProductObjPg | |||
| _RetailPromotion | _RetailPromotion | |||
| _RtlPromnSalesPriceActvtnSts | _RetailPromotion | _RtlPromnSalesPriceActvtnSts | ||
| SalesPriceActivationStatusName | ||||
| _RtlPromotionAnnouncementSts | _RetailPromotion | _RtlPromotionAnnouncementSts | ||
| PromotionAnnouncementStsName | ||||
| _SalesOrganization | _RetailPromotion | _SalesOrganization | ||
| SalesOrganizationName | ||||
| DistributionChannelName | ||||
| _DistributionChannel | _RetailPromotion | _DistributionChannel | ||
| _PurchasingOrganization | _RetailPromotion | _PurchasingOrganization | ||
| PurchasingOrganizationName | ||||
| _PurchasingGroup | _RetailPromotion | _PurchasingGroup | ||
| PurchasingGroupName | ||||
| _RetailPromotionType | _RetailPromotion | _RetailPromotionType | ||
| RetailPromotionTypeName |
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 C_ProductObjPgRetailPromotion.
-- 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: CPRODOBJPGRTLPRM
CREATE VIEW C_ProductObjPgRetailPromotion AS
SELECT
Product,
RetailPromotion,
_RetailPromotion._Text[1:Language=$session.system_language].RetailPromotionName AS RetailPromotionName,
_RetailPromotion.RetailPromotionSalesFromDate AS RetailPromotionSalesFromDate,
_RetailPromotion.RetailPromotionSalesToDate AS RetailPromotionSalesToDate,
_RetailPromotion.SalesPriceActivationStatus AS SalesPriceActivationStatus,
_RetailPromotion.SalesOrganization AS SalesOrganization,
_RetailPromotion.DistributionChannel AS DistributionChannel,
_RetailPromotion.PurchasingOrganization AS PurchasingOrganization,
_RetailPromotion.PurchasingGroup AS PurchasingGroup,
_RetailPromotion.RetailPromotionType AS RetailPromotionType,
_RetailPromotion.PromotionAnnouncementStatus AS PromotionAnnouncementStatus,
_RetailPromotion._RtlPromnSalesPriceActvtnSts AS _RtlPromnSalesPriceActvtnSts,
_RetailPromotion._RtlPromnSalesPriceActvtnSts._Text[1: Language = $session.system_language ].SalesPriceActivationStatusName AS SalesPriceActivationStatusName,
_RetailPromotion._RtlPromotionAnnouncementSts AS _RtlPromotionAnnouncementSts,
_RetailPromotion._RtlPromotionAnnouncementSts._Text[1: Language = $session.system_language ].PromotionAnnouncementStsName AS PromotionAnnouncementStsName,
_RetailPromotion._SalesOrganization AS _SalesOrganization,
_RetailPromotion._SalesOrganization._Text[1: Language = $session.system_language ].SalesOrganizationName AS SalesOrganizationName,
_RetailPromotion._DistributionChannel._Text[1: Language = $session.system_language ].DistributionChannelName AS DistributionChannelName,
_RetailPromotion._DistributionChannel AS _DistributionChannel,
_RetailPromotion._PurchasingOrganization AS _PurchasingOrganization,
_RetailPromotion._PurchasingOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
_RetailPromotion._PurchasingGroup AS _PurchasingGroup,
_RetailPromotion._PurchasingGroup.PurchasingGroupName AS PurchasingGroupName,
_RetailPromotion._RetailPromotionType AS _RetailPromotionType,
_RetailPromotion._RetailPromotionType._Text[1: Language = $session.system_language ].RetailPromotionTypeName AS RetailPromotionTypeName
FROM I_RetailPromotionByProduct
LEFT OUTER JOIN C_ProductObjPg AS _ProductObjPg ON Product = _ProductObjPg.Product -- association [1..1]
;
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