I_FixedAssetUsageObjectTotal

DDL: I_FIXEDASSETUSAGEOBJECTTOTAL SQL: IFIXASSETUOTOTAL Type: view BASIC Package: FINS_FAA_UO_VDM

Total Units of Fixed Asset Usage Object

I_FixedAssetUsageObjectTotal is a Basic CDS View that provides data about "Total Units of Fixed Asset Usage Object" in SAP S/4HANA. It reads from 1 data source (faat_uo_total) and exposes 10 fields with key fields CompanyCode, FixedAssetUsageObject, FixedAssetUsageObjectDeprArea, ValidityEndDate. It has 2 associations to related views. Part of development package FINS_FAA_UO_VDM.

Data Sources (1)

SourceAliasJoin Type
faat_uo_total UsageObjectTotal from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_FixedAssetUsageObject _UsageObject $projection.CompanyCode = _UsageObject.CompanyCode and $projection.FixedAssetUsageObject = _UsageObject.FixedAssetUsageObject
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IFIXASSETUOTOTAL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Total Units of Fixed Asset Usage Object view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode comp_code
KEY FixedAssetUsageObject usage_object
KEY FixedAssetUsageObjectDeprArea depr_area Depreciation Area
KEY ValidityEndDate valid_to_date
ValidityStartDate valid_from_date
CapacityInProductionUnit total_units Total Units Expected as of This Period
BaseUnit _UsageObject BaseUnit
_CompanyCode _CompanyCode
_UnitOfMeasure _UsageObject _UnitOfMeasure
_UsageObject _UsageObject
@AbapCatalog.sqlViewName: 'IFIXASSETUOTOTAL'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Total Units of Fixed Asset Usage Object'

@VDM.viewType: #BASIC
@ObjectModel.usageType: {
        serviceQuality: #A,
        sizeCategory: #XL,
        dataClass: #MASTER
}

@ObjectModel:{
    supportedCapabilities: [ #SQL_DATA_SOURCE,
                             #CDS_MODELING_DATA_SOURCE,
                             #CDS_MODELING_ASSOCIATION_TARGET ]
}

@Metadata.ignorePropagatedAnnotations: true

@VDM.lifecycle.contract.type:#PUBLIC_LOCAL_API

define view I_FixedAssetUsageObjectTotal
  as select from faat_uo_total as UsageObjectTotal
  association [1..1] to I_FixedAssetUsageObject as _UsageObject on  $projection.CompanyCode           = _UsageObject.CompanyCode
                                                                and $projection.FixedAssetUsageObject = _UsageObject.FixedAssetUsageObject

  association [0..1] to I_CompanyCode           as _CompanyCode on  $projection.CompanyCode = _CompanyCode.CompanyCode


{
      @ObjectModel.foreignKey.association: '_CompanyCode'
  key comp_code       as CompanyCode,

      @ObjectModel.foreignKey.association: '_UsageObject'
  key usage_object    as FixedAssetUsageObject,

      @EndUserText.label: 'Depreciation Area'
  key depr_area       as FixedAssetUsageObjectDeprArea,

  key valid_to_date   as ValidityEndDate,

      valid_from_date as ValidityStartDate,

      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      @EndUserText.label: 'Total Units Expected as of This Period'
      total_units     as CapacityInProductionUnit,

      @Semantics.unitOfMeasure: true
      _UsageObject.BaseUnit,

      _CompanyCode,

      _UsageObject._UnitOfMeasure,

      @ObjectModel.association.type: [ #TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT ]
      _UsageObject
}