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

P_FixedAssetTransactionOvw

DDL: P_FIXEDASSETTRANSACTIONOVW SQL: PFASSETTRNOV Type: view COMPOSITE Package: ODATA_AA_ASSET_OVERVIEWPAGE

Fixed Asset Transaction Overview

P_FixedAssetTransactionOvw is a Composite CDS View that provides data about "Fixed Asset Transaction Overview" in SAP S/4HANA. It reads from 1 data source (I_FixedAssetTransaction) and exposes 31 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, FiscalYear, FiscalPeriod. It has 1 association to related views. Part of development package ODATA_AA_ASSET_OVERVIEWPAGE.

Data Sources (1)

SourceAliasJoin Type
I_FixedAssetTransaction I_FixedAssetTransaction from

Parameters (4)

NameTypeDefault
P_KeyDate fagl_keydate
P_TodayDate fagl_keydate
P_AssetAccountingKeyFigureSet faa_key_figure_set
P_AssetAccountingKeyFigureSet2 faa_key_figure_set

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_LedgerCompanyCodeCrcyRoles _LedgerCompCodeFiscalVariant _LedgerCompCodeFiscalVariant.CompanyCode = $projection.CompanyCode and _LedgerCompCodeFiscalVariant.Ledger = $projection.Ledger

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PFASSETTRNOV 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 (31)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY FiscalPeriod FiscalPeriod Tax period
KEY AssetDepreciationArea AssetDepreciationArea Deprec. Area
KEY LedgerGroup LedgerGroup Ledger Group
KEY Ledger Ledger Ledger
KEY AssetAccountingKeyFigureSet
KEY AccountingDocument AccountingDocument Journal Entry
KEY TransactionSubitem TransactionSubitem Sub Transaction
KEY DebitCreditCode DebitCreditCode Single-Character Flag
KEY CurrencyRole CurrencyRole Curr./Val. Type
KEY SubLedgerAcctLineItemType SubLedgerAcctLineItemType SLALineItemType
FiscalYearPeriod FiscalYearPeriod Period/Year
FiscalYearVariantendasFiscalYearVariant
PostingDate PostingDate Posting Date for GR
ChartOfDepreciation ChartOfDepreciation
CompanyCodeName CompanyCodeName Company Name
AssetCostCenter AssetCostCenter
AssetClass AssetClass Asset Class
AssetPlant AssetPlant
Segment Segment Segment number
AssetProfitCenter AssetProfitCenter
SelectedCurrencyBranch SelectedCurrencyBranch
DisplayCurrency DisplayCurrency Display Currency
AcqnProdnAmtInDspCrcy AcqnProdnAmtInDspCrcy
ValueAdjustmentAmtInDspCrcy ValueAdjustmentAmtInDspCrcy
RtrmtNetBookValueAmtInDspCrcy RtrmtNetBookValueAmtInDspCrcy
_FixedAsset _FixedAsset
_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_FixedAssetTransactionOvw.
-- 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: PFASSETTRNOV
-- Parameters: P_KeyDate : fagl_keydate, P_TodayDate : fagl_keydate, P_AssetAccountingKeyFigureSet : faa_key_figure_set, P_AssetAccountingKeyFigureSet2 : faa_key_figure_set

CREATE VIEW P_FixedAssetTransactionOvw AS
SELECT
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  FiscalYear,
  FiscalPeriod,
  AssetDepreciationArea,
  LedgerGroup,
  Ledger,
  :P_AssetAccountingKeyFigureSet2 AS AssetAccountingKeyFigureSet,
  AccountingDocument,
  TransactionSubitem,
  DebitCreditCode,
  CurrencyRole,
  SubLedgerAcctLineItemType,
  FiscalYearPeriod,
  case I_FixedAssetTransaction.FiscalYearVariant when '' then _LedgerCompCodeFiscalVariant.FiscalYearVariant else I_FixedAssetTransaction.FiscalYearVariant end as FiscalYearVariant AS FiscalYearVariantendasFiscalYearVariant,
  PostingDate,
  ChartOfDepreciation,
  CompanyCodeName,
  AssetCostCenter,
  AssetClass,
  AssetPlant,
  Segment,
  AssetProfitCenter,
  SelectedCurrencyBranch,
  DisplayCurrency,
  AcqnProdnAmtInDspCrcy,
  ValueAdjustmentAmtInDspCrcy,
  RtrmtNetBookValueAmtInDspCrcy
FROM I_FixedAssetTransaction
LEFT OUTER JOIN I_LedgerCompanyCodeCrcyRoles AS _LedgerCompCodeFiscalVariant ON _LedgerCompCodeFiscalVariant.CompanyCode = CompanyCode AND _LedgerCompCodeFiscalVariant.Ledger = Ledger  -- association [0..1]
;