I_FixedAssetDeprAreaTP

DDL: I_FIXEDASSETDEPRAREATP SQL: IFASSETDEPRTP Type: view COMPOSITE Package: ODATA_AA_ASSET_MANAGE

Transactional View Fixed Asset Depreciation Areas

I_FixedAssetDeprAreaTP is a Composite CDS View that provides data about "Transactional View Fixed Asset Depreciation Areas" in SAP S/4HANA. It reads from 4 data sources (I_FixedAssetTP, I_DeprAreaByCoCodeWithCrcyRole, I_DeprAreaByCoCodeWithCrcyRole, I_FixedAssetDeprArea) and exposes 105 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, AssetDepreciationArea, ValidityEndDate. It has 11 associations to related views. Part of development package ODATA_AA_ASSET_MANAGE.

Data Sources (4)

SourceAliasJoin Type
I_FixedAssetTP FixedAssetWithDraft union_all
I_DeprAreaByCoCodeWithCrcyRole I_DeprAreaByCoCodeWithCrcyRole inner
I_DeprAreaByCoCodeWithCrcyRole I_DeprAreaByCoCodeWithCrcyRole inner
I_FixedAssetDeprArea I_FixedAssetDeprArea from

Associations (11)

CardinalityTargetAliasCondition
[1..1] I_FixedAssetTP _FixedAsset $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.FixedAsset = _FixedAsset.FixedAsset
[0..1] I_MasterFixedAsset _MasterFixedAsset $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
[0..1] I_AssetDepreciationArea _DepreciationArea $projection.ChartOfDepreciation = _DepreciationArea.ChartOfDepreciation and $projection.AssetDepreciationArea = _DepreciationArea.AssetDepreciationArea
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Currency _Currency $projection.DepreciationAreaCurrency = _Currency.Currency
[0..1] I_ChartOfDepreciation _ChartOfDepreciation $projection.ChartOfDepreciation = _ChartOfDepreciation.ChartOfDepreciation
[0..1] I_ReplacementValueIndexSers _ReplacementValueIndexSers $projection.ReplacementValueIndexSers = _ReplacementValueIndexSers.ReplacementValueIndexSers
[0..1] I_ReplacementValueIndexSers _RplcmtValueAgingIndexSers $projection.RplcmtValueAgingIndexSers = _RplcmtValueAgingIndexSers.ReplacementValueIndexSers
[0..1] I_InvestmentSupportMeasure _InvestmentSupportMeasure $projection.ChartOfDepreciation = _InvestmentSupportMeasure.ChartOfDepreciation and $projection.InvestmentSupportMeasure = _InvestmentSupportMeasure.InvestmentSupportMeasure
[0..1] I_DepreciationKey _DepreciationKey $projection.ChartOfDepreciation = _DepreciationKey.ChartOfDepreciation and $projection.DepreciationKey = _DepreciationKey.DepreciationKey
[0..1] I_AssetDepreciationArea _ValueReferenceDeprArea $projection.ValueReferenceDepreciationArea = _ValueReferenceDeprArea.AssetDepreciationArea and $projection.ChartOfDepreciation = _ValueReferenceDeprArea.ChartOfDepreciation

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName IFASSETDEPRTP view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Transactional View Fixed Asset Depreciation Areas view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (105)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_FixedAssetDeprArea CompanyCode Receiver Company Code
KEY MasterFixedAsset I_FixedAssetDeprArea MasterFixedAsset Fixed Asset
KEY FixedAsset I_FixedAssetDeprArea FixedAsset Sub-number
KEY AssetDepreciationArea I_FixedAssetDeprArea AssetRealDepreciationArea Deprec. Area
KEY ValidityEndDate I_FixedAssetDeprArea ValidityEndDate ValidTo
Ledger I_DeprAreaByCoCodeWithCrcyRole Ledger Ledger
AssetDepreciationAreaName
ValidityStartDate I_FixedAssetDeprArea ValidityStartDate Validity Start Date
PlannedUsefulLifeInYears I_FixedAssetDeprArea PlannedUsefulLifeInYears Planned Use Life Yr.
PlannedUsefulLifeInPeriods I_FixedAssetDeprArea PlannedUsefulLifeInPeriods
DepreciationStartDate I_FixedAssetDeprArea DepreciationStartDate
SpecialDeprStartDate I_FixedAssetDeprArea SpecialDeprStartDate
InterestCalcStartDate I_FixedAssetDeprArea InterestCalcStartDate
ReplacementValueIndexSers I_FixedAssetDeprArea ReplacementValueIndexSers
RplcmtValueAgingIndexSers I_FixedAssetDeprArea RplcmtValueAgingIndexSers
VariableDeprPercent I_FixedAssetDeprArea VariableDeprPercent
DepreciationAreaCurrency I_FixedAssetDeprArea DepreciationAreaCurrency Valuation Crcy
ScrapAmountInCoCodeCrcy I_FixedAssetDeprArea ScrapAmountInCoCodeCrcy
OriglAstUsefulLifeInYears I_FixedAssetDeprArea OriglAstUsefulLifeInYears
GroupMasterFixedAsset I_FixedAssetDeprArea GroupMasterFixedAsset
AssetOpgReadinessDate I_FixedAssetDeprArea AssetOpgReadinessDate
NegativeAmountIsAllowed I_FixedAssetDeprArea NegativeAmountIsAllowed
DepreciationAreaIsDactvtd I_FixedAssetDeprArea DepreciationAreaIsDactvtd
AcqnProdnCostScrapPercent I_FixedAssetDeprArea AcqnProdnCostScrapPercent
AssetRevaluation I_FixedAssetDeprArea AssetRevaluation
InvestmentSupportMeasure I_FixedAssetDeprArea InvestmentSupportMeasure
DeprKeyChangeoverYear I_FixedAssetDeprArea DeprKeyChangeoverYear
DeprKeyChangeoverPeriod I_FixedAssetDeprArea DeprKeyChangeoverPeriod
VintageMonth I_FixedAssetDeprArea VintageMonth
VintageYear I_FixedAssetDeprArea VintageYear Vintage Year
OriglAstUsefulLifeInPerds I_FixedAssetDeprArea OriglAstUsefulLifeInPerds
GroupFixedAsset I_FixedAssetDeprArea GroupFixedAsset
ChartOfDepreciation I_DeprAreaByCoCodeWithCrcyRole ChartOfDepreciation
DepreciationAreaCurrencyRole I_DeprAreaByCoCodeWithCrcyRole DepreciationAreaCurrencyRole
AccountingPrinciple I_DeprAreaByCoCodeWithCrcyRole AccountingPrinciple AP Ledger/CoCode
ValueReferenceDepreciationArea I_DeprAreaByCoCodeWithCrcyRole ValueReferenceDepreciationArea
IsValueReferenceDeprArea I_DeprAreaByCoCodeWithCrcyRole IsValueReferenceDeprArea
IsRealDepreciationArea I_DeprAreaByCoCodeWithCrcyRole IsRealDepreciationArea
AssetAcctgLastClosedFiscalYear I_DeprAreaByCoCodeWithCrcyRole AssetAcctgLastClosedFiscalYear
DepreciationKey I_FixedAssetDeprArea DepreciationKey
_FixedAsset _FixedAsset
_DepreciationArea _DepreciationArea
_MasterFixedAsset _MasterFixedAsset
_CompanyCode _CompanyCode
_Currency _Currency
_ChartOfDepreciation _ChartOfDepreciation
_CurrencyRole _CurrencyRole
_AccountingPrinciple _AccountingPrinciple
_ValueReferenceDeprArea _ValueReferenceDeprArea
_ReplacementValueIndexSers _ReplacementValueIndexSers
_RplcmtValueAgingIndexSers _RplcmtValueAgingIndexSers
_InvestmentSupportMeasure _InvestmentSupportMeasure
CompanyCodeasCompanyCode
KEY MasterFixedAsset I_FixedAssetTP MasterFixedAsset Fixed Asset
KEY FixedAsset I_FixedAssetTP FixedAsset Sub-number
KEY AssetDepreciationArea I_DeprAreaByCoCodeWithCrcyRole AssetDepreciationArea Deprec. Area
KEY ValidityEndDate ValidTo
Ledger I_DeprAreaByCoCodeWithCrcyRole Ledger Ledger
AssetDepreciationAreaName
ValidityStartDate Validity Start Date
PlannedUsefulLifeInYears Planned Use Life Yr.
PlannedUsefulLifeInPeriods
DepreciationStartDate
SpecialDeprStartDate
InterestCalcStartDate
ReplacementValueIndexSers
RplcmtValueAgingIndexSers
VariableDeprPercent
DepreciationAreaCurrency I_DeprAreaByCoCodeWithCrcyRole Currency Valuation Crcy
ScrapAmountInCoCodeCrcy
OriglAstUsefulLifeInYears
GroupMasterFixedAsset
AssetOpgReadinessDate
NegativeAmountIsAllowed
DepreciationAreaIsDactvtd
AcqnProdnCostScrapPercent
AssetRevaluation
InvestmentSupportMeasure
DeprKeyChangeoverYear
DeprKeyChangeoverPeriod
VintageMonth
VintageYear Vintage Year
OriglAstUsefulLifeInPerds
GroupFixedAsset
ChartOfDepreciation I_DeprAreaByCoCodeWithCrcyRole ChartOfDepreciation
DepreciationAreaCurrencyRole I_DeprAreaByCoCodeWithCrcyRole DepreciationAreaCurrencyRole
AccountingPrinciple I_DeprAreaByCoCodeWithCrcyRole AccountingPrinciple AP Ledger/CoCode
ValueReferenceDepreciationArea I_DeprAreaByCoCodeWithCrcyRole ValueReferenceDepreciationArea
IsValueReferenceDeprArea I_DeprAreaByCoCodeWithCrcyRole IsValueReferenceDeprArea
IsRealDepreciationArea I_DeprAreaByCoCodeWithCrcyRole IsRealDepreciationArea
AssetAcctgLastClosedFiscalYear I_DeprAreaByCoCodeWithCrcyRole AssetAcctgLastClosedFiscalYear
DepreciationKey
_FixedAsset _FixedAsset
_DepreciationArea _DepreciationArea
_MasterFixedAsset _MasterFixedAsset
_CompanyCode _CompanyCode
_Currency _Currency
_ChartOfDepreciation _ChartOfDepreciation
_CurrencyRole _CurrencyRole
_AccountingPrinciple _AccountingPrinciple
_ValueReferenceDeprArea _ValueReferenceDeprArea
_ReplacementValueIndexSers _ReplacementValueIndexSers
_RplcmtValueAgingIndexSers _RplcmtValueAgingIndexSers
_InvestmentSupportMeasure _InvestmentSupportMeasure
_DepreciationKey _DepreciationKey

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_FixedAssetDeprAreaTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IFASSETDEPRTP

