I_AssetSimulatedDueDeprValues

DDL: I_ASSETSIMULATEDDUEDEPRVALUES Type: view BASIC

Simulated due depreciation of balance carry forward

I_AssetSimulatedDueDeprValues is a Basic CDS View that provides data about "Simulated due depreciation of balance carry forward" in SAP S/4HANA. It reads from 1 data source (faat_plan_values) and exposes 56 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, AssetDepreciationArea, SubLedgerAcctLineItemType. It has 22 associations to related views.

Data Sources (1)

SourceAliasJoin Type
faat_plan_values values from

Associations (22)

CardinalityTargetAliasCondition
[1] I_LedgerCompanyCodeCrcyRoles _LedgerCompanyCodeCrcyRoles $projection.Ledger = _LedgerCompanyCodeCrcyRoles.Ledger and $projection.CompanyCode = _LedgerCompanyCodeCrcyRoles.CompanyCode
[1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1] I_MasterFixedAsset _MasterFixedAsset $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
[1] I_FixedAsset _FixedAsset $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.FixedAsset = _FixedAsset.FixedAsset and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset
[1] I_DepreciationAreaForLedger _AssetDepreciationArea $projection.CompanyCode = _AssetDepreciationArea.CompanyCode and $projection.Ledger = _AssetDepreciationArea.Ledger and $projection.AssetDepreciationArea = _AssetDepreciationArea.AssetDepreciationArea
[1] I_SubLedgerAccLineItemType _SubLedgerAccLineItemType $projection.SubLedgerAcctLineItemType = _SubLedgerAccLineItemType.SubLedgerAcctLineItemType
[1] I_FiscalYearForCompanyCode _FiscalYear $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode
[1] I_AssetTransactionType _AssetTransactionType $projection.AssetTransactionType = _AssetTransactionType.AssetTransactionType
[1] I_MovementCategory _AssetAcctTransClassfctn $projection.AssetAcctTransClassfctn = _AssetAcctTransClassfctn.AssetAcctTransClassfctn
[1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger
[0..1] I_LedgerGroup _LedgerGroup $projection.LedgerGroup = _LedgerGroup.LedgerGroup
[1] I_AccountingPrinciple _AccountingPrinciple $projection.accountingprinciple = _AccountingPrinciple.AccountingPrinciple
[0..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
[0..1] I_Currency _GlobalCurrency $projection.GlobalCurrency = _GlobalCurrency.Currency
[0..1] I_Currency _FreeDefinedCurrency1 $projection.FreeDefinedCurrency1 = _FreeDefinedCurrency1.Currency
[0..1] I_Currency _FreeDefinedCurrency2 $projection.FreeDefinedCurrency2 = _FreeDefinedCurrency2.Currency
[0..1] I_Currency _FreeDefinedCurrency3 $projection.FreeDefinedCurrency3 = _FreeDefinedCurrency3.Currency
[0..1] I_Currency _FreeDefinedCurrency4 $projection.FreeDefinedCurrency4 = _FreeDefinedCurrency4.Currency
[0..1] I_Currency _FreeDefinedCurrency5 $projection.FreeDefinedCurrency5 = _FreeDefinedCurrency5.Currency
[0..1] I_Currency _FreeDefinedCurrency6 $projection.FreeDefinedCurrency6 = _FreeDefinedCurrency6.Currency
[0..1] I_Currency _FreeDefinedCurrency7 $projection.FreeDefinedCurrency7 = _FreeDefinedCurrency7.Currency
[0..1] I_Currency _FreeDefinedCurrency8 $projection.FreeDefinedCurrency8 = _FreeDefinedCurrency8.Currency

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFASSETSIMDUEVAL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Simulated due depreciation of balance carry forward view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (56)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode faat_plan_values bukrs
KEY MasterFixedAsset faat_plan_values anln1
KEY FixedAsset faat_plan_values anln2
KEY AssetDepreciationArea faat_plan_values afabe
KEY SubLedgerAcctLineItemType faat_plan_values slalittype
KEY FiscalYear faat_plan_values gjahr
KEY FiscalPeriod faat_plan_values poper
LedgerFiscalYear
AssetTransactionType
AssetAcctTransClassfctn
Ledger faat_plan_values rldnr
LedgerGroup faat_plan_values ldgrp
AccountingPrinciple _LedgerCompanyCodeCrcyRoles AccountingPrinciple
GroupMasterFixedAsset faat_plan_values anlgr
GroupFixedAsset faat_plan_values anlgr2
CompanyCodeCurrency faat_plan_values rhcur
AmountInCompanyCodeCurrency faat_plan_values hsl
GlobalCurrency faat_plan_values rkcur
AmountInGlobalCurrency faat_plan_values ksl
FreeDefinedCurrency1 faat_plan_values rocur
AmountInFreeDefinedCurrency1 faat_plan_values osl
FreeDefinedCurrency2 faat_plan_values rvcur
AmountInFreeDefinedCurrency2 faat_plan_values vsl
FreeDefinedCurrency3 faat_plan_values rbcur
AmountInFreeDefinedCurrency3 faat_plan_values bsl
FreeDefinedCurrency4 faat_plan_values rccur
AmountInFreeDefinedCurrency4 faat_plan_values csl
FreeDefinedCurrency5 faat_plan_values rdcur
AmountInFreeDefinedCurrency5 faat_plan_values dsl
FreeDefinedCurrency6 faat_plan_values recur
AmountInFreeDefinedCurrency6 faat_plan_values esl
FreeDefinedCurrency7 faat_plan_values rfcur
AmountInFreeDefinedCurrency7 faat_plan_values fsl
FreeDefinedCurrency8 faat_plan_values rgcur
AmountInFreeDefinedCurrency8 faat_plan_values gsl
_CompanyCode _CompanyCode
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_AssetDepreciationArea _AssetDepreciationArea
_SubLedgerAccLineItemType _SubLedgerAccLineItemType
_FiscalYear _FiscalYear
_AssetTransactionType _AssetTransactionType
_AssetAcctTransClassfctn _AssetAcctTransClassfctn
_Ledger _Ledger
_LedgerGroup _LedgerGroup
_AccountingPrinciple _AccountingPrinciple
_CompanyCodeCurrency _CompanyCodeCurrency
_GlobalCurrency _GlobalCurrency
_FreeDefinedCurrency1 _FreeDefinedCurrency1
_FreeDefinedCurrency2 _FreeDefinedCurrency2
_FreeDefinedCurrency3 _FreeDefinedCurrency3
_FreeDefinedCurrency4 _FreeDefinedCurrency4
_FreeDefinedCurrency5 _FreeDefinedCurrency5
_FreeDefinedCurrency6 _FreeDefinedCurrency6
_FreeDefinedCurrency7 _FreeDefinedCurrency7
_FreeDefinedCurrency8 _FreeDefinedCurrency8
@AbapCatalog: {sqlViewName: 'IFASSETSIMDUEVAL', compiler.compareFilter: true, preserveKey: true}
@EndUserText.label: 'Simulated due depreciation of balance carry forward'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel: { usageType.serviceQuality: #C,
                usageType.sizeCategory: #XXL,
                usageType.dataClass: #MIXED }
@ClientHandling.algorithm: #SESSION_VARIABLE

define view I_AssetSimulatedDueDeprValues
  as select from faat_plan_values as values
  association [1]    to I_LedgerCompanyCodeCrcyRoles as _LedgerCompanyCodeCrcyRoles on  $projection.Ledger      = _LedgerCompanyCodeCrcyRoles.Ledger
                                                                                    and $projection.CompanyCode = _LedgerCompanyCodeCrcyRoles.CompanyCode

  association [1]    to I_CompanyCode                as _CompanyCode                on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [1]    to I_MasterFixedAsset           as _MasterFixedAsset           on  $projection.CompanyCode      = _MasterFixedAsset.CompanyCode
                                                                                    and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
  association [1]    to I_FixedAsset                 as _FixedAsset                 on  $projection.CompanyCode      = _FixedAsset.CompanyCode
                                                                                    and $projection.FixedAsset       = _FixedAsset.FixedAsset
                                                                                    and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset
  association [1]    to I_DepreciationAreaForLedger  as _AssetDepreciationArea      on  $projection.CompanyCode           = _AssetDepreciationArea.CompanyCode
                                                                                    and $projection.Ledger                = _AssetDepreciationArea.Ledger
                                                                                    and $projection.AssetDepreciationArea = _AssetDepreciationArea.AssetDepreciationArea
  association [1]    to I_SubLedgerAccLineItemType   as _SubLedgerAccLineItemType   on  $projection.SubLedgerAcctLineItemType = _SubLedgerAccLineItemType.SubLedgerAcctLineItemType
  association [1]    to I_FiscalYearForCompanyCode   as _FiscalYear                 on  $projection.FiscalYear  = _FiscalYear.FiscalYear
                                                                                    and $projection.CompanyCode = _FiscalYear.CompanyCode
  association [1]    to I_AssetTransactionType       as _AssetTransactionType       on  $projection.AssetTransactionType = _AssetTransactionType.AssetTransactionType
  association [1]    to I_MovementCategory           as _AssetAcctTransClassfctn    on  $projection.AssetAcctTransClassfctn = _AssetAcctTransClassfctn.AssetAcctTransClassfctn
  association [1]    to I_Ledger                     as _Ledger                     on  $projection.Ledger = _Ledger.Ledger
  association [0..1] to I_LedgerGroup                as _LedgerGroup                on  $projection.LedgerGroup = _LedgerGroup.LedgerGroup
  association [1]    to I_AccountingPrinciple        as _AccountingPrinciple        on  $projection.accountingprinciple = _AccountingPrinciple.AccountingPrinciple
  association [0..1] to I_Currency                   as _CompanyCodeCurrency        on  $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
  association [0..1] to I_Currency                   as _GlobalCurrency             on  $projection.GlobalCurrency = _GlobalCurrency.Currency
  association [0..1] to I_Currency                   as _FreeDefinedCurrency1       on  $projection.FreeDefinedCurrency1 = _FreeDefinedCurrency1.Currency
  association [0..1] to I_Currency                   as _FreeDefinedCurrency2       on  $projection.FreeDefinedCurrency2 = _FreeDefinedCurrency2.Currency
  association [0..1] to I_Currency                   as _FreeDefinedCurrency3       on  $projection.FreeDefinedCurrency3 = _FreeDefinedCurrency3.Currency
  association [0..1] to I_Currency                   as _FreeDefinedCurrency4       on  $projection.FreeDefinedCurrency4 = _FreeDefinedCurrency4.Currency
  association [0..1] to I_Currency                   as _FreeDefinedCurrency5       on  $projection.FreeDefinedCurrency5 = _FreeDefinedCurrency5.Currency
  association [0..1] to I_Currency                   as _FreeDefinedCurrency6       on  $projection.FreeDefinedCurrency6 = _FreeDefinedCurrency6.Currency
  association [0..1] to I_Currency                   as _FreeDefinedCurrency7       on  $projection.FreeDefinedCurrency7 = _FreeDefinedCurrency7.Currency
  association [0..1] to I_Currency                   as _FreeDefinedCurrency8       on  $projection.FreeDefinedCurrency8 = _FreeDefinedCurrency8.Currency
{
      @ObjectModel.foreignKey.association: '_CompanyCode'
  key values.bukrs                    as CompanyCode,
      @ObjectModel.foreignKey.association: '_MasterFixedAsset'
  key values.anln1                    as MasterFixedAsset,
      @ObjectModel.foreignKey.association: '_FixedAsset'
  key values.anln2                    as FixedAsset,
      @ObjectModel.foreignKey.association: '_AssetDepreciationArea'
  key values.afabe                    as AssetDepreciationArea,
      @ObjectModel.foreignKey.association: '_SubledgerAccLineItemType'
  key values.slalittype               as SubLedgerAcctLineItemType,
      @ObjectModel.foreignKey.association: '_FiscalYear'
  key values.gjahr                    as FiscalYear,
  key values.poper                    as FiscalPeriod,

      @Semantics.fiscal.year: true
      cast(values.gjahr as gjahr_pos) as LedgerFiscalYear,
      @ObjectModel.foreignKey.association: '_AssetTransactionType'
      cast('999' as anbwa)            as AssetTransactionType,
      @ObjectModel.foreignKey.association: '_AssetAcctTransClassfctn'
      cast('00' as faa_movcat)        as AssetAcctTransClassfctn,
      @ObjectModel.foreignKey.association: '_Ledger'
      values.rldnr                    as Ledger,
      @ObjectModel.foreignKey.association: '_LedgerGroup'
      values.ldgrp                    as LedgerGroup,
      @ObjectModel.foreignKey.association: '_AccountingPrinciple'
      _LedgerCompanyCodeCrcyRoles.AccountingPrinciple,

      values.anlgr                    as GroupMasterFixedAsset,
      values.anlgr2                   as GroupFixedAsset,

      @Semantics.currencyCode:true
      @ObjectModel.foreignKey.association: '_CompanyCodeCurrency'
      values.rhcur                    as CompanyCodeCurrency,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'CompanyCodeCurrency'} }
      values.hsl                      as AmountInCompanyCodeCurrency,

      @Semantics.currencyCode:true
      @ObjectModel.foreignKey.association: '_GlobalCurrency'
      values.rkcur                    as GlobalCurrency,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      values.ksl                      as AmountInGlobalCurrency,

      @Semantics.currencyCode:true
      @ObjectModel.foreignKey.association: '_FreeDefinedCurrency1'
      values.rocur                    as FreeDefinedCurrency1,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency1'} }
      values.osl                      as AmountInFreeDefinedCurrency1,

      @Semantics.currencyCode:true
      @ObjectModel.foreignKey.association: '_FreeDefinedCurrency2'
      values.rvcur                    as FreeDefinedCurrency2,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency2'} }
      values.vsl                      as AmountInFreeDefinedCurrency2,

      @Semantics.currencyCode:true
      @ObjectModel.foreignKey.association: '_FreeDefinedCurrency3'
      values.rbcur                    as FreeDefinedCurrency3,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency3'} }
      values.bsl                      as AmountInFreeDefinedCurrency3,

      @Semantics.currencyCode:true
      @ObjectModel.foreignKey.association: '_FreeDefinedCurrency4'
      values.rccur                    as FreeDefinedCurrency4,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency4'} }
      values.csl                      as AmountInFreeDefinedCurrency4,

      @Semantics.currencyCode:true
      @ObjectModel.foreignKey.association: '_FreeDefinedCurrency5'
      values.rdcur                    as FreeDefinedCurrency5,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency5'} }
      values.dsl                      as AmountInFreeDefinedCurrency5,

      @Semantics.currencyCode:true
      @ObjectModel.foreignKey.association: '_FreeDefinedCurrency6'
      values.recur                    as FreeDefinedCurrency6,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency6'} }
      values.esl                      as AmountInFreeDefinedCurrency6,

      @Semantics.currencyCode:true
      @ObjectModel.foreignKey.association: '_FreeDefinedCurrency7'
      values.rfcur                    as FreeDefinedCurrency7,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency7'} }
      values.fsl                      as AmountInFreeDefinedCurrency7,

      @Semantics.currencyCode:true
      @ObjectModel.foreignKey.association: '_FreeDefinedCurrency8'
      values.rgcur                    as FreeDefinedCurrency8,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency8'} }
      values.gsl                      as AmountInFreeDefinedCurrency8,

      _CompanyCode,
      _MasterFixedAsset,
      _FixedAsset,
      _AssetDepreciationArea,
      _SubLedgerAccLineItemType,
      _FiscalYear,
      _AssetTransactionType,
      _AssetAcctTransClassfctn,
      _Ledger,
      _LedgerGroup,
      _AccountingPrinciple,
      _CompanyCodeCurrency,
      _GlobalCurrency,
      _FreeDefinedCurrency1,
      _FreeDefinedCurrency2,
      _FreeDefinedCurrency3,
      _FreeDefinedCurrency4,
      _FreeDefinedCurrency5,
      _FreeDefinedCurrency6,
      _FreeDefinedCurrency7,
      _FreeDefinedCurrency8
}
where
  values.movcat = '00'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LEDGERCOMPANYCODECRCYROLES",
"FAAT_PLAN_VALUES"
],
"ASSOCIATED":
[
"I_ACCOUNTINGPRINCIPLE",
"I_ASSETTRANSACTIONTYPE",
"I_COMPANYCODE",
"I_CURRENCY",
"I_DEPRECIATIONAREAFORLEDGER",
"I_FISCALYEARFORCOMPANYCODE",
"I_FIXEDASSET",
"I_LEDGER",
"I_LEDGERCOMPANYCODECRCYROLES",
"I_LEDGERGROUP",
"I_MASTERFIXEDASSET",
"I_MOVEMENTCATEGORY",
"I_SUBLEDGERACCLINEITEMTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/