C_RetailPromotionDP
Retail Promotion
C_RetailPromotionDP is a Consumption CDS View that provides data about "Retail Promotion" in SAP S/4HANA. It reads from 1 data source (I_RetailPromotion) and exposes 51 fields with key field RetailPromotion. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_RetailPromotion | I_RetailPromotion | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_RetailPromotionTextDP | _RetailPromotionText | |
| [0..*] | C_RetailPromotionItemDP | _RtlPromnItem | |
| [0..*] | C_RtlPromnLocalStoreGroupDP | _RtlPromnLocalStoreGroup | |
| [0..*] | C_RtlPromnLoclStoreGrpStoreDP | _RtlPromnLoclStoreGrpStore | |
| [0..*] | C_RtlPromnLoclStoreGroupTextDP | _RtlPromnLoclStoreGroupText | |
| [0..*] | C_RetailPromotionStoreGroupDP | _RtlPromnStoreGroup | |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Retail Promotion | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.sapObjectNodeType.name | RetailPromotion | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.representativeKey | RetailPromotion | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| DataIntegration.deltaReplication.intended | true | view |
Fields (51)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RetailPromotion | RetailPromotion | Promotion | |
| RetailPromotionSalesFromDate | RetailPromotionSalesFromDate | On sale from | ||
| RetailPromotionSalesToDate | RetailPromotionSalesToDate | to | ||
| PurPriceCndnStartDate | PurPriceCndnStartDate | Purchase from | ||
| PurPriceCndnEndDate | PurPriceCndnEndDate | to | ||
| RetailPromotionType | RetailPromotionType | Promotion Type | ||
| RetailPromotionIsRefPromotion | RetailPromotionIsRefPromotion | Higher PromoNo. | ||
| RetailPromotionCrtedByAppl | RetailPromotionCrtedByAppl | Creating applic. | ||
| RetailPromnHeaderBlockDate | RetailPromnHeaderBlockDate | Pro.blocked on | ||
| RetailPromnBlockingReason | RetailPromnBlockingReason | Blocking reason | ||
| RetailPromotionRefPromotion | RetailPromotionRefPromotion | HigherLvl Promo | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| RetailPromotionCategory | RetailPromotionCategory | Promotion Cat. | ||
| RetailPromotionCustomerType | RetailPromotionCustomerType | Part. Type | ||
| SalesPriceActivationStatus | SalesPriceActivationStatus | |||
| PromotionAnnouncementStatus | PromotionAnnouncementStatus | |||
| RtlPromnListingStatus | RtlPromnListingStatus | Listing | ||
| RtlPromnAllocTableStatus | RtlPromnAllocTableStatus | Alloc. tbl stat | ||
| PromotionProcessingStatus | PromotionProcessingStatus | Subseq. process | ||
| PromnPlnHdrCurrency | PromnPlnHdrCurrency | Plnd crrncy | ||
| PromnPlnTotalItemsPurchasePrc | PromnPlnTotalItemsPurchasePrc | Sales at PP | ||
| PromnPlnTotalItemsSalesPrice | PromnPlnTotalItemsSalesPrice | Sales vol.at SP | ||
| PromnPlnNumberOfArticles | PromnPlnNumberOfArticles | No. Items | ||
| _DistributionChannel | _DistributionChannel | |||
| _PromnPlnHdrCurrency | _PromnPlnHdrCurrency | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _RetailPromotionCategory | _RetailPromotionCategory | |||
| _RetailPromotionCustomerType | _RetailPromotionCustomerType | |||
| _RetailPromotionDiscount | _RetailPromotionDiscount | |||
| _RetailPromotionItem | _RetailPromotionItem | |||
| _RetailPromotionType | _RetailPromotionType | |||
| _RtlPromnAllocTblStatus | _RtlPromnAllocTblStatus | |||
| _RtlPromnBlockingReason | _RtlPromnBlockingReason | |||
| _RtlPromnCrtedByAppl | _RtlPromnCrtedByAppl | |||
| _RtlPromnHeaderDiscount | _RtlPromnHeaderDiscount | |||
| _RtlPromnLstgStatus | _RtlPromnLstgStatus | |||
| _RtlPromnProcessingStatus | _RtlPromnProcessingStatus | |||
| _RtlPromnSalesPriceActvtnSts | _RtlPromnSalesPriceActvtnSts | |||
| _RtlPromotionAnnouncementSts | _RtlPromotionAnnouncementSts | |||
| _SalesOrganization | _SalesOrganization | |||
| _Text | _Text | |||
| _RetailPromotionText | _RetailPromotionText | |||
| _RtlPromnItem | _RtlPromnItem | |||
| _RtlPromnLocalStoreGroup | _RtlPromnLocalStoreGroup | |||
| _RtlPromnLoclStoreGrpStore | _RtlPromnLoclStoreGrpStore | |||
| _RtlPromnLoclStoreGroupText | _RtlPromnLoclStoreGroupText | |||
| _RtlPromnStoreGroup | _RtlPromnStoreGroup |
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_RetailPromotionDP.
-- 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_RetailPromotionDP AS
SELECT
RetailPromotion,
RetailPromotionSalesFromDate,
RetailPromotionSalesToDate,
PurPriceCndnStartDate,
PurPriceCndnEndDate,
RetailPromotionType,
RetailPromotionIsRefPromotion,
RetailPromotionCrtedByAppl,
RetailPromnHeaderBlockDate,
RetailPromnBlockingReason,
RetailPromotionRefPromotion,
SalesOrganization,
DistributionChannel,
PurchasingOrganization,
PurchasingGroup,
RetailPromotionCategory,
RetailPromotionCustomerType,
SalesPriceActivationStatus,
PromotionAnnouncementStatus,
RtlPromnListingStatus,
RtlPromnAllocTableStatus,
PromotionProcessingStatus,
PromnPlnHdrCurrency,
PromnPlnTotalItemsPurchasePrc,
PromnPlnTotalItemsSalesPrice,
PromnPlnNumberOfArticles
FROM I_RetailPromotion
LEFT OUTER JOIN C_RetailPromotionTextDP AS _RetailPromotionText ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN C_RetailPromotionItemDP AS _RtlPromnItem ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN C_RtlPromnLocalStoreGroupDP AS _RtlPromnLocalStoreGroup ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN C_RtlPromnLoclStoreGrpStoreDP AS _RtlPromnLoclStoreGrpStore ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN C_RtlPromnLoclStoreGroupTextDP AS _RtlPromnLoclStoreGroupText ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN C_RetailPromotionStoreGroupDP AS _RtlPromnStoreGroup ON /* condition not available in parsed metadata */ -- 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