SEPMRA_I_UnitOfMeasureText
Unit of Measure Text
SEPMRA_I_UnitOfMeasureText is a CDS View that provides data about "Unit of Measure Text" in SAP S/4HANA. It reads from 1 data source (t006a) and exposes 7 fields with key fields UnitOfMeasure, Language. It has 1 association to related views. Part of development package S_EPMRA_COMMON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t006a | Text | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SEPMRAIUOMTEXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | UnitOfMeasure | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Search.searchable | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Unit of Measure Text | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UnitOfMeasure | |||
| KEY | Language | |||
| msehtasUnitOfMeasureName | ||||
| msehlasUnitOfMeasureLongName | ||||
| mseh3asUnitOfMeasureCommercialName | ||||
| UnitOfMeasureTechnicalName | t006a | mseh6 | ||
| Associations_Language |
@AbapCatalog: {
sqlViewName: 'SEPMRAIUOMTEXT',
compiler.compareFilter: true
}
@ClientHandling: {
type: #CLIENT_DEPENDENT,
algorithm: #SESSION_VARIABLE
}
@ObjectModel: {
dataCategory: #TEXT,
representativeKey: 'UnitOfMeasure',
usageType: {
serviceQuality: #B,
sizeCategory: #M,
dataClass: #CUSTOMIZING
}
}
@Search.searchable: true
@AccessControl.authorizationCheck: #NOT_REQUIRED -- this view is a text view used in code lists
@EndUserText.label: 'Unit of Measure Text'
define view SEPMRA_I_UnitOfMeasureText
as select from t006a as Text
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@Semantics: { unitOfMeasure: true }
key cast( Text.msehi as sepmra_unitofmeasure preserving type ) as UnitOfMeasure,
@Semantics: { language: true }
@ObjectModel: { foreignKey.association: '_Language' }
key cast( Text.spras as sepmra_language preserving type ) as Language,
@Search: { defaultSearchElement: true, ranking: #MEDIUM, fuzzinessThreshold: 0.8 }
-- TODO: This is actually a text field; but annotating it accordingly would break SADL text denormalization because SADL can handle single text fields only!
// @Semantics: { text: true }
Text.mseht as UnitOfMeasureName,
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
-- TODO: This is actually a text field; but annotating it accordingly would break SADL text denormalization because SADL can handle single text fields only!
// @Semantics: { text: true }
Text.msehl as UnitOfMeasureLongName,
@Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
-- TODO: This is actually a text field; but annotating it accordingly would break SADL text denormalization because SADL can handle single text fields only!
-- @Semantics: { text: true }
Text.mseh3 as UnitOfMeasureCommercialName,
@Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8 }
@Semantics: { text: true }
Text.mseh6 as UnitOfMeasureTechnicalName,
----------------------------------------------------------------------------------------------------------------
-- Associations --
----------------------------------------------------------------------------------------------------------------
_Language
}
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