I_FixedAssetDeprArea
Fixed Asset Depreciation
I_FixedAssetDeprArea is a Basic CDS View (Dimension) that provides data about "Fixed Asset Depreciation" in SAP S/4HANA. It reads from 2 data sources (P_FixedAssetDeprArea, P_FixedAssetDeprArea) and exposes 73 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, AssetRealDepreciationArea, ValidityEndDate. It has 6 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_FixedAssetDeprArea | P_FixedAssetDeprArea | from |
| P_FixedAssetDeprArea | P_FixedAssetDeprArea | union_all |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_MasterFixedAsset | _MasterFixedAsset | $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset |
| [1..1] | I_FixedAsset | _FixedAsset | $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.FixedAsset = _FixedAsset.FixedAsset and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset |
| [0..1] | I_RealDepreciationAreaByCoCode | _RealDepreciationArea | $projection.CompanyCode = _RealDepreciationArea.CompanyCode and $projection.AssetRealDepreciationArea = _RealDepreciationArea.AssetRealDepreciationArea |
| [0..1] | I_Currency | _Currency | $projection.DepreciationAreaCurrency = _Currency.Currency |
| [0..1] | I_ReplacementValueIndexSers | _ReplacementValueIndexSers | $projection.ReplacementValueIndexSers = _ReplacementValueIndexSers.ReplacementValueIndexSers |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFASSETDEPR | view | |
| AbapCatalog.preserveKey | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| EndUserText.label | Fixed Asset Depreciation | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | AssetRealDepreciationArea | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (73)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | MasterFixedAsset | MasterFixedAsset | Fixed Asset | |
| KEY | FixedAsset | FixedAsset | Sub-number | |
| KEY | AssetRealDepreciationArea | AssetRealDepreciationArea | Deprec. Area | |
| KEY | ValidityEndDate | ValidityEndDate_anlb | Valid To | |
| ValidityStartDate | Valid From | |||
| DepreciationStartDate | DepreciationStartDate | |||
| SpecialDeprStartDate | SpecialDeprStartDate | Spec.dep.start | ||
| InterestCalcStartDate | InterestCalcStartDate | Int.Calc. Start | ||
| ReplacementValueIndexSers | ReplacementValueIndexSers | Index series | ||
| RplcmtValueAgingIndexSers | RplcmtValueAgingIndexSers | |||
| DepreciationAreaCurrency | _RealDepreciationArea | Currency | Valuation Crcy | |
| OriglAstUsefulLifeInYears | OriglAstUsefulLifeInYears | Original Life | ||
| GroupMasterFixedAsset | GroupMasterFixedAsset | Group Asset | ||
| AssetOpgReadinessDate | AssetOpgReadinessDate | Operating Readiness | ||
| NegativeAmountIsAllowed | NegativeAmountIsAllowed | Negative Val.Allowed | ||
| DepreciationAreaIsDactvtd | DepreciationAreaIsDactvtd | Area Deact. | ||
| AssetRevaluation | AssetRevaluation | Revaluation Key | ||
| InvestmentSupportMeasure | InvestmentSupportMeasure | |||
| DeprKeyChangeoverYear | DeprKeyChangeoverYear | |||
| DeprKeyChangeoverPeriod | DeprKeyChangeoverPeriod | Changeover Prd | ||
| VintageMonth | VintageMonth | |||
| VintageYear | VintageYear | Vintage Year | ||
| OriglAstUsefulLifeInPerds | OriglAstUsefulLifeInPerds | Periods | ||
| GroupFixedAsset | GroupFixedAsset | Subnumber | ||
| DepreciationKey | DepreciationKey_anlb | Dep. key | ||
| PlannedUsefulLifeInYears | PlannedUsefulLifeInYears_anlb | |||
| PlannedUsefulLifeInPeriods | PlndUsefulLifeInPeriods_anlb | |||
| VariableDeprPercent | VariableDeprPercent_anlb | Var.dep.portion | ||
| ScrapAmountInCoCodeCrcy | ScrapAmountInCoCodeCrcy_anlb | Scrap value | ||
| AcqnProdnCostScrapPercent | AcqnProdnCostScrapPercent_anlb | Scrap Value % | ||
| _FixedAsset | _FixedAsset | |||
| _CompanyCode | _CompanyCode | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _RealDepreciationArea | _RealDepreciationArea | |||
| _Currency | _Currency | |||
| ReplacementValueIndexSerskeyCompanyCode | ||||
| KEY | MasterFixedAsset | MasterFixedAsset | Fixed Asset | |
| KEY | FixedAsset | FixedAsset | Sub-number | |
| KEY | AssetRealDepreciationArea | AssetRealDepreciationArea | Deprec. Area | |
| KEY | ValidityEndDate | ValidityEndDate_anlbza | Valid To | |
| ValidityStartDate | ValidityStartDate_anlbza | Valid From | ||
| DepreciationStartDate | DepreciationStartDate | |||
| SpecialDeprStartDate | SpecialDeprStartDate | Spec.dep.start | ||
| InterestCalcStartDate | InterestCalcStartDate | Int.Calc. Start | ||
| ReplacementValueIndexSers | ReplacementValueIndexSers | Index series | ||
| RplcmtValueAgingIndexSers | RplcmtValueAgingIndexSers | |||
| DepreciationAreaCurrency | _RealDepreciationArea | Currency | Valuation Crcy | |
| OriglAstUsefulLifeInYears | OriglAstUsefulLifeInYears | Original Life | ||
| GroupMasterFixedAsset | GroupMasterFixedAsset | Group Asset | ||
| AssetOpgReadinessDate | AssetOpgReadinessDate | Operating Readiness | ||
| NegativeAmountIsAllowed | NegativeAmountIsAllowed | Negative Val.Allowed | ||
| DepreciationAreaIsDactvtd | DepreciationAreaIsDactvtd | Area Deact. | ||
| AssetRevaluation | AssetRevaluation | Revaluation Key | ||
| InvestmentSupportMeasure | InvestmentSupportMeasure | |||
| DeprKeyChangeoverYear | DeprKeyChangeoverYear | |||
| DeprKeyChangeoverPeriod | DeprKeyChangeoverPeriod | Changeover Prd | ||
| VintageMonth | VintageMonth | |||
| VintageYear | VintageYear | Vintage Year | ||
| OriglAstUsefulLifeInPerds | OriglAstUsefulLifeInPerds | Periods | ||
| GroupFixedAsset | GroupFixedAsset | Subnumber | ||
| DepreciationKey | DepreciationKey_anlbza | Dep. key | ||
| PlannedUsefulLifeInYears | PlndUsefulLifeInYears_anlbza | |||
| PlannedUsefulLifeInPeriods | PlndUsefulLifeInPeriods_anlbza | |||
| VariableDeprPercent | VariableDeprPercent_anlbza | Var.dep.portion | ||
| ScrapAmountInCoCodeCrcy | ScrapAmountInCoCodeCrcy_anlbza | Scrap value | ||
| AcqnProdnCostScrapPercent | AcqnProdnCostScrapPrcnt_anlbza | Scrap Value % | ||
| _FixedAsset | _FixedAsset | |||
| _CompanyCode | _CompanyCode | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _RealDepreciationArea | _RealDepreciationArea | |||
| _Currency | _Currency | |||
| _ReplacementValueIndexSers | _ReplacementValueIndexSers |
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_FixedAssetDeprArea.
-- 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.
CREATE VIEW I_FixedAssetDeprArea AS
SELECT
CompanyCode,
MasterFixedAsset,
FixedAsset,
AssetRealDepreciationArea,
ValidityEndDate_anlb AS ValidityEndDate,
cast('19000101' as adatu) AS ValidityStartDate,
DepreciationStartDate,
SpecialDeprStartDate,
InterestCalcStartDate,
ReplacementValueIndexSers,
RplcmtValueAgingIndexSers,
_RealDepreciationArea.Currency AS DepreciationAreaCurrency,
OriglAstUsefulLifeInYears,
GroupMasterFixedAsset,
AssetOpgReadinessDate,
NegativeAmountIsAllowed,
DepreciationAreaIsDactvtd,
AssetRevaluation,
InvestmentSupportMeasure,
DeprKeyChangeoverYear,
DeprKeyChangeoverPeriod,
VintageMonth,
VintageYear,
OriglAstUsefulLifeInPerds,
GroupFixedAsset,
DepreciationKey_anlb AS DepreciationKey,
PlannedUsefulLifeInYears_anlb AS PlannedUsefulLifeInYears,
PlndUsefulLifeInPeriods_anlb AS PlannedUsefulLifeInPeriods,
VariableDeprPercent_anlb AS VariableDeprPercent,
ScrapAmountInCoCodeCrcy_anlb AS ScrapAmountInCoCodeCrcy,
AcqnProdnCostScrapPercent_anlb AS AcqnProdnCostScrapPercent
FROM P_FixedAssetDeprArea
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_MasterFixedAsset AS _MasterFixedAsset ON CompanyCode = _MasterFixedAsset.CompanyCode AND MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON CompanyCode = _FixedAsset.CompanyCode AND FixedAsset = _FixedAsset.FixedAsset AND MasterFixedAsset = _FixedAsset.MasterFixedAsset -- association [1..1]
LEFT OUTER JOIN I_RealDepreciationAreaByCoCode AS _RealDepreciationArea ON CompanyCode = _RealDepreciationArea.CompanyCode AND AssetRealDepreciationArea = _RealDepreciationArea.AssetRealDepreciationArea -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON DepreciationAreaCurrency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_ReplacementValueIndexSers AS _ReplacementValueIndexSers ON ReplacementValueIndexSers = _ReplacementValueIndexSers.ReplacementValueIndexSers -- association [0..1]
-- UNION ALL with additional select branch(es): P_FixedAssetDeprArea
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA