I_EquipmentText
Equipment - Text
I_EquipmentText is a Basic CDS View that provides data about "Equipment - Text" in SAP S/4HANA. It reads from 1 data source (eqkt) and exposes 10 fields with key fields Equipment, Language. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| eqkt | eqkt | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Equipment | _Equipment | _Equipment.Equipment = $projection.Equipment |
| [0..1] | I_Language | _Language | _Language.Language = $projection.Language -- Extensions, do not expose as association: |
| [0..1] | E_Equipment | _EquipmentExtension | _EquipmentExtension.Equipment = $projection.Equipment |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Equipment - Text | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | IEQUIPMENTTEXT | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | Equipment | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataExtraction.delta.changeDataCapture.automatic | true | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Equipment | eqkt | equnr | |
| KEY | Language | eqkt | spras | |
| EquipmentName | eqkt | eqktx | Description | |
| IsPrimaryLanguage | eqkt | txasp | ||
| EquipmentHasLongText | eqkt | kzltx | ||
| LastChangeDateTime | eqkt | textchangeddatetime | ||
| ValidityStartDate | _Equipment | CreationDate | ||
| ValidityEndDate | ||||
| _Equipment | _Equipment | |||
| _Language | _Language |
@EndUserText.label: 'Equipment - Text'
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
@AbapCatalog: { sqlViewName: 'IEQUIPMENTTEXT', compiler.compareFilter, preserveKey }
@AccessControl.authorizationCheck:#CHECK
@ObjectModel.representativeKey: 'Equipment'
@Search.searchable: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #EXTRACTION_DATA_SOURCE]
@Analytics: {
dataExtraction: {
enabled: true,
delta.changeDataCapture: {
automatic: true
}
}
}
define view I_EquipmentText
as select from eqkt // EQKT = Equipment Short Texts
association [0..1] to I_Equipment as _Equipment on _Equipment.Equipment = $projection.Equipment
association [0..1] to I_Language as _Language on _Language.Language = $projection.Language
-- Extensions, do not expose as association:
association [0..1] to E_Equipment as _EquipmentExtension on _EquipmentExtension.Equipment = $projection.Equipment
{
@ObjectModel.foreignKey.association: '_Equipment'
key eqkt.equnr as Equipment,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language: true
key eqkt.spras as Language,
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8} // Optimize Type ahead for value helps - 2302
@Semantics.text: true
@EndUserText.label: 'Description'
eqkt.eqktx as EquipmentName,
eqkt.txasp as IsPrimaryLanguage,
eqkt.kzltx as EquipmentHasLongText,
@Semantics.systemDateTime.lastChangedAt: true
eqkt.textchangeddatetime as LastChangeDateTime,
@Semantics.businessDate.from: true
_Equipment.CreationDate as ValidityStartDate,
@Semantics.businessDate.to: true
cast( '99991231' as datbi ) as ValidityEndDate,
// Propagate association
_Equipment,
_Language
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_EQUIPMENT",
"EQKT"
],
"ASSOCIATED":
[
"E_EQUIPMENT",
"I_EQUIPMENT",
"I_LANGUAGE"
],
"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