SEPMRA_I_DimensionUnit
Dimension Unit
SEPMRA_I_DimensionUnit is a CDS View that provides data about "Dimension Unit" in SAP S/4HANA. It reads from 1 data source (t006) and exposes 3 fields with key field UnitOfMeasure. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t006 | UnitOfMeasure | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | SEPMRA_I_UnitOfMeasureText | _Text | $projection.UnitOfMeasure = _Text.UnitOfMeasure |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Dimension Unit | view | |
| AbapCatalog.sqlViewName | SEPMRAIDIMU | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | UnitOfMeasure | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Search.searchable | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| UI.headerInfo.typeName | Dimension Unit | view | |
| UI.headerInfo.typeNamePlural | Dimension Units | view | |
| UI.headerInfo.typeImageUrl | sap-icon: title: { value: | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UnitOfMeasure | |||
| UnitOfMeasureISOCode | isocode | |||
| _Text | _Text |
@EndUserText.label: 'Dimension Unit'
@AbapCatalog: {
sqlViewName: 'SEPMRAIDIMU',
compiler.compareFilter: true
}
@ClientHandling: {
type: #CLIENT_DEPENDENT,
algorithm: #SESSION_VARIABLE
}
@ObjectModel: {
representativeKey: 'UnitOfMeasure',
resultSet: {
sizeCategory: #XS -- display as drop-down list
},
usageType: {
serviceQuality: #A,
sizeCategory: #S,
dataClass: #CUSTOMIZING
}
}
@Search.searchable: true
@AccessControl.authorizationCheck: #NOT_REQUIRED -- no data access restriction needed: this is a simple code list
@UI.headerInfo: {
typeName: 'Dimension Unit',
typeNamePlural: 'Dimension Units',
typeImageUrl: 'sap-icon://compare',
title: { value: 'UnitOfMeasure' }
}
define view SEPMRA_I_DimensionUnit
as select from t006 as UnitOfMeasure
association [0..*] to SEPMRA_I_UnitOfMeasureText as _Text on $projection.UnitOfMeasure = _Text.UnitOfMeasure
{
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #HIGH }
@ObjectModel: { text.association: '_Text' }
@UI.lineItem: [
{ position: 1, importance: #HIGH, type: #STANDARD }
]
@UI.identification: [
{ position: 1, importance: #HIGH, type: #STANDARD }
]
key cast( msehi as snwd_dim_unit preserving type ) as UnitOfMeasure,
@Consumption: {
filter.hidden: true
}
isocode as UnitOfMeasureISOCode,
/* associations */
_Text
}
where
UnitOfMeasure.dimid = 'LENGTH'
and UnitOfMeasure.isocode <> ''
and UnitOfMeasure.primary = 'X'
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