C_AssetTimeBasedValuationTP

DDL: C_ASSETTIMEBASEDVALUATIONTP SQL: CASTTMBSDVALNTP Type: view CONSUMPTION Package: FINS_FAA_MD_BOPF

Time Based Valuation of Asset

C_AssetTimeBasedValuationTP is a Consumption CDS View that provides data about "Time Based Valuation of Asset" in SAP S/4HANA. It reads from 1 data source (I_AssetTimeBasedValuationTP) and exposes 64 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, ValidityEndDate, Ledger. It has 3 associations to related views. Part of development package FINS_FAA_MD_BOPF.

Data Sources (1)

SourceAliasJoin Type
I_AssetTimeBasedValuationTP _AssetTimeBasedValuationTP from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_AssetTP _AssetTP $projection.CompanyCode = _AssetTP.CompanyCode and $projection.MasterFixedAsset = _AssetTP.MasterFixedAsset and $projection.FixedAsset = _AssetTP.FixedAsset
[1..1] C_AssetValuationTP _AssetValuationTP $projection.CompanyCode = _AssetValuationTP.CompanyCode and $projection.MasterFixedAsset = _AssetValuationTP.MasterFixedAsset and $projection.FixedAsset = _AssetValuationTP.FixedAsset and $projection.Ledger = _AssetValuationTP.Ledger and $projection.AssetDepreciationArea = _AssetValuationTP.AssetDepreciationArea
[0..1] I_LedgerCompanyCodeCrcyRoles _CurrencyRoles $projection.CompanyCode = _CurrencyRoles.CompanyCode and $projection.Ledger = _CurrencyRoles.Ledger

Annotations (18)

NameValueLevelField
AccessControl.auditFilter #ENABLED view
AbapCatalog.sqlViewName CASTTMBSDVALNTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Time Based Valuation of Asset view
VDM.viewType #CONSUMPTION view
Search.searchable false view
Metadata.allowExtensions true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view

Fields (64)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY ValidityEndDate ValidityEndDate ValidTo
KEY Ledger Ledger Ledger
KEY AssetDepreciationArea AssetDepreciationArea Deprec. Area
ValidityEndDateForEdit ValidityEndDateForEdit Valid To
ChartOfDepreciation ChartOfDepreciation
ValidityStartDate ValidityStartDate Validity Start Date
DepreciationKey DepreciationKey
DepreciationKeyName
PlannedUsefulLifeInYears PlannedUsefulLifeInYears Planned Use Life Yr.
PlannedUsefulLifeInPeriods PlannedUsefulLifeInPeriods
VariableDeprPercent VariableDeprPercent
AcqnProdnCostScrapPercent AcqnProdnCostScrapPercent
DeprCalcBaseValuePercent DeprCalcBaseValuePercent
ShiftOperationFactor ShiftOperationFactor
IsShutDown IsShutDown
FixedAssetUsageObject FixedAssetUsageObject
FixedAssetUsageObjectDesc _FixedAssetUsageObject FixedAssetUsageObjectDesc
AssetRevaluationIndex AssetRevaluationIndex
AssetRevaluationIndexName _FixedAssetRevaluationIndex AssetRevaluationIndexName
ScrapAmountInCoCodeCrcy ScrapAmountInCoCodeCrcy
ScrapAmountInGlobCrcy ScrapAmountInGlobCrcy
ScrapAmountInFreeDefinedCrcy1 ScrapAmountInFreeDefinedCrcy1
ScrapAmountInFreeDefinedCrcy2 ScrapAmountInFreeDefinedCrcy2
ScrapAmountInFreeDefinedCrcy3 ScrapAmountInFreeDefinedCrcy3
ScrapAmountInFreeDefinedCrcy4 ScrapAmountInFreeDefinedCrcy4
ScrapAmountInFreeDefinedCrcy5 ScrapAmountInFreeDefinedCrcy5
ScrapAmountInFreeDefinedCrcy6 ScrapAmountInFreeDefinedCrcy6
ScrapAmountInFreeDefinedCrcy7 ScrapAmountInFreeDefinedCrcy7
ScrapAmountInFreeDefinedCrcy8 ScrapAmountInFreeDefinedCrcy8
CompanyCodeCurrency
CompanyCodeCurrencyRoleName
GlobalCurrency
GlobalCurrencyRoleName
FreeDefinedCurrency1
FreeDefinedCurrency1RoleName
FreeDefinedCurrency2
FreeDefinedCurrency2RoleName
FreeDefinedCurrency3
FreeDefinedCurrency3RoleName
FreeDefinedCurrency4
FreeDefinedCurrency4RoleName
FreeDefinedCurrency5
FreeDefinedCurrency5RoleName
FreeDefinedCurrency6
FreeDefinedCurrency6RoleName
FreeDefinedCurrency7
FreeDefinedCurrency7RoleName
FreeDefinedCurrency8
FreeDefinedCurrency8RoleName
FunctionalCurrency
FunctionalCurrencyRoleName
DepreciationAreaType DepreciationAreaType
LastChangeDateTime
_AssetTP _AssetTP
_AssetValuationTP _AssetValuationTP
_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 C_AssetTimeBasedValuationTP.
-- 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: CASTTMBSDVALNTP

