C_PCLblSizeUnitVH
Label size unit of measure
C_PCLblSizeUnitVH is a Consumption CDS View that provides data about "Label size unit of measure" in SAP S/4HANA. It reads from 2 data sources (I_UnitOfMeasure, I_UnitOfMeasure) and exposes 2 fields with key field UnitOfMeasure. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_UnitOfMeasure | I_UnitOfMeasure | from |
| I_UnitOfMeasure | I_UnitOfMeasure | union |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UnitOfMeasureText | _Text | $projection.UnitOfMeasure = _Text.UnitOfMeasure and _Text.Language = $session.system_language |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CLBLSIZEUVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Label size unit of measure | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | UnitOfMeasure | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UnitOfMeasure | UnitOfMeasure | ||
| UnitOfMeasureName |
@AbapCatalog.sqlViewName: 'CLBLSIZEUVH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Label size unit of measure'
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #CONSUMPTION
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel:
{
resultSet.sizeCategory: #XS, //This qualifies it as a drop-down
dataCategory: #VALUE_HELP,
representativeKey: 'UnitOfMeasure',
usageType:
{
dataClass: #CUSTOMIZING,
sizeCategory: #S,
serviceQuality: #C
}
}
define view C_PCLblSizeUnitVH
as select from I_UnitOfMeasure
association [0..1] to I_UnitOfMeasureText as _Text on $projection.UnitOfMeasure = _Text.UnitOfMeasure
and _Text.Language = $session.system_language
{
key UnitOfMeasure,
_Text.UnitOfMeasureName
}
where
UnitOfMeasure = 'MM'
or
UnitOfMeasure = 'CM'
or
UnitOfMeasure = 'IN'
// the following union makes the value help support selecting an empty unit
union select from I_UnitOfMeasure
{
key cast ( '' as msehiunit ) as UnitOfMeasure,
'' as UnitOfMeasureName
}
where
UnitOfMeasure = 'MM'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_UNITOFMEASURE",
"I_UNITOFMEASURETEXT"
],
"ASSOCIATED":
[
"I_UNITOFMEASURETEXT"
],
"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