I_RetailPromotionT
Retail Promotion Text
I_RetailPromotionT is a Basic CDS View that provides data about "Retail Promotion Text" in SAP S/4HANA. It reads from 1 data source (wakt) and exposes 5 fields with key fields RetailPromotion, Language. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| wakt | wakt | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_RetailPromotion | _RetailPromotion | $projection.RetailPromotion = _RetailPromotion.RetailPromotion |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| Analytics.technicalName | IRTLPROMNT | view | |
| EndUserText.label | Retail Promotion Text | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Search.searchable | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | RetailPromotion | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RetailPromotion | aktnr | ||
| KEY | Language | |||
| RetailPromotionName | aktkt | |||
| _RetailPromotion | _RetailPromotion | |||
| _Language | _Language |
@Analytics.technicalName: 'IRTLPROMNT'
@EndUserText.label: 'Retail Promotion Text'
@AccessControl.authorizationCheck: #CHECK //#NOT_REQUIRED todo: AC: ich denke wir brauchen den check. Der Name eine Promotion kann schon viel ueber den Inhalt verraten
@Search: {searchable: true}
@VDM.viewType: #BASIC
@ObjectModel: {
dataCategory: #TEXT,
representativeKey: 'RetailPromotion',
usageType: {
serviceQuality: #A,
sizeCategory: #M,
dataClass: #MASTER
}
}
define view entity I_RetailPromotionT
as select from wakt
association [1..1] to I_RetailPromotion as _RetailPromotion on $projection.RetailPromotion = _RetailPromotion.RetailPromotion
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
key aktnr as RetailPromotion,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language: true
key cast( spras as langu preserving type )
as Language,
@Semantics.text: true
@Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
aktkt as RetailPromotionName,
@ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
_RetailPromotion,
_Language
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"WAKT"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_RETAILPROMOTION"
],
"BASE":
[],
"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