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

P_FxdAstUndrConstrAcqDates

DDL: P_FXDASTUNDRCONSTRACQDATES SQL: PFASTUCONSACQDAT Type: view COMPOSITE

P_FxdAstUndrConstrAcqDates is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_FixedAssetTransaction) and exposes 9 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, AssetDepreciationArea, Ledger.

Data Sources (1)

SourceAliasJoin Type
I_FixedAssetTransaction I_FixedAssetTransaction from

Parameters (1)

NameTypeDefault
P_KeyDate fagl_keydate

Annotations (7)

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

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_FixedAssetTransaction CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY AssetDepreciationArea AssetDepreciationArea Deprec. Area
KEY Ledger I_FixedAssetTransaction Ledger Ledger
KEY CurrencyRole CurrencyRole Curr./Val. Type
KEY SelectedCurrencyBranch SelectedCurrencyBranch
LastAcquisitionDate
FirstAcquisitionDate

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_FxdAstUndrConstrAcqDates.
-- 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: PFASTUCONSACQDAT
-- Parameters: P_KeyDate : fagl_keydate

CREATE VIEW P_FxdAstUndrConstrAcqDates AS
SELECT
  I_FixedAssetTransaction.CompanyCode AS CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  AssetDepreciationArea,
  I_FixedAssetTransaction.Ledger AS Ledger,
  CurrencyRole,
  SelectedCurrencyBranch,
  max(PostingDate) AS LastAcquisitionDate,
  min(PostingDate) AS FirstAcquisitionDate
FROM I_FixedAssetTransaction
;