I_RetailPromotionItemStore
Retail Promotion Item Store
I_RetailPromotionItemStore is a Basic CDS View that provides data about "Retail Promotion Item Store" in SAP S/4HANA. It reads from 1 data source (wale) and exposes 39 fields with key fields RetailPromotion, Product, SalesQuantityUnit, StoreCustomer, StoreGroupInternalID. It has 14 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| wale | wale | from |
Associations (14)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_RetailPromotion | _RetailPromotion | $projection.RetailPromotion = _RetailPromotion.RetailPromotion |
| [1..1] | I_RetailPromotionItem | _RetailPromotionItem | $projection.RetailPromotion = _RetailPromotionItem.RetailPromotion and $projection.Product = _RetailPromotionItem.Product and $projection.SalesQuantityUnit = _RetailPromotionItem.SalesQuantityUnit |
| [1..1] | I_RtlPromnStoreGroup | _RtlPromnStoreGroup | $projection.RetailPromotion = _RtlPromnStoreGroup.RetailPromotion and $projection.StoreGroupInternalID = _RtlPromnStoreGroup.StoreGroupInternalID |
| [1..1] | I_RtlPromnItmStoreAnncmntSts | _ItmStoreAnncmntSts | $projection.RtlPromnItmStoreAnncmntSts = _ItmStoreAnncmntSts.RtlPromnItmStoreAnncmntSts |
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [1..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.SalesQuantityUnit = _UnitOfMeasure.UnitOfMeasure |
| [1..1] | I_Customer | _Customer | $projection.StoreCustomer = _Customer.Customer |
| [1..1] | I_Site | _Site | $projection.StoreCustomer = _Site.SiteCustomer |
| [1..1] | I_ClassHeader | _StoreGroupClassHeader | $projection.StoreGroupInternalID = _StoreGroupClassHeader.ClassInternalID |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [1..1] | I_Site | _SupplyingSite | $projection.PromotionSupplyingSite = _SupplyingSite.Site |
| [0..1] | I_Currency | _PromnPlnItmStoreCurrency | $projection.PromnPlnItmStoreCurrency = _PromnPlnItmStoreCurrency.Currency |
| [1..1] | I_SalesOrganization | _SalesOrganization | $projection.SalesOrganization = _SalesOrganization.SalesOrganization |
| [1..1] | I_DistributionChannel | _DistributionChannel | $projection.DistributionChannel = _DistributionChannel.DistributionChannel |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| Analytics.technicalName | IRTLPROMNITMSTRE | view | |
| EndUserText.label | Retail Promotion Item Store | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | StoreCustomer | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RetailPromotion | aktnr | ||
| KEY | Product | |||
| _Product | _Product | |||
| KEY | SalesQuantityUnit | mebme | ||
| _UnitOfMeasure | _UnitOfMeasure | |||
| KEY | StoreCustomer | kunnr | ||
| _Customer | _Customer | |||
| _Site | _Site | |||
| KEY | StoreGroupInternalID | clint | ||
| _StoreGroupClassHeader | _StoreGroupClassHeader | |||
| Supplier | lifnr | |||
| _Supplier | _Supplier | |||
| LocHasRepliedToAnnouncement | rustb | |||
| PromnPlnItmStoreSalesPrice | plvkp | |||
| RtlPromotionItemSalesPriceQty | _RetailPromotionItem | RtlPromotionItemSalesPriceQty | ||
| PromnPlnItmStoreCurrency | waela | |||
| _PromnPlnItmStoreCurrency | _PromnPlnItmStoreCurrency | |||
| RtlPromnItmStoreAnncmntSts | bedeb | |||
| _ItmStoreAnncmntSts | _ItmStoreAnncmntSts | |||
| IsRegularSupplier | relif | |||
| PromnPlnItmStoreRequestedQty | wmnge | |||
| PromnPlnItmStoreConfdQty | aufme | |||
| PromnPlnItmSalesQuantity | pabbm | |||
| PromotionSupplyingSite | vzwrk | |||
| SalesOrganization | vkorg | |||
| DistributionChannel | vtweg | |||
| RtlPromnLatestPossibleGRDate | _RtlPromnStoreGroup | RtlPromnLatestPossibleGRDate | ||
| _RtlPromnStoreGroup | _RtlPromnStoreGroup | |||
| ProductGroup | _RetailPromotionItem | ProductGroup | ||
| _ClassHeader | _RetailPromotionItem | _ClassHeader | ||
| AllocationTable | _RetailPromotionItem | AllocationTable | ||
| _AllocationTable | _RetailPromotionItem | _AllocationTable | ||
| AllocationTableItem | _RetailPromotionItem | AllocationTableItem | ||
| _AllocationTableItem | _RetailPromotionItem | _AllocationTableItem | ||
| _RetailPromotionItem | _RetailPromotionItem | |||
| _RetailPromotion | _RetailPromotion | |||
| _SupplyingSite | _SupplyingSite | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel |
@Analytics.technicalName: 'IRTLPROMNITMSTRE'
@EndUserText: {label: 'Retail Promotion Item Store'}
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #REQUIRED
}
@VDM: {viewType: #BASIC}
@ObjectModel: {
representativeKey: 'StoreCustomer',
usageType: {
serviceQuality: #A,
sizeCategory: #XL,
dataClass: #TRANSACTIONAL
}
}
define view entity I_RetailPromotionItemStore
as select from wale
association [1..1] to I_RetailPromotion as _RetailPromotion on $projection.RetailPromotion = _RetailPromotion.RetailPromotion
association [1..1] to I_RetailPromotionItem as _RetailPromotionItem on $projection.RetailPromotion = _RetailPromotionItem.RetailPromotion
and $projection.Product = _RetailPromotionItem.Product
and $projection.SalesQuantityUnit = _RetailPromotionItem.SalesQuantityUnit
association [1..1] to I_RtlPromnStoreGroup as _RtlPromnStoreGroup on $projection.RetailPromotion = _RtlPromnStoreGroup.RetailPromotion
and $projection.StoreGroupInternalID = _RtlPromnStoreGroup.StoreGroupInternalID
association [1..1] to I_RtlPromnItmStoreAnncmntSts as _ItmStoreAnncmntSts on $projection.RtlPromnItmStoreAnncmntSts = _ItmStoreAnncmntSts.RtlPromnItmStoreAnncmntSts
association [1..1] to I_Product as _Product on $projection.Product = _Product.Product
association [1..1] to I_UnitOfMeasure as _UnitOfMeasure on $projection.SalesQuantityUnit = _UnitOfMeasure.UnitOfMeasure
association [1..1] to I_Customer as _Customer on $projection.StoreCustomer = _Customer.Customer
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] } */
association [1..1] to I_Site as _Site on $projection.StoreCustomer = _Site.SiteCustomer
association [1..1] to I_ClassHeader as _StoreGroupClassHeader on $projection.StoreGroupInternalID = _StoreGroupClassHeader.ClassInternalID
association [0..1] to I_Supplier as _Supplier on $projection.Supplier = _Supplier.Supplier
association [1..1] to I_Site as _SupplyingSite on $projection.PromotionSupplyingSite = _SupplyingSite.Site
association [0..1] to I_Currency as _PromnPlnItmStoreCurrency on $projection.PromnPlnItmStoreCurrency = _PromnPlnItmStoreCurrency.Currency
association [1..1] to I_SalesOrganization as _SalesOrganization on $projection.SalesOrganization = _SalesOrganization.SalesOrganization
association [1..1] to I_DistributionChannel as _DistributionChannel on $projection.DistributionChannel = _DistributionChannel.DistributionChannel
{
@ObjectModel.foreignKey.association: '_RetailPromotion'
key aktnr as RetailPromotion,
@ObjectModel: {foreignKey: {association: '_Product'}}
key cast(artnr as productnumber preserving type) as Product,
_Product,
@ObjectModel: {foreignKey: {association: '_UnitOfMeasure'}}
key mebme as SalesQuantityUnit,
_UnitOfMeasure,
@ObjectModel: {foreignKey: {association: '_Customer'}}
key kunnr as StoreCustomer,
_Customer,
_Site,
@ObjectModel: {foreignKey: {association: '_StoreGroupClassHeader'}}
key clint as StoreGroupInternalID,
_StoreGroupClassHeader,
@ObjectModel.foreignKey.association: '_Supplier'
lifnr as Supplier,
_Supplier,
@Semantics.booleanIndicator: true
rustb as LocHasRepliedToAnnouncement,
@Semantics.amount.currencyCode: 'PromnPlnItmStoreCurrency'
plvkp as PromnPlnItmStoreSalesPrice,
@Semantics.quantity.unitOfMeasure: 'SalesQuantityUnit'
_RetailPromotionItem.RtlPromotionItemSalesPriceQty as RtlPromotionItemSalesPriceQty,
waela as PromnPlnItmStoreCurrency,
_PromnPlnItmStoreCurrency,
@ObjectModel.foreignKey.association: '_ItmStoreAnncmntSts'
bedeb as RtlPromnItmStoreAnncmntSts,
_ItmStoreAnncmntSts,
@Semantics.booleanIndicator: true
relif as IsRegularSupplier,
@Semantics.quantity.unitOfMeasure: 'SalesQuantityUnit'
wmnge as PromnPlnItmStoreRequestedQty,
@Semantics.quantity.unitOfMeasure: 'SalesQuantityUnit'
aufme as PromnPlnItmStoreConfdQty,
@Semantics.quantity.unitOfMeasure: 'SalesQuantityUnit'
pabbm as PromnPlnItmSalesQuantity,
@ObjectModel.foreignKey.association: '_SupplyingSite'
vzwrk as PromotionSupplyingSite,
@ObjectModel.foreignKey.association: '_SalesOrganization'
vkorg as SalesOrganization,
@ObjectModel.foreignKey.association: '_DistributionChannel'
vtweg as DistributionChannel,
_RtlPromnStoreGroup.RtlPromnLatestPossibleGRDate as RtlPromnLatestPossibleGRDate,
_RtlPromnStoreGroup,
_RetailPromotionItem.ProductGroup as ProductGroup,
_RetailPromotionItem._ClassHeader,
_RetailPromotionItem.AllocationTable as AllocationTable,
_RetailPromotionItem._AllocationTable,
_RetailPromotionItem.AllocationTableItem as AllocationTableItem,
_RetailPromotionItem._AllocationTableItem,
@ObjectModel.association.type: [#TO_COMPOSITION_PARENT]
_RetailPromotionItem,
@ObjectModel.association.type: [#TO_COMPOSITION_ROOT]
_RetailPromotion,
_SupplyingSite,
_SalesOrganization,
_DistributionChannel
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_RETAILPROMOTIONITEM",
"I_RTLPROMNSTOREGROUP",
"WALE"
],
"ASSOCIATED":
[
"I_ALLOCATIONTABLE",
"I_ALLOCATIONTABLEITEM",
"I_CLASSHEADER",
"I_CURRENCY",
"I_CUSTOMER",
"I_DISTRIBUTIONCHANNEL",
"I_PRODUCT",
"I_RETAILPROMOTION",
"I_RETAILPROMOTIONITEM",
"I_RTLPROMNITMSTOREANNCMNTSTS",
"I_RTLPROMNSTOREGROUP",
"I_SALESORGANIZATION",
"I_SITE",
"I_SUPPLIER",
"I_UNITOFMEASURE"
],
"BASE":
[
"I_RETAILPROMOTIONITEM"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- 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 Annotations — A Complete Guide
- 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