I_ResvnCreationCodeText
Reservation Creation Code - Text
I_ResvnCreationCodeText is a Basic CDS View that provides data about "Reservation Creation Code - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields ReservationCreationCode, Language. It has 2 associations to related views. Part of development package MM_IM_RAP_RES.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ReservationCreationCode | _ReservationCreationCode | $projection.ReservationCreationCode = _ReservationCreationCode.ReservationCreationCode |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Reservation Creation Code - Text | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | ReservationCreationCode | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Consumption.ranked | true | view | |
| Search.searchable | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ReservationCreationCode | |||
| KEY | Language | |||
| ReservationCreationCodeName | ||||
| _ReservationCreationCode | _ReservationCreationCode | |||
| _Language | _Language |
@EndUserText.label: 'Reservation Creation Code - Text'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel: {
usageType: {
serviceQuality: #C,
dataClass: #CUSTOMIZING,
sizeCategory: #M
},
dataCategory: #TEXT,
representativeKey: 'ReservationCreationCode'
}
@VDM: {
viewType: #BASIC
}
@Metadata: {
ignorePropagatedAnnotations: true
}
@Consumption.ranked: true
@Search.searchable: true
define view entity I_ResvnCreationCodeText
as select from dd07t
association [0..1] to I_ReservationCreationCode as _ReservationCreationCode on $projection.ReservationCreationCode = _ReservationCreationCode.ReservationCreationCode
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_ReservationCreationCode'
@ObjectModel.text.element: ['ReservationCreationCodeName']
key cast(substring(dd07t.domvalue_l, 1, 4) as imrs_creation_code preserving type) as ReservationCreationCode,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language:true
key cast( ddlanguage as spras ) as Language,
@Semantics.text: true
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #LOW
cast ( substring ( ddtext, 1, 60 ) as val_text ) as ReservationCreationCodeName,
_ReservationCreationCode,
_Language
}
where
(
dd07t.domname = 'IMRS_CREATION_CODE'
)
and(
dd07t.as4local = 'A'
);
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