CREATE VIEW C_AssetTimeBasedValuationTP AS
SELECT
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  ValidityEndDate,
  Ledger,
  AssetDepreciationArea,
  ValidityEndDateForEdit,
  ChartOfDepreciation,
  ValidityStartDate,
  DepreciationKey,
  cast('' as fis_afatxt) AS DepreciationKeyName,
  PlannedUsefulLifeInYears,
  PlannedUsefulLifeInPeriods,
  VariableDeprPercent,
  AcqnProdnCostScrapPercent,
  DeprCalcBaseValuePercent,
  ShiftOperationFactor,
  IsShutDown,
  FixedAssetUsageObject,
  _FixedAssetUsageObject.FixedAssetUsageObjectDesc AS FixedAssetUsageObjectDesc,
  AssetRevaluationIndex,
  _FixedAssetRevaluationIndex.AssetRevaluationIndexName AS AssetRevaluationIndexName,
  ScrapAmountInCoCodeCrcy,
  ScrapAmountInGlobCrcy,
  ScrapAmountInFreeDefinedCrcy1,
  ScrapAmountInFreeDefinedCrcy2,
  ScrapAmountInFreeDefinedCrcy3,
  ScrapAmountInFreeDefinedCrcy4,
  ScrapAmountInFreeDefinedCrcy5,
  ScrapAmountInFreeDefinedCrcy6,
  ScrapAmountInFreeDefinedCrcy7,
  ScrapAmountInFreeDefinedCrcy8,
  cast( '' as waers ) AS CompanyCodeCurrency,
  cast( '' as fac_crcyrole_txt ) AS CompanyCodeCurrencyRoleName,
  cast( '' as waers ) AS GlobalCurrency,
  cast( '' as fac_crcyrole_txt ) AS GlobalCurrencyRoleName,
  cast( '' as waers ) AS FreeDefinedCurrency1,
  cast( '' as fac_crcyrole_txt ) AS FreeDefinedCurrency1RoleName,
  cast( '' as waers ) AS FreeDefinedCurrency2,
  cast( '' as fac_crcyrole_txt ) AS FreeDefinedCurrency2RoleName,
  cast( '' as waers ) AS FreeDefinedCurrency3,
  cast( '' as fac_crcyrole_txt ) AS FreeDefinedCurrency3RoleName,
  cast( '' as waers ) AS FreeDefinedCurrency4,
  cast( '' as fac_crcyrole_txt ) AS FreeDefinedCurrency4RoleName,
  cast( '' as waers ) AS FreeDefinedCurrency5,
  cast( '' as fac_crcyrole_txt ) AS FreeDefinedCurrency5RoleName,
  cast( '' as waers ) AS FreeDefinedCurrency6,
  cast( '' as fac_crcyrole_txt ) AS FreeDefinedCurrency6RoleName,
  cast( '' as waers ) AS FreeDefinedCurrency7,
  cast( '' as fac_crcyrole_txt ) AS FreeDefinedCurrency7RoleName,
  cast( '' as waers ) AS FreeDefinedCurrency8,
  cast( '' as fac_crcyrole_txt ) AS FreeDefinedCurrency8RoleName,
  cast( '' as waers ) AS FunctionalCurrency,
  cast( '' as fac_crcyrole_txt ) AS FunctionalCurrencyRoleName,
  DepreciationAreaType,
  cast( '0' as timestamp ) AS LastChangeDateTime
FROM I_AssetTimeBasedValuationTP AS _AssetTimeBasedValuationTP
LEFT OUTER JOIN C_AssetTP AS _AssetTP ON CompanyCode = _AssetTP.CompanyCode AND MasterFixedAsset = _AssetTP.MasterFixedAsset AND FixedAsset = _AssetTP.FixedAsset  -- association [1..1]
LEFT OUTER JOIN C_AssetValuationTP AS _AssetValuationTP ON CompanyCode = _AssetValuationTP.CompanyCode AND MasterFixedAsset = _AssetValuationTP.MasterFixedAsset AND FixedAsset = _AssetValuationTP.FixedAsset AND Ledger = _AssetValuationTP.Ledger AND AssetDepreciationArea = _AssetValuationTP.AssetDepreciationArea  -- association [1..1]
LEFT OUTER JOIN I_LedgerCompanyCodeCrcyRoles AS _CurrencyRoles ON CompanyCode = _CurrencyRoles.CompanyCode AND Ledger = _CurrencyRoles.Ledger  -- association [0..1]
;