I_MaterialUnitOfMeasure

DDL: I_MATERIALUNITOFMEASURE SQL: IMATUOM Type: view BASIC

Material Unit Of Measure

I_MaterialUnitOfMeasure is a Basic CDS View that provides data about "Material Unit Of Measure" in SAP S/4HANA. It reads from 1 data source (marm) and exposes 4 fields with key fields Material, AlternativeUnit.

Data Sources (1)

SourceAliasJoin Type
marm marm from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMATUOM view
AbapCatalog.preserveKey true view
EndUserText.label Material Unit Of Measure view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Material marm matnr
KEY AlternativeUnit marm meinh
QuantityNumerator marm umrez
QuantityDenominator marm umren
@AbapCatalog.sqlViewName: 'IMATUOM'
@AbapCatalog.preserveKey: true

@EndUserText.label: 'Material Unit Of Measure'

@AccessControl.authorizationCheck: #NOT_REQUIRED

@ClientHandling.type: #INHERITED
@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #BASIC

@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #S
define view I_MaterialUnitOfMeasure
  as select from marm
//  association [0..1] to I_UnitOfMeasure         as _MaterialMeasurementUnit     on  $projection.ProductMeasurementUnit = _ProductMeasurementUnit.UnitOfMeasure

//  association [0..*] to I_UnitOfMeasureText     as _MaterialMeasurementUnitText on  $projection.ProductMeasurementUnit = _ProductMeasurementUnitText.UnitOfMeasure

//  association [0..1] to I_UnitOfMeasure         as _AlternativeUnit            on  $projection.AlternativeUnit = _AlternativeUnit.UnitOfMeasure

//  association [0..*] to I_UnitOfMeasureText     as _AlternativeUnitText        on  $projection.AlternativeUnit = _AlternativeUnitText.UnitOfMeasure

//  association [0..1] to I_Intntnlartnmbcat      as _GlobalTradeItemNumber      on  $projection.GlobalTradeItemNumberCategory = _GlobalTradeItemNumber.InternationalArticleNumberCat

//  association [0..*] to I_Intntnlartnmbcattext  as _GlobalTradeItemNumberText  on  $projection.GlobalTradeItemNumberCategory = _GlobalTradeItemNumberText.InternationalArticleNumberCat



{
  key marm.matnr                                      as Material,
  key marm.meinh                                      as AlternativeUnit,
      marm.umrez                                      as QuantityNumerator,
      marm.umren                                      as QuantityDenominator

//      @Semantics.quantity.unitOfMeasure: 'VolumeUnit'

//      marm.volum                                      as MaterialVolume,

//      @Semantics.unitOfMeasure: true

//      marm.voleh                                      as VolumeUnit,

//      @Semantics.quantity.unitOfMeasure: 'WeightUnit'

//      marm.brgew                                      as GrossWeight,

//      @Semantics.unitOfMeasure: true

//      marm.gewei                                      as WeightUnit,

//

//      marm.ean11                                      as GlobalTradeItemNumber,

//      marm.numtp                                      as GlobalTradeItemNumberCategory,

//      _GlobalTradeItemNumber,

//      _GlobalTradeItemNumberText,

//      @Semantics.quantity.unitOfMeasure: 'ProductMeasurementUnit'

//      marm.laeng                                      as UnitSpecificProductLength,

//      @Semantics.quantity.unitOfMeasure: 'ProductMeasurementUnit'

//      marm.breit                                      as UnitSpecificProductWidth,

//      @Semantics.quantity.unitOfMeasure: 'ProductMeasurementUnit'

//      marm.hoehe                                      as UnitSpecificProductHeight,

//

//      @Semantics.unitOfMeasure: true

//      @ObjectModel.foreignKey.association: '_ProductMeasurementUnit'

//      @ObjectModel.text.association: '_ProductMeasurementUnitText'

//      marm.meabm                                      as ProductMeasurementUnit,

//      _ProductMeasurementUnit,

//      _ProductMeasurementUnitText,

//      marm.mesub                                      as LowerLevelPackagingUnit,

//

//      //EWM

//      marm.nest_ftr                                   as RemainingVolumeAfterNesting,

//      marm.max_stack                                  as MaximumStackingFactor,

//      marm.capause                                    as CapacityUsage,

//

//      cast( 'X' as sdraft_is_active preserving type ) as IsActiveEntity, // to enbale extensibility in Draft 2.0

//      

//      // New fields from MDG model, as part of unified API development

//      marm.ty2tq                                      as UnitOfMeasureCategory,

//      marm.gtin_variant                               as ProductGTINVariant,

//      

//      _Product


}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"MARM"
],
"ASSOCIATED":
[],
"BASE":
[],
"VERSION":0
}
}*/