A_RetailPromotion

DDL: A_RETAILPROMOTION Type: view_entity CONSUMPTION

Retail Promotion Document

A_RetailPromotion is a Consumption CDS View that provides data about "Retail Promotion Document" in SAP S/4HANA. It reads from 1 data source (R_RetailPromotionTP) and exposes 12 fields with key field RetailPromotion.

Data Sources (1)

SourceAliasJoin Type
R_RetailPromotionTP R_RetailPromotionTP projection

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Retail Promotion Document view
OData.entityType.name A_RetailPromotion_Type view
Metadata.ignorePropagatedAnnotations true view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY RetailPromotion RetailPromotion Promotion
RetailPromotionSalesFromDate RetailPromotionSalesFromDate
RetailPromotionSalesToDate RetailPromotionSalesToDate
RetailPromotionType RetailPromotionType
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
PurchasingOrganization PurchasingOrganization Purchasing Organization
PromotionProcessingStatus PromotionProcessingStatus
RtlPromnAllocTableStatus RtlPromnAllocTableStatus
SalesPriceActivationStatus SalesPriceActivationStatus
PurchasingGroup PurchasingGroup Purchasing Group
PromnPlnHdrCurrency PromnPlnHdrCurrency

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 A_RetailPromotion.
-- 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 A_RetailPromotion AS
SELECT
  RetailPromotion,
  RetailPromotionSalesFromDate,
  RetailPromotionSalesToDate,
  RetailPromotionType,
  SalesOrganization,
  DistributionChannel,
  PurchasingOrganization,
  PromotionProcessingStatus,
  RtlPromnAllocTableStatus,
  SalesPriceActivationStatus,
  PurchasingGroup,
  PromnPlnHdrCurrency
FROM R_RetailPromotionTP
;