Deprecated
This CDS view is deprecated in S/4HANA. View all deprecated CDS views →

P_FxdAstUndrConstructionsAging

DDL: P_FXDASTUNDRCONSTRUCTIONSAGING SQL: PFASTUCONSAGING Type: view COMPOSITE

P_FxdAstUndrConstructionsAging is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_FixedAssetTransactionAging) and exposes 21 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, AssetDepreciationArea, Ledger. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_FixedAssetTransactionAging P_FixedAssetTransactionAging from

Parameters (2)

NameTypeDefault
P_KeyDate fagl_keydate
P_TodayDate fagl_keydate

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_FixedAssetAssgmt _FixedAssetAssgmt _FixedAssetAssgmt.CompanyCode = $projection.CompanyCode and _FixedAssetAssgmt.MasterFixedAsset = $projection.MasterFixedAsset and _FixedAssetAssgmt.FixedAsset = $projection.FixedAsset

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PFASTUCONSAGING view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.lifecycle.status #DEPRECATED view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY AssetDepreciationArea AssetDepreciationArea Deprec. Area
KEY Ledger Ledger Ledger
KEY CurrencyRole CurrencyRole Curr./Val. Type
CompanyCodeName CompanyCodeName Company Name
ChartOfDepreciation ChartOfDepreciation
BusinessArea BusinessArea Business Area
AssetClass AssetClass Asset Class
AssetCostCenter AssetCostCenter
AssetPlant AssetPlant
AssetProfitCenter AssetProfitCenter
Segment Segment Segment number
PostingDate PostingDate Posting Date for GR
SetIdentificationItemFAD
SetIdentificationItemLAD
SelectedCurrencyBranch SelectedCurrencyBranch
_FixedAsset _FixedAsset
_FixedAssetAssgmt _FixedAssetAssgmt
_DepreciationArea _DepreciationArea

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 P_FxdAstUndrConstructionsAging.
-- 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: PFASTUCONSAGING
-- Parameters: P_KeyDate : fagl_keydate, P_TodayDate : fagl_keydate

CREATE VIEW P_FxdAstUndrConstructionsAging AS
SELECT
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  AssetDepreciationArea,
  Ledger,
  CurrencyRole,
  CompanyCodeName,
  ChartOfDepreciation,
  BusinessArea,
  AssetClass,
  AssetCostCenter,
  AssetPlant,
  AssetProfitCenter,
  Segment,
  PostingDate,
  cast('FAD' as fc_setid) AS SetIdentificationItemFAD,
  cast('LAD' as fc_setid) AS SetIdentificationItemLAD,
  SelectedCurrencyBranch
FROM P_FixedAssetTransactionAging
LEFT OUTER JOIN I_FixedAssetAssgmt AS _FixedAssetAssgmt ON _FixedAssetAssgmt.CompanyCode = CompanyCode AND _FixedAssetAssgmt.MasterFixedAsset = MasterFixedAsset AND _FixedAssetAssgmt.FixedAsset = FixedAsset  -- association [0..*]
;