C_SiteObjPgRetailPromotion
Site Object Page - Retail Promotion
C_SiteObjPgRetailPromotion is a Consumption CDS View that provides data about "Site Object Page - Retail Promotion" in SAP S/4HANA. It reads from 1 data source (I_RetailPromotionStore) and exposes 22 fields with key fields SiteCustomer, RetailPromotion.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_RetailPromotionStore | I_RetailPromotionStore | from |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Site Object Page - Retail Promotion | view | |
| AbapCatalog.sqlViewName | CSTEOPRTLPROMN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.semanticKey | RetailPromotion | view | |
| ObjectModel.representativeKey | RetailPromotion | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SiteCustomer | StoreCustomer | ||
| KEY | RetailPromotion | RetailPromotion | Promotion | |
| RetailPromotionName | ||||
| RetailPromotionSalesFromDate | _RetailPromotion | RetailPromotionSalesFromDate | ||
| RetailPromotionSalesToDate | _RetailPromotion | RetailPromotionSalesToDate | ||
| NumberOfProducts | NumberOfProducts | |||
| SalesPriceActivationStatus | _RetailPromotion | SalesPriceActivationStatus | ||
| 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 | ||
| _Site | _Site | |||
| _RetailPromotion | _RetailPromotion | |||
| _RtlPromnSalesPriceActvtnSts | _RetailPromotion | _RtlPromnSalesPriceActvtnSts | ||
| _RtlPromotionAnnouncementSts | _RetailPromotion | _RtlPromotionAnnouncementSts | ||
| _SalesOrganization | _RetailPromotion | _SalesOrganization | ||
| _DistributionChannel | _RetailPromotion | _DistributionChannel | ||
| _PurchasingOrganization | _RetailPromotion | _PurchasingOrganization | ||
| _PurchasingGroup | _RetailPromotion | _PurchasingGroup | ||
| _RetailPromotionType | _RetailPromotion | _RetailPromotionType |
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_SiteObjPgRetailPromotion.
-- 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 C_SiteObjPgRetailPromotion AS
SELECT
StoreCustomer AS SiteCustomer,
RetailPromotion,
_RetailPromotion._Text[1:Language=$session.system_language].RetailPromotionName AS RetailPromotionName,
_RetailPromotion.RetailPromotionSalesFromDate AS RetailPromotionSalesFromDate,
_RetailPromotion.RetailPromotionSalesToDate AS RetailPromotionSalesToDate,
NumberOfProducts,
_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._RtlPromotionAnnouncementSts AS _RtlPromotionAnnouncementSts,
_RetailPromotion._SalesOrganization AS _SalesOrganization,
_RetailPromotion._DistributionChannel AS _DistributionChannel,
_RetailPromotion._PurchasingOrganization AS _PurchasingOrganization,
_RetailPromotion._PurchasingGroup AS _PurchasingGroup,
_RetailPromotion._RetailPromotionType AS _RetailPromotionType
FROM I_RetailPromotionStore
;
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