A_CnsldtnBaseUnit

DDL: A_CNSLDTNBASEUNIT Type: view BASIC

Unit of Measure

A_CnsldtnBaseUnit is a Basic CDS View that provides data about "Unit of Measure" in SAP S/4HANA. It reads from 1 data source (I_UnitOfMeasure) and exposes 6 fields with key field UnitOfMeasure. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_UnitOfMeasure I_UnitOfMeasure from

Associations (1)

CardinalityTargetAliasCondition
[0..*] A_CnsldtnBaseUnitT _CnsldtnBaseUnitT $projection.UnitOfMeasure = _CnsldtnBaseUnitT.UnitOfMeasure

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ACSBASEUNIT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey UnitOfMeasure view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Unit of Measure view
OData.entitySet.name BaseUnit view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY UnitOfMeasure
UnitOfMeasureISOCode UnitOfMeasureISOCode
UnitOfMeasureNumberOfDecimals UnitOfMeasureNumberOfDecimals
UnitOfMeasureDspNmbrOfDcmls UnitOfMeasureDspNmbrOfDcmls
UnitOfMeasureSAPCode UnitOfMeasureSAPCode
_CnsldtnBaseUnitT _CnsldtnBaseUnitT
@AbapCatalog:{
  sqlViewName: 'ACSBASEUNIT',
  compiler.compareFilter: true
  }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.usageType: {
  dataClass: #CUSTOMIZING,
  serviceQuality: #A,
  sizeCategory: #S
}
@ObjectModel.representativeKey: 'UnitOfMeasure'
//@ObjectModel.sapObjectNodeType.name: 'UnitOfMeasure' 3.8.2022: not yet approved

@VDM:{
  viewType: #BASIC,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
  }
@EndUserText.label: 'Unit of Measure'
@OData.entitySet.name: 'BaseUnit'

define view A_CnsldtnBaseUnit
  as select from I_UnitOfMeasure

  association [0..*] to A_CnsldtnBaseUnitT as _CnsldtnBaseUnitT on $projection.UnitOfMeasure = _CnsldtnBaseUnitT.UnitOfMeasure

{
      @Semantics.unitOfMeasure: true
      @ObjectModel: { text.association: '_CnsldtnBaseUnitT' }
  key cast(UnitOfMeasure as fincs_runit preserving type )      as UnitOfMeasure,

      UnitOfMeasureISOCode,

      UnitOfMeasureNumberOfDecimals,

      UnitOfMeasureDspNmbrOfDcmls,

      UnitOfMeasureSAPCode,


      _CnsldtnBaseUnitT
}