I_AssetValuationTP

DDL: I_ASSETVALUATIONTP SQL: IASSETVALNTP Type: view TRANSACTIONAL

Asset Valuation

I_AssetValuationTP is a Transactional CDS View that provides data about "Asset Valuation" in SAP S/4HANA. It reads from 1 data source (I_AssetValuation) and exposes 49 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, Ledger, AssetDepreciationArea. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_AssetValuation AssetValuation from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_AssetTP _AssetTP $projection.CompanyCode = _AssetTP.CompanyCode and $projection.MasterFixedAsset = _AssetTP.MasterFixedAsset and $projection.FixedAsset = _AssetTP.FixedAsset
[1..1] I_AssetLedgerTP _AssetLedgerTP $projection.CompanyCode = _AssetLedgerTP.CompanyCode and $projection.MasterFixedAsset = _AssetLedgerTP.MasterFixedAsset and $projection.FixedAsset = _AssetLedgerTP.FixedAsset and $projection.Ledger = _AssetLedgerTP.Ledger
[1..*] I_AssetTimeBasedValuationTP _AssetTimeBasedValuationTP $projection.CompanyCode = _AssetTimeBasedValuationTP.CompanyCode and $projection.MasterFixedAsset = _AssetTimeBasedValuationTP.MasterFixedAsset and $projection.FixedAsset = _AssetTimeBasedValuationTP.FixedAsset and $projection.Ledger = _AssetTimeBasedValuationTP.Ledger and $projection.AssetDepreciationArea = _AssetTimeBasedValuationTP.AssetDepreciationArea
[1..*] I_AssetYearOpeningValnAttribTP _AssetYearOpeningValnAttribTP $projection.CompanyCode = _AssetYearOpeningValnAttribTP.CompanyCode and $projection.MasterFixedAsset = _AssetYearOpeningValnAttribTP.MasterFixedAsset and $projection.FixedAsset = _AssetYearOpeningValnAttribTP.FixedAsset and $projection.Ledger = _AssetYearOpeningValnAttribTP.Ledger and $projection.AssetDepreciationArea = _AssetYearOpeningValnAttribTP.AssetDepreciationArea
[0..*] I_GlobAssetTimeBasedValnTP _GlobAssetTimeBasedValnTP $projection.CompanyCode = _GlobAssetTimeBasedValnTP.CompanyCode and $projection.MasterFixedAsset = _GlobAssetTimeBasedValnTP.MasterFixedAsset and $projection.FixedAsset = _GlobAssetTimeBasedValnTP.FixedAsset and $projection.Ledger = _GlobAssetTimeBasedValnTP.Ledger and $projection.AssetDepreciationArea = _GlobAssetTimeBasedValnTP.AssetDepreciationArea

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IASSETVALNTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Asset Valuation view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #TRANSACTIONAL view
Metadata.allowExtensions false view
ObjectModel.writeActivePersistence FAAV_MD_VAL view
ObjectModel.writeDraftPersistence FAAD_MD_VAL view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view

Fields (49)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY Ledger Ledger Ledger
KEY AssetDepreciationArea AssetDepreciationArea Deprec. Area
AssetLeadingDepreciationArea
ChartOfDepreciation
DepreciationKey I_AssetValuation DepreciationKey
PlannedUsefulLifeInYears I_AssetValuation PlannedUsefulLifeInYears Planned Use Life Yr.
PlannedUsefulLifeInPeriods I_AssetValuation PlannedUsefulLifeInPeriods
NegativeAmountIsAllowed NegativeAmountIsAllowed Negative Val.Allowed
DepreciationStartDate DepreciationStartDate
SpecialDeprStartDate SpecialDeprStartDate Spec.dep.start
InterestCalcStartDate InterestCalcStartDate Start date
AssetOpgReadinessDate AssetOpgReadinessDate Operating Readiness
ReplacementValueIndexSers ReplacementValueIndexSers
RplcmtValueAgingIndexSers RplcmtValueAgingIndexSers
DeprKeyChangeoverYear DeprKeyChangeoverYear Changeover year
DeprKeyChangeoverPeriod DeprKeyChangeoverPeriod Changeover Prd
LowValueAssetAmountCheckType LowValueAssetAmountCheckType LVA Check
LastRetirementValueDate LastRetirementValueDate Last retmt. on
AssetCurrentFiscalYear AssetCurrentFiscalYear Last Fiscal Yr.
AssetNumberOfPeriods AssetNumberOfPeriods Period Scaling
DepreciationAreaType DepreciationAreaType Calc. View Type
ExpiredUsefulLifeInYrs ExpiredUsefulLifeInYrs
ExpiredUsefulLifeInPerds ExpiredUsefulLifeInPerds
SpclExpiredUsefulLifeInYrs SpclExpiredUsefulLifeInYrs
SpclExpiredUsefulLifeInPerds SpclExpiredUsefulLifeInPerds
CoCodeCurrencyErrorIsIgnored CoCodeCurrencyErrorIsIgnored Ignore Currency
GlobalCurrencyErrorIsIgnored GlobalCurrencyErrorIsIgnored Ignore Currency
FreeDefinedCrcy1ErrorIsIgnored FreeDefinedCrcy1ErrorIsIgnored Ignore Currency
FreeDefinedCrcy2ErrorIsIgnored FreeDefinedCrcy2ErrorIsIgnored Ignore Currency
FreeDefinedCrcy3ErrorIsIgnored FreeDefinedCrcy3ErrorIsIgnored Ignore Currency
FreeDefinedCrcy4ErrorIsIgnored FreeDefinedCrcy4ErrorIsIgnored Ignore Currency
FreeDefinedCrcy5ErrorIsIgnored FreeDefinedCrcy5ErrorIsIgnored Ignore Currency
FreeDefinedCrcy6ErrorIsIgnored FreeDefinedCrcy6ErrorIsIgnored Ignore Currency
FreeDefinedCrcy7ErrorIsIgnored FreeDefinedCrcy7ErrorIsIgnored Ignore Currency
FreeDefinedCrcy8ErrorIsIgnored FreeDefinedCrcy8ErrorIsIgnored Ignore Currency
_AssetTP _AssetTP
_AssetLedgerTP _AssetLedgerTP
_AssetTimeBasedValuationTP _AssetTimeBasedValuationTP
_AssetYearOpeningValnAttribTP _AssetYearOpeningValnAttribTP
_GlobAssetTimeBasedValnTP _GlobAssetTimeBasedValnTP
_CompanyCode _CompanyCode
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_Ledger _Ledger
_DepreciationArea _DepreciationArea
_AssetValuationForLedger _AssetValuationForLedger

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_AssetValuationTP.
-- 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: IASSETVALNTP