CREATE VIEW I_FixedAssetDeprAreaTP AS
SELECT
  I_FixedAssetDeprArea.CompanyCode AS CompanyCode,
  I_FixedAssetDeprArea.MasterFixedAsset AS MasterFixedAsset,
  I_FixedAssetDeprArea.FixedAsset AS FixedAsset,
  I_FixedAssetDeprArea.AssetRealDepreciationArea AS AssetDepreciationArea,
  I_FixedAssetDeprArea.ValidityEndDate AS ValidityEndDate,
  I_DeprAreaByCoCodeWithCrcyRole.Ledger AS Ledger,
  _DepreciationArea._Text[1: Language = $session.system_language ].AssetDepreciationAreaName AS AssetDepreciationAreaName,
  I_FixedAssetDeprArea.ValidityStartDate AS ValidityStartDate,
  I_FixedAssetDeprArea.PlannedUsefulLifeInYears AS PlannedUsefulLifeInYears,
  I_FixedAssetDeprArea.PlannedUsefulLifeInPeriods AS PlannedUsefulLifeInPeriods,
  I_FixedAssetDeprArea.DepreciationStartDate AS DepreciationStartDate,
  I_FixedAssetDeprArea.SpecialDeprStartDate AS SpecialDeprStartDate,
  I_FixedAssetDeprArea.InterestCalcStartDate AS InterestCalcStartDate,
  I_FixedAssetDeprArea.ReplacementValueIndexSers AS ReplacementValueIndexSers,
  I_FixedAssetDeprArea.RplcmtValueAgingIndexSers AS RplcmtValueAgingIndexSers,
  I_FixedAssetDeprArea.VariableDeprPercent AS VariableDeprPercent,
  I_FixedAssetDeprArea.DepreciationAreaCurrency AS DepreciationAreaCurrency,
  I_FixedAssetDeprArea.ScrapAmountInCoCodeCrcy AS ScrapAmountInCoCodeCrcy,
  I_FixedAssetDeprArea.OriglAstUsefulLifeInYears AS OriglAstUsefulLifeInYears,
  I_FixedAssetDeprArea.GroupMasterFixedAsset AS GroupMasterFixedAsset,
  I_FixedAssetDeprArea.AssetOpgReadinessDate AS AssetOpgReadinessDate,
  I_FixedAssetDeprArea.NegativeAmountIsAllowed AS NegativeAmountIsAllowed,
  I_FixedAssetDeprArea.DepreciationAreaIsDactvtd AS DepreciationAreaIsDactvtd,
  I_FixedAssetDeprArea.AcqnProdnCostScrapPercent AS AcqnProdnCostScrapPercent,
  I_FixedAssetDeprArea.AssetRevaluation AS AssetRevaluation,
  I_FixedAssetDeprArea.InvestmentSupportMeasure AS InvestmentSupportMeasure,
  I_FixedAssetDeprArea.DeprKeyChangeoverYear AS DeprKeyChangeoverYear,
  I_FixedAssetDeprArea.DeprKeyChangeoverPeriod AS DeprKeyChangeoverPeriod,
  I_FixedAssetDeprArea.VintageMonth AS VintageMonth,
  I_FixedAssetDeprArea.VintageYear AS VintageYear,
  I_FixedAssetDeprArea.OriglAstUsefulLifeInPerds AS OriglAstUsefulLifeInPerds,
  I_FixedAssetDeprArea.GroupFixedAsset AS GroupFixedAsset,
  I_DeprAreaByCoCodeWithCrcyRole.ChartOfDepreciation AS ChartOfDepreciation,
  I_DeprAreaByCoCodeWithCrcyRole.DepreciationAreaCurrencyRole AS DepreciationAreaCurrencyRole,
  I_DeprAreaByCoCodeWithCrcyRole.AccountingPrinciple AS AccountingPrinciple,
  I_DeprAreaByCoCodeWithCrcyRole.ValueReferenceDepreciationArea AS ValueReferenceDepreciationArea,
  I_DeprAreaByCoCodeWithCrcyRole.IsValueReferenceDeprArea AS IsValueReferenceDeprArea,
  I_DeprAreaByCoCodeWithCrcyRole.IsRealDepreciationArea AS IsRealDepreciationArea,
  I_DeprAreaByCoCodeWithCrcyRole.AssetAcctgLastClosedFiscalYear AS AssetAcctgLastClosedFiscalYear,
  I_FixedAssetDeprArea.DepreciationKey AS DepreciationKey
