I_FixedAssetUsageObjectPeriod

DDL: I_FIXEDASSETUSAGEOBJECTPERIOD SQL: IFIXASSETUOPERD Type: view BASIC

Period Units of Fixed Asset Usage Object

I_FixedAssetUsageObjectPeriod is a Basic CDS View that provides data about "Period Units of Fixed Asset Usage Object" in SAP S/4HANA. It reads from 1 data source (faat_uo_period) and exposes 9 fields with key fields CompanyCode, FixedAssetUsageObject, ValidityEndDate. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
faat_uo_period _UsageObjectPeriod 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 (12)

NameValueLevelField
AbapCatalog.sqlViewName IFIXASSETUOPERD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
EndUserText.label Period Units of Fixed Asset Usage Object 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 (9)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode comp_code
KEY FixedAssetUsageObject usage_object
KEY ValidityEndDate valid_to_date
ValidityStartDate valid_from_date
PeriodPlannedQtyInProdnUnit period_units
BaseUnit _UsageObject BaseUnit
_CompanyCode _CompanyCode
_UnitOfMeasure _UsageObject _UnitOfMeasure
_UsageObject _UsageObject
@AbapCatalog.sqlViewName: 'IFIXASSETUOPERD'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@EndUserText.label: 'Period Units of Fixed Asset Usage Object'
@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_FixedAssetUsageObjectPeriod
  as select from faat_uo_period as _UsageObjectPeriod

  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,

          @Semantics.businessDate.to: true
  key     valid_to_date   as ValidityEndDate,

          @Semantics.businessDate.from: true
          valid_from_date as ValidityStartDate,

          @Semantics.quantity.unitOfMeasure: 'BaseUnit'
          period_units    as PeriodPlannedQtyInProdnUnit,

          @Semantics.unitOfMeasure: true
          _UsageObject.BaseUnit,

          _CompanyCode,
          _UsageObject._UnitOfMeasure,

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

}