I_UnitOfMeasure

DDL: I_UNITOFMEASURE SQL: IUNITOFMEASURE Type: view BASIC Package: SZME

Unit of Measure

I_UnitOfMeasure is a Basic CDS View (Dimension) that provides data about "Unit of Measure" in SAP S/4HANA. It reads from 1 data source (t006) and exposes 23 fields with key field UnitOfMeasure. It has 5 associations to related views. It is exposed through 23 OData services (C_SALESORDERMANAGE_SD, UI_ACCRUALS_PERDCAMT_MANAGE, UI_ATPSELECTOPTIONTOOL, ...). It is used in 7 Fiori applications: Billing Document, Configure BOP Segment, Monitor Freight Documents for Accrual, .... Part of development package SZME.

Data Sources (1)

SourceAliasJoin Type
t006 t006 from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_UnitOfMeasureText _Text $projection.UnitOfMeasure = _Text.UnitOfMeasure
[0..1] I_UnitOfMeasureDimension _Dimension $projection.UnitOfMeasureDimension = _Dimension.UnitOfMeasureDimension
[0..*] I_UnitOfMeasureDimensionText _DimensionText $projection.UnitOfMeasureDimension = _DimensionText.UnitOfMeasureDimension
[0..1] I_UnitOfMeasureISOCode _ISOCode $projection.UnitOfMeasureISOCode = _ISOCode.UnitOfMeasureISOCode
[0..*] I_UnitOfMeasureISOCodeText _ISOCodeText $projection.UnitOfMeasureISOCode = _ISOCodeText.UnitOfMeasureISOCode

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName IUNITOFMEASURE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Unit of Measure view
Search.searchable true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey UnitOfMeasure view
ObjectModel.sapObjectNodeType.name UnitOfMeasure view
Analytics.internalName #LOCAL view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view

OData Services (23)

ServiceBindingVersionContractRelease
C_SALESORDERMANAGE_SD C_SALESORDERMANAGE_SRV V4 C1 NOT_RELEASED
UI_ACCRUALS_PERDCAMT_MANAGE UI_ACCRS_PERDCAMT_MANAGE V2 C1 NOT_RELEASED
UI_ATPSELECTOPTIONTOOL UI_ATPSELECTOPTIONTOOL V2 C1 NOT_RELEASED
UI_BILLINGDOCUMENT_MANAGE UI_BILLINGDOCUMENT_MANAGE V4 C1 NOT_RELEASED
UI_BILLINGDOCUMENTFS UI_BILLINGDOCUMENTFS V2 C1 NOT_RELEASED
UI_CREDITMEMOREQUESTMANAGE UI_CREDITMEMOREQUESTMANAGE V4 C1 NOT_RELEASED
UI_CUSTOMER_WARRANTYCLAIM UI_CUSTOMER_WARRANTYCLAIM V2 C1 NOT_RELEASED
UI_CUSTOMERRETURNMANAGE UI_CUSTOMERRETURNMANAGE V4 C1 NOT_RELEASED
UI_DEBITMEMOREQUESTMANAGE UI_DEBITMEMOREQUESTMANAGE V4 C1 NOT_RELEASED
UI_FREIGHTORDER_ACCR UI_FREIGHTORDER_ACCR V2 C1 NOT_RELEASED
UI_KANBANCONTAINER_MONITOR UI_KANBANCONTAINER_MONITOR V4 C1 NOT_RELEASED
UI_KANBANSUMZDJITCALL_MON UI_KANBANSUMZDJITCALL_MON V4 C1 NOT_RELEASED
UI_MAINTENANCE_PLAN UI_MAINTENANCE_PLAN V2 C1 NOT_RELEASED
UI_PRATANKSTOROBJ_MANAGE UI_PRATANKSTOROBJ_MANAGE V2 C1 NOT_RELEASED
UI_PRELIMBILLINGDOCUMENT_F6990 UI_PRELIMBILLINGDOCUMENT_F6990 V4 C1 NOT_RELEASED
UI_PRODUCTLIST UI_PRODUCTLIST V2 C1 NOT_RELEASED
UI_PURCHASEORDERACCRS_DISPLAY UI_PURCHASEORDERACCRS_DSP V2 C1 NOT_RELEASED
UI_RFM_STORE_ADJMASSSTOCK UI_RFM_STORE_ADJMASSSTOCK V2 C1 NOT_RELEASED
UI_RFM_STORE_COUNTSTOCKADHOC UI_RFM_STORE_COUNTSTKADHOC V2 C1 NOT_RELEASED
UI_SALESCONTRACTMANAGE UI_SALESCONTRACTMANAGE V4 C1 NOT_RELEASED
UI_SALESDOCUMENTMANAGE UI_SALESDOCUMENTMANAGE V4 C1 NOT_RELEASED
UI_SALESQUOTATIONMANAGE UI_SALESQUOTATIONMANAGE V4 C1 NOT_RELEASED
UI_SLSORDERWITHOUTCHARGEMANAGE UI_SLSORDERWITHOUTCHARGEMANAGE V4 C1 NOT_RELEASED

