I_AssetValuationForLedger

DDL: I_ASSETVALUATIONFORLEDGER Type: view COMPOSITE

Fixed Asset Valuation for Ledger

I_AssetValuationForLedger is a Composite CDS View that provides data about "Fixed Asset Valuation for Ledger" in SAP S/4HANA. It reads from 1 data source (P_AssetValuationForLedger) and exposes 37 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, Ledger, AssetRealDepreciationArea. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_AssetValuationForLedger P_AssetValuationForLedger from

Associations (8)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_MasterFixedAsset _MasterFixedAsset $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
[1..1] I_FixedAsset _FixedAsset $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset
[1..1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger
[0..1] I_DepreciationAreaForLedger _DepreciationArea $projection.CompanyCode = _DepreciationArea.CompanyCode and $projection.Ledger = _DepreciationArea.Ledger and $projection.AssetRealDepreciationArea = _DepreciationArea.AssetDepreciationArea
[0..1] I_ReplacementValueIndexSers _ReplacementValueIndexSers $projection.ReplacementValueIndexSers = _ReplacementValueIndexSers.ReplacementValueIndexSers
[0..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
[0..1] I_FixedAssetUsageObject _FixedAssetUsageObject $projection.CompanyCode = _FixedAssetUsageObject.CompanyCode and $projection.FixedAssetUsageObject = _FixedAssetUsageObject.FixedAssetUsageObject

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IFIASTVALFORLDGR view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Fixed Asset Valuation for Ledger view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.modelingPattern #NONE view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode
KEY MasterFixedAsset MasterFixedAsset
KEY FixedAsset FixedAsset
KEY Ledger Ledger
KEY AssetRealDepreciationArea AssetRealDepreciationArea
KEY ValidityEndDate ValidityEndDate
ValidityStartDate ValidityStartDate
DepreciationStartDate DepreciationStartDate
SpecialDeprStartDate SpecialDeprStartDate
DeprKeyChangeoverYear DeprKeyChangeoverYear
DeprKeyChangeoverPeriod DeprKeyChangeoverPeriod
DepreciationKey DepreciationKey
InvestmentSupportMeasure InvestmentSupportMeasure
PlannedUsefulLifeInPeriods PlannedUsefulLifeInPeriods
PlannedUsefulLifeInYears PlannedUsefulLifeInYears
VintageYear
VintageMonth VintageMonth
OriglAstUsefulLifeInPerds
OriglAstUsefulLifeInYears OriglAstUsefulLifeInYears
ReplacementValueIndexSers ReplacementValueIndexSers
RplcmtValueAgingIndexSers RplcmtValueAgingIndexSers
AcqnProdnCostScrapPercent AcqnProdnCostScrapPercent
VariableDeprPercent VariableDeprPercent
LastRetirementValueDate LastRetirementValueDate
DepreciationAreaType DepreciationAreaType
ScrapAmountInCoCodeCrcy ScrapAmountInCoCodeCrcy
CompanyCodeCurrency _CompanyCode Currency
AssetOpgReadinessDate AssetOpgReadinessDate
FixedAssetUsageObject FixedAssetUsageObject
_CompanyCode _CompanyCode
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_Ledger _Ledger
_DepreciationArea _DepreciationArea
_ReplacementValueIndexSers _ReplacementValueIndexSers
_CompanyCodeCurrency _CompanyCodeCurrency
_FixedAssetUsageObject _FixedAssetUsageObject
@AbapCatalog: {sqlViewName: 'IFIASTVALFORLDGR', preserveKey: true, compiler.compareFilter: true}
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Fixed Asset Valuation for Ledger'
@VDM.viewType: #COMPOSITE
@ObjectModel: { usageType.serviceQuality: #C,
                usageType.sizeCategory: #XXL,
                usageType.dataClass: #MASTER,
                modelingPattern: #NONE,
                supportedCapabilities: [ #SQL_DATA_SOURCE,
                                         #CDS_MODELING_DATA_SOURCE ]
              }
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true

define view I_AssetValuationForLedger
  as select from P_AssetValuationForLedger

  association [1..1] to I_CompanyCode               as _CompanyCode               on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [1..1] to I_MasterFixedAsset          as _MasterFixedAsset          on  $projection.CompanyCode      = _MasterFixedAsset.CompanyCode
                                                                                  and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
  association [1..1] to I_FixedAsset                as _FixedAsset                on  $projection.CompanyCode      = _FixedAsset.CompanyCode
                                                                                  and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset
                                                                                  and $projection.FixedAsset       = _FixedAsset.FixedAsset
  association [1..1] to I_Ledger                    as _Ledger                    on  $projection.Ledger = _Ledger.Ledger
  association [0..1] to I_DepreciationAreaForLedger as _DepreciationArea          on  $projection.CompanyCode               = _DepreciationArea.CompanyCode
                                                                                  and $projection.Ledger                    = _DepreciationArea.Ledger
                                                                                  and $projection.AssetRealDepreciationArea = _DepreciationArea.AssetDepreciationArea
  association [0..1] to I_ReplacementValueIndexSers as _ReplacementValueIndexSers on  $projection.ReplacementValueIndexSers = _ReplacementValueIndexSers.ReplacementValueIndexSers
  association [0..1] to I_Currency                  as _CompanyCodeCurrency       on  $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
  association [0..1] to I_FixedAssetUsageObject     as _FixedAssetUsageObject     on  $projection.CompanyCode           = _FixedAssetUsageObject.CompanyCode
                                                                                  and $projection.FixedAssetUsageObject = _FixedAssetUsageObject.FixedAssetUsageObject
{
      @ObjectModel.foreignKey.association: '_CompanyCode'
  key CompanyCode,
      @ObjectModel.foreignKey.association: '_MasterFixedAsset'
  key MasterFixedAsset,
      @ObjectModel.foreignKey.association: '_FixedAsset'
  key FixedAsset,
      @ObjectModel.foreignKey.association: '_Ledger'
  key Ledger,
      @ObjectModel.foreignKey.association: '_DepreciationArea'
  key AssetRealDepreciationArea,
  key ValidityEndDate,

      ValidityStartDate,
      DepreciationStartDate,
      SpecialDeprStartDate,
      DeprKeyChangeoverYear,
      DeprKeyChangeoverPeriod,
      DepreciationKey,
      InvestmentSupportMeasure, //Not supported with active BF

      PlannedUsefulLifeInPeriods,
      PlannedUsefulLifeInYears,
      cast(VintageYear as fis_vyear)                as VintageYear, //Not supported with active BF

      VintageMonth, //Not supported with active BF

      cast (OriglAstUsefulLifeInPerds as fis_ndurp) as OriglAstUsefulLifeInPerds, //Not supported with active BF

      OriglAstUsefulLifeInYears, //Not supported with active BF

      @ObjectModel.foreignKey.association: '_ReplacementValueIndexSers'
      ReplacementValueIndexSers,
      RplcmtValueAgingIndexSers,
      AcqnProdnCostScrapPercent,
      VariableDeprPercent,
      LastRetirementValueDate,
      DepreciationAreaType,
      @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
      ScrapAmountInCoCodeCrcy,
      @ObjectModel.foreignKey.association: '_CompanyCodeCurrency'
      @Semantics.currencyCode: true
      _CompanyCode.Currency                         as CompanyCodeCurrency,
      AssetOpgReadinessDate,
      FixedAssetUsageObject,

      /* Associations */
      _CompanyCode,
      _MasterFixedAsset,
      _FixedAsset,
      _Ledger,
      _DepreciationArea,
      _ReplacementValueIndexSers,
      _CompanyCodeCurrency,
      _FixedAssetUsageObject
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"P_ASSETVALUATIONFORLEDGER"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_CURRENCY",
"I_DEPRECIATIONAREAFORLEDGER",
"I_FIXEDASSET",
"I_FIXEDASSETUSAGEOBJECT",
"I_LEDGER",
"I_MASTERFIXEDASSET",
"I_REPLACEMENTVALUEINDEXSERS"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/