R_FixedAssetValuationTP
Fixed Asset Valuation
R_FixedAssetValuationTP is a Transactional CDS View that provides data about "Fixed Asset Valuation" in SAP S/4HANA. It reads from 1 data source (I_AssetValuation) and exposes 32 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, Ledger, AssetDepreciationArea. It has 2 associations to related views. Part of development package FINS_FAA_MD_RAP_BO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AssetValuation | I_AssetValuation | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | R_FixedAssetTimeBasedValnTP | _FixedAssetTimeBasedValn | |
| [1..*] | R_FixedAssetYrOpngValnAttribTP | _FixedAssetYrOpngValnAttrib | |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Fixed Asset Valuation | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.allowNewCompositions | true | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | MasterFixedAsset | MasterFixedAsset | ||
| KEY | FixedAsset | FixedAsset | ||
| KEY | Ledger | Ledger | ||
| KEY | AssetDepreciationArea | AssetDepreciationArea | ||
| DepreciationKey | DepreciationKey | |||
| PlannedUsefulLifeInYears | PlannedUsefulLifeInYears | |||
| PlannedUsefulLifeInPeriods | PlannedUsefulLifeInPeriods | |||
| NegativeAmountIsAllowed | NegativeAmountIsAllowed | |||
| DepreciationStartDate | DepreciationStartDate | |||
| SpecialDeprStartDate | SpecialDeprStartDate | |||
| InterestCalcStartDate | InterestCalcStartDate | |||
| AssetOpgReadinessDate | AssetOpgReadinessDate | |||
| DeprKeyChangeoverYear | DeprKeyChangeoverYear | |||
| DeprKeyChangeoverPeriod | DeprKeyChangeoverPeriod | |||
| LowValueAssetAmountCheckType | LowValueAssetAmountCheckType | |||
| LastRetirementValueDate | LastRetirementValueDate | |||
| AssetCurrentFiscalYear | AssetCurrentFiscalYear | |||
| AssetNumberOfPeriods | AssetNumberOfPeriods | |||
| DepreciationAreaType | DepreciationAreaType | |||
| ExpiredUsefulLifeInYrs | ExpiredUsefulLifeInYrs | |||
| ExpiredUsefulLifeInPerds | ExpiredUsefulLifeInPerds | |||
| SpclExpiredUsefulLifeInYrs | SpclExpiredUsefulLifeInYrs | |||
| SpclExpiredUsefulLifeInPerds | SpclExpiredUsefulLifeInPerds | |||
| IsChanged | ||||
| _FixedAsset | _FixedAsset | |||
| _FixedAssetTimeBasedValn | _FixedAssetTimeBasedValn | |||
| _FixedAssetYrOpngValnAttrib | _FixedAssetYrOpngValnAttrib | |||
| _CompanyCode | _CompanyCode | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _Ledger | _Ledger | |||
| _DepreciationArea | _DepreciationArea |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Fixed Asset Valuation'
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
semanticKey: ['CompanyCode','MasterFixedAsset','FixedAsset','Ledger','AssetDepreciationArea'],
usageType: {
serviceQuality: #B,
sizeCategory: #XXL,
dataClass: #MASTER
}
}
@AbapCatalog.extensibility: {
extensible: true,
allowNewCompositions: true
}
@Consumption.dbHints: [ '&PREFER_JOIN_WITH_FDA 0&', 'USE_HEX_PLAN' ]
define view entity R_FixedAssetValuationTP as
// CE2602 - performance improvement
select from I_AssetValuation
association to parent R_FixedAssetTP as _FixedAsset on $projection.CompanyCode = _FixedAsset.CompanyCode
and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset
and $projection.FixedAsset = _FixedAsset.FixedAsset
composition [1..*] of R_FixedAssetTimeBasedValnTP as _FixedAssetTimeBasedValn
composition [1..*] of R_FixedAssetYrOpngValnAttribTP as _FixedAssetYrOpngValnAttrib
{
key CompanyCode,
key MasterFixedAsset,
key FixedAsset,
key Ledger,
key AssetDepreciationArea,
DepreciationKey,
PlannedUsefulLifeInYears,
PlannedUsefulLifeInPeriods,
NegativeAmountIsAllowed,
DepreciationStartDate,
SpecialDeprStartDate,
InterestCalcStartDate,
AssetOpgReadinessDate,
DeprKeyChangeoverYear,
DeprKeyChangeoverPeriod,
LowValueAssetAmountCheckType,
LastRetirementValueDate,
AssetCurrentFiscalYear,
AssetNumberOfPeriods,
DepreciationAreaType,
ExpiredUsefulLifeInYrs,
ExpiredUsefulLifeInPerds,
SpclExpiredUsefulLifeInYrs,
SpclExpiredUsefulLifeInPerds,
// @Consumption.hidden: true
cast( '' as abap_boolean preserving type ) as IsChanged,
_FixedAsset,
_FixedAssetTimeBasedValn,
_FixedAssetYrOpngValnAttrib,
_CompanyCode,
_MasterFixedAsset,
_Ledger,
_DepreciationArea
// _AssetValuationForLedger
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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