Fiori Apps (7)

App IDApp NameTypeDescription
F1901 Billing Document Fact sheet The billing document object page displays contextual information about the billing document business object, bringing together all of the object's relevant attributes to provide you with an overview of the selected billing document.
F2158 Configure BOP Segment Transactional With this app, you can define a backorder processing segment containing a set of rules with which to prioritize the distribution of supply when the demand for the materials in orders exceeds the available inventory or capacity. Using a combination of filters and prioritizers, you can automate rescheduling and redistribution in line with your company strategy.
F4329 Monitor Freight Documents for Accrual Transactional
F4959 Adjust Mass Stock Transactional Allows store associates to adjust the stock of products for different reasons. It improves stock accuracy, store replenishment, and store employees productivity.
F5325 Manage Maintenance Plans Transactional An application to Manage Maintenance Plans, provides and comprehensive maintenance plan view including general data, scheduling information, assigned Maintenance Items, as well as review Maintenance calls, create new maintenance plan, edit existing maintenance plan.
F6204 Manage Claims-Customer facing process Transactional An application to manage Warranty Claims for customer facing processes
F6518 Product List Analytical The app displays and performs the analysis for different attributes of products that are part of various master data tables on one screen.

Billing Document

Business Role: Billing Clerk

You can access this object page from the Enterprise Search for billing documents search results. It displays contextual information about the billing document business object, bringing together all of the object"s relevant attributes to provide you with an overview of the selected billing document. At the bottom of the page, you can choose the name of involved business partners to display their contact details.

Configure BOP Segment

Business Role: Order Fulfillment Manager

With this app, you can define a backorder processing segment containing a set of rules with which to prioritize the distribution of supply when the demand for the materials in sales orders exceeds the available inventory or capacity. Using a combination of filters and prioritizers, you can automate rescheduling and redistribution in line with your company strategy.

Monitor Freight Documents for Accrual

Business Role: Transportation Manager (Transportation Management)

With this app, you can monitor your freight documents to post accruals. You can confirm a freight document to post the freight cost to Financial Accounting for accruals. You can monitor your freight documents in case there are errors during the posting process. To post the freight costs to Financial Accounting, you must confirm that the charges for a freight document are a correct reflection of the planned costs to be paid to the carrier. When you confirm a freight document for posting, the system posts the freight costs to Financial Accounting. You can also identify freight documents for which you have successfully posted the freight costs.

Key Features: Confirm freight costs for posting to Financial Accounting for accruals View freight documents that are successfully posted to Financial Accounting Cancel postings for freight documents that are successfully posted to Financial Accounting Monitor freight documents that have errors when you post them to Financial Accounting Display the errors that the system encountered when it posted your freight documents Post or cancel posting for freight documents for which the system encountered errors during posting

Adjust Mass Stock

Business Role: Retail Store Associate

This app enables store associates to scan the RFID of the product and it will be automatically added in the stock adjustments.

Manage Maintenance Plans

Business Role: Maintenance Planner

