I_AssetValuationForLedger
Fixed Asset Valuation for Ledger
I_AssetValuationForLedger (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.
Accounting and Financial Close
I_AssetValuationForLedger is a Composite CDS View that provides data about "Fixed Asset Valuation for Ledger" in SAP S/4HANA. It reads from 2 data sources (I_AssetTimeBasedValuation, I_AssetValuation) and exposes 43 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, Ledger, AssetRealDepreciationArea. It has 10 associations to related views. Part of development package FINS_FIS_AA_MD.
SAP Help Documentation
| Category | CDS Views for Master Data |
|---|---|
| Data Category | Dimension |
| Status | Released |
This CDS view provides access to the ledger-dependent valuation master data of a fixed asset. The ledger-dependent attributes of the fixed asset valuation business entity provide depreciation-related data that are time-dependent. This CDS view provides the prerequisites for answering the following business questions: What are the depreciation keys of my fixed assets? What is the planned useful life of my fixed assets? What are the depreciation start dates of my fixed assets?
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: Restriction Type: ID Restriction Type, Name BUKRS_WERKS Company Code/Plant A_S_MD New Asset Master Data Maintenance BUKRS_KOSTL Company Code/Cost Center These restriction types are edited in the Maintain Business Roles app.
Structure
Important Fields Important fields in this view include the following: Field Name Is Key Data Element Description Comment DepreciationKey AFASL Depreciation key Depreciation key DepreciationStartDate FIS_AFABG Depreciation Calculation Start Date Depreciation Calculation Start Date PlannedUsefulLifeInYears FIS_NDJAR Planned Useful Life Planned Useful Life in Years PlannedUsefulLifeInPeriods FIS_NDPER Planned Useful Life in Periods Planned Useful Life in Periods DeprKeyChangeoverYear FIS_UMJAR Changeover Year Changeover Year of Depreciation Key DeprKeyChangeoverPeriod UMPER Changeover Period Changeover Period of Depreciation Key IsShutDown XSTIL Asset shutdown Asset shutdown FixedAssetUsageObject FAA_UO Usage Object Usage Object
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Accounting and Financial Close |
| Application Component | FI-FIO-AA-ANA-2CL |
| Capabilities | Data Source for Defining CDS Entities,Data Source in SQL Select,Association Target for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Accounting and Financial Close for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view provides access to the ledger-dependent valuation master data of a fixed asset. The ledger-dependent attributes of the fixed asset valuation business entity provide depreciation-related data that are time-dependent.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>What are the depreciation keys of my fixed assets?</p></li> <li><p>What is the planned useful life of my fixed assets?</p></li> <li><p>What are the depreciation start dates of my fixed assets?</p></li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_AssetTimeBasedValuation | I_AssetTimeBasedValuation | from |
| I_AssetValuation | I_AssetValuation | inner |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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 |
| [0..1] | I_AssetRevaluationIndex | _AssetRevaluationIndex | $projection.AssetRevaluationIndex = _AssetRevaluationIndex.AssetRevaluationIndex |
| [1..1] | I_AssetValuationScrapAmount | _ScrapAmount | $projection.CompanyCode = _ScrapAmount.CompanyCode and $projection.MasterFixedAsset = _ScrapAmount.MasterFixedAsset and $projection.FixedAsset = _ScrapAmount.FixedAsset and $projection.Ledger = _ScrapAmount.Ledger and $projection.AssetRealDepreciationArea = _ScrapAmount.AssetRealDepreciationArea and $projection.ValidityEndDate = _ScrapAmount.ValidityEndDate |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_AssetTimeBasedValuation | CompanyCode | Receiver Company Code |
| KEY | MasterFixedAsset | I_AssetTimeBasedValuation | MasterFixedAsset | Main Asset Number |
| KEY | FixedAsset | I_AssetTimeBasedValuation | FixedAsset | Asset Subnumber |
| KEY | Ledger | I_AssetTimeBasedValuation | Ledger | Ledger in General Ledger Accounting |
| KEY | AssetRealDepreciationArea | Real depreciation area | ||
| KEY | ValidityEndDate | I_AssetTimeBasedValuation | ValidityEndDate | Date Validity Ends |
| ValidityStartDate | I_AssetTimeBasedValuation | ValidityStartDate | Date for Beginning of Validity | |
| DepreciationStartDate | I_AssetValuation | DepreciationStartDate | Depreciation Calculation Start Date | |
| SpecialDeprStartDate | I_AssetValuation | SpecialDeprStartDate | Start Date for Special Depreciation | |
| DeprKeyChangeoverYear | Changeover Year of Depreciation Key | |||
| DeprKeyChangeoverPeriod | I_AssetValuation | DeprKeyChangeoverPeriod | Changeover Period of Depreciation Key | |
| DepreciationKey | I_AssetTimeBasedValuation | DepreciationKey | Depreciation Key | |
| InvestmentSupportMeasure | Investment Support Key | |||
| PlannedUsefulLifeInPeriods | Planned Useful Life in Periods | |||
| PlannedUsefulLifeInYears | Planned Useful Life in Years | |||
| VintageYear | Acquisition Year | |||
| VintageMonth | Acquisition Month | |||
| OriglAstUsefulLifeInPerds | Original Useful Life in Periods | |||
| OriglAstUsefulLifeInYears | Original Useful Life in Years | |||
| ReplacementValueIndexSers | I_AssetValuation | ReplacementValueIndexSers | Index Series for Replacement Values | |
| RplcmtValueAgingIndexSers | Age-Dependent Index Series | |||
| AcqnProdnCostScrapPercent | I_AssetTimeBasedValuation | AcqnProdnCostScrapPercent | Scrap Value as Percentage of APC | |
| VariableDeprPercent | I_AssetTimeBasedValuation | VariableDeprPercent | Variable Depreciation Portion | |
| ShiftOperationFactor | I_AssetTimeBasedValuation | ShiftOperationFactor | Multiple-Shift Factor for Multiple Shift Operation | |
| IsShutDown | I_AssetTimeBasedValuation | IsShutDown | Asset Shutdown | |
| DeprCalcBaseValuePercent | I_AssetTimeBasedValuation | DeprCalcBaseValuePercent | Base Value Percentage | |
| LastRetirementValueDate | I_AssetValuation | LastRetirementValueDate | Value date of last retirement for the depreciation area | |
| DepreciationAreaType | I_AssetValuation | DepreciationAreaType | Calculation View Type | |
| ScrapAmountInCoCodeCrcy | I_AssetTimeBasedValuation | ScrapAmountInCoCodeCrcy | Scrap Value in Company Code Currency | |
| CompanyCodeCurrency | _CompanyCode | Currency | Valuation Crcy | |
| AssetOpgReadinessDate | I_AssetValuation | AssetOpgReadinessDate | Asset Accounting: Date of Operating Readiness | |
| FixedAssetUsageObject | I_AssetTimeBasedValuation | FixedAssetUsageObject | Usage Object | |
| AssetRevaluationIndex | I_AssetTimeBasedValuation | AssetRevaluationIndex | Asset Revaluation: Index ID | |
| _CompanyCode | _CompanyCode | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _FixedAsset | _FixedAsset | |||
| _Ledger | _Ledger | |||
| _DepreciationArea | _DepreciationArea | |||
| _ReplacementValueIndexSers | _ReplacementValueIndexSers | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _FixedAssetUsageObject | _FixedAssetUsageObject | |||
| _AssetRevaluationIndex | _AssetRevaluationIndex | |||
| _ScrapAmount | _ScrapAmount |
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_AssetValuationForLedger.
-- 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_AssetValuationForLedger AS
SELECT
I_AssetTimeBasedValuation.CompanyCode AS CompanyCode,
I_AssetTimeBasedValuation.MasterFixedAsset AS MasterFixedAsset,
I_AssetTimeBasedValuation.FixedAsset AS FixedAsset,
I_AssetTimeBasedValuation.Ledger AS Ledger,
cast(I_AssetTimeBasedValuation.AssetDepreciationArea as afabe_d) AS AssetRealDepreciationArea,
I_AssetTimeBasedValuation.ValidityEndDate AS ValidityEndDate,
I_AssetTimeBasedValuation.ValidityStartDate AS ValidityStartDate,
I_AssetValuation.DepreciationStartDate AS DepreciationStartDate,
I_AssetValuation.SpecialDeprStartDate AS SpecialDeprStartDate,
cast(I_AssetValuation.DeprKeyChangeoverYear as fis_umjar) AS DeprKeyChangeoverYear,
I_AssetValuation.DeprKeyChangeoverPeriod AS DeprKeyChangeoverPeriod,
I_AssetTimeBasedValuation.DepreciationKey AS DepreciationKey,
cast('' as faa_invsl) AS InvestmentSupportMeasure,
cast(I_AssetTimeBasedValuation.PlannedUsefulLifeInPeriods as fis_ndper) AS PlannedUsefulLifeInPeriods,
cast(I_AssetTimeBasedValuation.PlannedUsefulLifeInYears as fis_ndjar) AS PlannedUsefulLifeInYears,
cast('0000' as fis_vyear) AS VintageYear,
cast('000' as fis_vmnth) AS VintageMonth,
cast('000' as fis_ndurp) AS OriglAstUsefulLifeInPerds,
cast('000' as ndurj) AS OriglAstUsefulLifeInYears,
I_AssetValuation.ReplacementValueIndexSers AS ReplacementValueIndexSers,
cast(I_AssetValuation.RplcmtValueAgingIndexSers as fis_alind) AS RplcmtValueAgingIndexSers,
I_AssetTimeBasedValuation.AcqnProdnCostScrapPercent AS AcqnProdnCostScrapPercent,
I_AssetTimeBasedValuation.VariableDeprPercent AS VariableDeprPercent,
I_AssetTimeBasedValuation.ShiftOperationFactor AS ShiftOperationFactor,
I_AssetTimeBasedValuation.IsShutDown AS IsShutDown,
I_AssetTimeBasedValuation.DeprCalcBaseValuePercent AS DeprCalcBaseValuePercent,
I_AssetValuation.LastRetirementValueDate AS LastRetirementValueDate,
I_AssetValuation.DepreciationAreaType AS DepreciationAreaType,
I_AssetTimeBasedValuation.ScrapAmountInCoCodeCrcy AS ScrapAmountInCoCodeCrcy,
_CompanyCode.Currency AS CompanyCodeCurrency,
I_AssetValuation.AssetOpgReadinessDate AS AssetOpgReadinessDate,
I_AssetTimeBasedValuation.FixedAssetUsageObject AS FixedAssetUsageObject,
I_AssetTimeBasedValuation.AssetRevaluationIndex AS AssetRevaluationIndex
FROM I_AssetTimeBasedValuation
INNER JOIN I_AssetValuation ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_MasterFixedAsset AS _MasterFixedAsset ON CompanyCode = _MasterFixedAsset.CompanyCode AND MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset -- association [1..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON CompanyCode = _FixedAsset.CompanyCode AND MasterFixedAsset = _FixedAsset.MasterFixedAsset AND FixedAsset = _FixedAsset.FixedAsset -- association [1..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger -- association [1..1]
LEFT OUTER JOIN I_DepreciationAreaForLedger AS _DepreciationArea ON CompanyCode = _DepreciationArea.CompanyCode AND Ledger = _DepreciationArea.Ledger AND AssetRealDepreciationArea = _DepreciationArea.AssetDepreciationArea -- association [0..1]
LEFT OUTER JOIN I_ReplacementValueIndexSers AS _ReplacementValueIndexSers ON ReplacementValueIndexSers = _ReplacementValueIndexSers.ReplacementValueIndexSers -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_FixedAssetUsageObject AS _FixedAssetUsageObject ON CompanyCode = _FixedAssetUsageObject.CompanyCode AND FixedAssetUsageObject = _FixedAssetUsageObject.FixedAssetUsageObject -- association [0..1]
LEFT OUTER JOIN I_AssetRevaluationIndex AS _AssetRevaluationIndex ON AssetRevaluationIndex = _AssetRevaluationIndex.AssetRevaluationIndex -- association [0..1]
LEFT OUTER JOIN I_AssetValuationScrapAmount AS _ScrapAmount ON CompanyCode = _ScrapAmount.CompanyCode AND MasterFixedAsset = _ScrapAmount.MasterFixedAsset AND FixedAsset = _ScrapAmount.FixedAsset AND Ledger = _ScrapAmount.Ledger AND AssetRealDepreciationArea = _ScrapAmount.AssetRealDepreciationArea AND ValidityEndDate = _ScrapAmount.ValidityEndDate -- association [1..1]
;
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