CREATE VIEW I_AssetValuationTP AS
SELECT
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  Ledger,
  AssetDepreciationArea,
  cast ( cast ( '00' as abap.numc(2) ) as afaber ) AS AssetLeadingDepreciationArea,
  cast ( cast ( '' as abap.char(4) ) as afapl ) AS ChartOfDepreciation,
  AssetValuation.DepreciationKey AS DepreciationKey,
  AssetValuation.PlannedUsefulLifeInYears AS PlannedUsefulLifeInYears,
  AssetValuation.PlannedUsefulLifeInPeriods AS PlannedUsefulLifeInPeriods,
  NegativeAmountIsAllowed,
  DepreciationStartDate,
  SpecialDeprStartDate,
  InterestCalcStartDate,
  AssetOpgReadinessDate,
  ReplacementValueIndexSers,
  RplcmtValueAgingIndexSers,
  DeprKeyChangeoverYear,
  DeprKeyChangeoverPeriod,
  LowValueAssetAmountCheckType,
  LastRetirementValueDate,
  AssetCurrentFiscalYear,
  AssetNumberOfPeriods,
  DepreciationAreaType,
  ExpiredUsefulLifeInYrs,
  ExpiredUsefulLifeInPerds,
  SpclExpiredUsefulLifeInYrs,
  SpclExpiredUsefulLifeInPerds,
  CoCodeCurrencyErrorIsIgnored,
  GlobalCurrencyErrorIsIgnored,
  FreeDefinedCrcy1ErrorIsIgnored,
  FreeDefinedCrcy2ErrorIsIgnored,
  FreeDefinedCrcy3ErrorIsIgnored,
  FreeDefinedCrcy4ErrorIsIgnored,
  FreeDefinedCrcy5ErrorIsIgnored,
  FreeDefinedCrcy6ErrorIsIgnored,
  FreeDefinedCrcy7ErrorIsIgnored,
  FreeDefinedCrcy8ErrorIsIgnored
FROM I_AssetValuation AS AssetValuation
LEFT OUTER JOIN I_AssetTP AS _AssetTP ON CompanyCode = _AssetTP.CompanyCode AND MasterFixedAsset = _AssetTP.MasterFixedAsset AND FixedAsset = _AssetTP.FixedAsset  -- association [1..1]
LEFT OUTER JOIN I_AssetLedgerTP AS _AssetLedgerTP ON CompanyCode = _AssetLedgerTP.CompanyCode AND MasterFixedAsset = _AssetLedgerTP.MasterFixedAsset AND FixedAsset = _AssetLedgerTP.FixedAsset AND Ledger = _AssetLedgerTP.Ledger  -- association [1..1]
LEFT OUTER JOIN I_AssetTimeBasedValuationTP AS _AssetTimeBasedValuationTP ON CompanyCode = _AssetTimeBasedValuationTP.CompanyCode AND MasterFixedAsset = _AssetTimeBasedValuationTP.MasterFixedAsset AND FixedAsset = _AssetTimeBasedValuationTP.FixedAsset AND Ledger = _AssetTimeBasedValuationTP.Ledger AND AssetDepreciationArea = _AssetTimeBasedValuationTP.AssetDepreciationArea  -- association [1..*]
LEFT OUTER JOIN I_AssetYearOpeningValnAttribTP AS _AssetYearOpeningValnAttribTP ON CompanyCode = _AssetYearOpeningValnAttribTP.CompanyCode AND MasterFixedAsset = _AssetYearOpeningValnAttribTP.MasterFixedAsset AND FixedAsset = _AssetYearOpeningValnAttribTP.FixedAsset AND Ledger = _AssetYearOpeningValnAttribTP.Ledger AND AssetDepreciationArea = _AssetYearOpeningValnAttribTP.AssetDepreciationArea  -- association [1..*]
LEFT OUTER JOIN I_GlobAssetTimeBasedValnTP AS _GlobAssetTimeBasedValnTP ON CompanyCode = _GlobAssetTimeBasedValnTP.CompanyCode AND MasterFixedAsset = _GlobAssetTimeBasedValnTP.MasterFixedAsset AND FixedAsset = _GlobAssetTimeBasedValnTP.FixedAsset AND Ledger = _GlobAssetTimeBasedValnTP.Ledger AND AssetDepreciationArea = _GlobAssetTimeBasedValnTP.AssetDepreciationArea  -- association [0..*]
;