With the Manage Maintenance Plans app, you as a maintenance planner can view, create, change, schedule, activate, and delete maintenance plans.

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY UnitOfMeasure
_Text _Text
UnitOfMeasureSAPCode
UnitOfMeasureISOCode isocode
_ISOCode _ISOCode
_ISOCodeText _ISOCodeText
IsPrimaryUnitForISOCode primary
UnitOfMeasureNumberOfDecimals andec
UnitOfMeasureIsCommercial kzkeh
UnitOfMeasureDimension dimid
_Dimension _Dimension
_DimensionText _DimensionText
SIUnitCnvrsnRateNumerator zaehl
SIUnitCnvrsnRateDenominator nennr
SIUnitCnvrsnRateExponent exp10
SIUnitCnvrsnAdditiveValue addko
UnitOfMeasureDspExponent expon
UnitOfMeasureDspNmbrOfDcmls decan
UnitOfMeasureTemperature temp_value
UnitOfMeasureTemperatureUnit temp_unit
UnitOfMeasurePressure press_val
UnitOfMeasurePressureUnit press_unit
UnitOfMeasure_E
@AbapCatalog.sqlViewName: 'IUNITOFMEASURE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Unit of Measure'
@Search.searchable: true

@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API

@ClientHandling.type: #INHERITED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.representativeKey: 'UnitOfMeasure'
@ObjectModel.sapObjectNodeType.name: 'UnitOfMeasure'
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE, 
                                     #CDS_MODELING_DATA_SOURCE, 
                                     #CDS_MODELING_ASSOCIATION_TARGET]

@Analytics.internalName: #LOCAL
@Analytics : {dataCategory: #DIMENSION, dataExtraction.enabled : true}

define view I_UnitOfMeasure 
  as select from t006
   
    association [0..*] to I_UnitOfMeasureText as _Text 
        on $projection.UnitOfMeasure = _Text.UnitOfMeasure
   
    association [0..1] to I_UnitOfMeasureDimension as _Dimension
        on $projection.UnitOfMeasureDimension = _Dimension.UnitOfMeasureDimension 
    association [0..*] to I_UnitOfMeasureDimensionText as _DimensionText
        on $projection.UnitOfMeasureDimension = _DimensionText.UnitOfMeasureDimension 
   
    association [0..1] to I_UnitOfMeasureISOCode as _ISOCode
        on $projection.UnitOfMeasureISOCode = _ISOCode.UnitOfMeasureISOCode 
    association [0..*] to I_UnitOfMeasureISOCodeText as _ISOCodeText
        on $projection.UnitOfMeasureISOCode = _ISOCodeText.UnitOfMeasureISOCode
{   
    
    @Semantics.unitOfMeasure: true
    @ObjectModel.text.association: '_Text'  
    key cast ( msehi as msehiunit preserving type ) as UnitOfMeasure,   //use DTEL msehiunit for proper label  


    _Text,   
    
    cast ( msehi as meinsint ) as UnitOfMeasureSAPCode, //internal unit without conversion  

    
    @ObjectModel.foreignKey.association: '_ISOCode'    
    isocode    as UnitOfMeasureISOCode,
    _ISOCode,
    _ISOCodeText,   
    primary    as IsPrimaryUnitForISOCode,
                                             
    andec as UnitOfMeasureNumberOfDecimals, // for rounding   

    kzkeh as UnitOfMeasureIsCommercial,
            
    @ObjectModel.foreignKey.association: '_Dimension'
    dimid as UnitOfMeasureDimension,    
    _Dimension,
    _DimensionText,
    
    zaehl as SIUnitCnvrsnRateNumerator,
    nennr as SIUnitCnvrsnRateDenominator,
    exp10 as SIUnitCnvrsnRateExponent,
    addko as SIUnitCnvrsnAdditiveValue,
   
    expon as UnitOfMeasureDspExponent,
    decan as UnitOfMeasureDspNmbrOfDcmls,   // for number display

    
    @Semantics.quantity.unitOfMeasure: 'UnitOfMeasureTemperatureUnit'      
    temp_value as UnitOfMeasureTemperature,
    temp_unit  as UnitOfMeasureTemperatureUnit,
    
    @Semantics.quantity.unitOfMeasure: 'UnitOfMeasurePressureUnit'    
    press_val  as UnitOfMeasurePressure,
    press_unit as UnitOfMeasurePressureUnit,
                                         
    @Search.defaultSearchElement: true
    @Search.fuzzinessThreshold: 0.8
    @Search.ranking: #HIGH
    @Consumption.hidden: true
    _Text[ 1: Language = $session.system_language ].UnitOfMeasure_E as UnitOfMeasure_E
    
}