I_PMTimeUnitVH

DDL: I_PMTIMEUNITVH SQL: IPMTIMEUNITVH Type: view BASIC Package: IWOC

Units of Time

I_PMTimeUnitVH is a Basic CDS View that provides data about "Units of Time" in SAP S/4HANA. It reads from 2 data sources (I_UnitOfMeasure, t006d) and exposes 3 fields with key field UnitOfMeasure. It is exposed through 1 OData service (UI_MAINTENANCEJOB_MANAGE). It is used in 1 Fiori application: Perform Maintenance Jobs. Part of development package IWOC.

Data Sources (2)

SourceAliasJoin Type
I_UnitOfMeasure I_UnitOfMeasure left_outer
t006d t006d from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPMTIMEUNITVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Units of Time view
ObjectModel.representativeKey UnitOfMeasure view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.resultSet.sizeCategory #XS view

OData Services (1)

ServiceBindingVersionContractRelease
UI_MAINTENANCEJOB_MANAGE UI_MAINTENANCEJOB_MANAGE V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F5104A Perform Maintenance Jobs Transactional Perform Maintenance Jobs app will help Maintenance Technician to see the list with all work items assigned to the him/her or to his/her team, several features like Assignment of an operation, Time recording for the Operations, create partial or final confirmations and the ability to display and change the malfunction information are possible with the app. The maintenance technician can post and return the planned components and can also record the measurement document.

Perform Maintenance Jobs

Business Role: Maintenance Technician

Technician records actual work, remaining work, confirmation text, and final confirmation for self as well as for team members working on the job.

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY UnitOfMeasure I_UnitOfMeasure UnitOfMeasure
UnitOfMeasureNumberOfDecimals I_UnitOfMeasure UnitOfMeasureNumberOfDecimals
_Text I_UnitOfMeasure _Text
@AbapCatalog.sqlViewName: 'IPMTIMEUNITVH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Units of Time'
@ObjectModel.representativeKey: 'UnitOfMeasure'
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S

@ObjectModel.resultSet.sizeCategory: #XS

define view I_PMTimeUnitVH
  as select from    t006d
    left outer join I_UnitOfMeasure on I_UnitOfMeasure.UnitOfMeasureDimension = t006d.dimid
{
      @Semantics.unitOfMeasure: true
      @ObjectModel.text.association: '_Text'
  key I_UnitOfMeasure.UnitOfMeasure,
      @UI.hidden: true
      unit_conversion( 
        quantity => t006d.timex,
        source_unit => I_UnitOfMeasure.UnitOfMeasure,
        target_unit => cast( 'S' as abap.unit(3) ),
        error_handling => 'SET_TO_NULL'
      ) as TimeUnitDurationInSeconds,
      
      @UI.hidden: true
      case when I_UnitOfMeasure.UnitOfMeasure = '10 ' 
             or I_UnitOfMeasure.UnitOfMeasure = 'TST' 
             or I_UnitOfMeasure.UnitOfMeasure = 'STD' 
             or I_UnitOfMeasure.UnitOfMeasure_E = '' then '' 
             
             else 'X' end as UnitOfMeasureIsPreferred,
      
      @UI.hidden: true
      I_UnitOfMeasure.UnitOfMeasureNumberOfDecimals,
      
      I_UnitOfMeasure._Text
}
where
  t006d.timex = 1