FROM I_FixedAssetDeprArea
INNER JOIN I_DeprAreaByCoCodeWithCrcyRole ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_FixedAssetTP AS _FixedAsset ON MasterFixedAsset = _FixedAsset.MasterFixedAsset AND CompanyCode = _FixedAsset.CompanyCode AND FixedAsset = _FixedAsset.FixedAsset  -- association [1..1]
LEFT OUTER JOIN I_MasterFixedAsset AS _MasterFixedAsset ON CompanyCode = _MasterFixedAsset.CompanyCode AND MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset  -- association [0..1]
LEFT OUTER JOIN I_AssetDepreciationArea AS _DepreciationArea ON ChartOfDepreciation = _DepreciationArea.ChartOfDepreciation AND AssetDepreciationArea = _DepreciationArea.AssetDepreciationArea  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON DepreciationAreaCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_ChartOfDepreciation AS _ChartOfDepreciation ON ChartOfDepreciation = _ChartOfDepreciation.ChartOfDepreciation  -- association [0..1]
LEFT OUTER JOIN I_ReplacementValueIndexSers AS _ReplacementValueIndexSers ON ReplacementValueIndexSers = _ReplacementValueIndexSers.ReplacementValueIndexSers  -- association [0..1]
LEFT OUTER JOIN I_ReplacementValueIndexSers AS _RplcmtValueAgingIndexSers ON RplcmtValueAgingIndexSers = _RplcmtValueAgingIndexSers.ReplacementValueIndexSers  -- association [0..1]
LEFT OUTER JOIN I_InvestmentSupportMeasure AS _InvestmentSupportMeasure ON ChartOfDepreciation = _InvestmentSupportMeasure.ChartOfDepreciation AND InvestmentSupportMeasure = _InvestmentSupportMeasure.InvestmentSupportMeasure  -- association [0..1]
LEFT OUTER JOIN I_DepreciationKey AS _DepreciationKey ON ChartOfDepreciation = _DepreciationKey.ChartOfDepreciation AND DepreciationKey = _DepreciationKey.DepreciationKey  -- association [0..1]
LEFT OUTER JOIN I_AssetDepreciationArea AS _ValueReferenceDeprArea ON ValueReferenceDepreciationArea = _ValueReferenceDeprArea.AssetDepreciationArea AND ChartOfDepreciation = _ValueReferenceDeprArea.ChartOfDepreciation  -- association [0..1]
-- UNION ALL with additional select branch(es): I_FixedAssetTP
;