I_RetailCharacteristic
Controlling Characteristics Header
I_RetailCharacteristic is a Basic CDS View (Dimension) that provides data about "Controlling Characteristics Header" in SAP S/4HANA. It reads from 1 data source (wrf_charval_head) and exposes 8 fields with key field CharcInternalID. It has 2 associations to related views. Part of development package WRF_CHARACTERISTIC_VALUE_GRP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| wrf_charval_head | wrf_charval_head | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_RetailCharacteristicType | _RetailCharacteristicType | $projection.RetailCharacteristicType = _RetailCharacteristicType.RetailCharacteristicType |
| [0..1] | I_RtlCharcValValdtn | _RtlCharcValValdtn | $projection.RtlCharcValValdtn = _RtlCharcValValdtn.RtlCharcValValdtn |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Controlling Characteristics Header | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | CharcInternalID | view | |
| ObjectModel.sapObjectNodeType.name | RetailCharacteristicValueType | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataExtraction.delta.changeDataCapture.automatic | true | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CharcInternalID | |||
| Characteristic | atnam | |||
| RetailCharacteristicType | chartyp | |||
| RtlCharcValValdtn | checkopt | |||
| LastChangedByUser | aenam | |||
| LastChangedDate | aedat | |||
| _RetailCharacteristicType | _RetailCharacteristicType | |||
| _RtlCharcValValdtn | _RtlCharcValValdtn |
//Header Table for Controlling Characteristics
@EndUserText.label: 'Controlling Characteristics Header'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
// Technical Settings
@ObjectModel.representativeKey: 'CharcInternalID'
@ObjectModel.sapObjectNodeType.name: 'RetailCharacteristicValueType'
@ObjectModel: {
modelingPattern: #ANALYTICAL_DIMENSION,
supportedCapabilities: [ #CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#EXTRACTION_DATA_SOURCE,
#ANALYTICAL_DIMENSION ],
usageType.dataClass: #MASTER,
usageType.serviceQuality : #A,
usageType.sizeCategory : #S
}
@Metadata.ignorePropagatedAnnotations:true
// For Data Extraction
@Analytics.internalName: #LOCAL
@Analytics: {
dataCategory: #DIMENSION,
dataExtraction: {
enabled: true,
delta.changeDataCapture: {
automatic: true
}
}
}
//View Entity
define view entity I_RetailCharacteristic
as select from wrf_charval_head
association [0..1] to I_RetailCharacteristicType as _RetailCharacteristicType on $projection.RetailCharacteristicType = _RetailCharacteristicType.RetailCharacteristicType
association [0..1] to I_RtlCharcValValdtn as _RtlCharcValValdtn on $projection.RtlCharcValValdtn = _RtlCharcValValdtn.RtlCharcValValdtn
{
@ObjectModel.text.element: ['Characteristic']
key cast( atinn as numc10 preserving type ) as CharcInternalID,
@Semantics.text: true
atnam as Characteristic,
@ObjectModel.foreignKey.association: '_RetailCharacteristicType'
chartyp as RetailCharacteristicType,
@ObjectModel.foreignKey.association: '_RtlCharcValValdtn'
checkopt as RtlCharcValValdtn,
@Semantics.user.lastChangedBy: true
aenam as LastChangedByUser,
@Semantics.systemDate.lastChangedAt: true
aedat as LastChangedDate,
//Expose Association
_RetailCharacteristicType,
_RtlCharcValValdtn
}
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