P_FixedAssetTransactionOvw

DDL: P_FIXEDASSETTRANSACTIONOVW SQL: PFASSETTRNOV Type: view COMPOSITE

P_FixedAssetTransactionOvw is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_FixedAssetTransaction) and exposes 32 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, FiscalYear, FiscalPeriod. It has 1 association to related views.

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 (32)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode
KEY MasterFixedAsset MasterFixedAsset
KEY FixedAsset FixedAsset
KEY FiscalYear FiscalYear
KEY FiscalPeriod FiscalPeriod
KEY AssetDepreciationArea AssetDepreciationArea
KEY LedgerGroup LedgerGroup
KEY Ledger Ledger
KEY AssetAccountingKeyFigureSet
KEY AccountingDocument AccountingDocument
KEY TransactionSubitem TransactionSubitem
KEY DebitCreditCode DebitCreditCode
KEY CurrencyRole CurrencyRole
KEY SubLedgerAcctLineItemType SubLedgerAcctLineItemType
FiscalYearPeriod FiscalYearPeriod
FiscalYearVariantendasFiscalYearVariant
PostingDate PostingDate
ChartOfDepreciation ChartOfDepreciation
CompanyCodeName CompanyCodeName
AssetCostCenter AssetCostCenter
AssetClass AssetClass
AssetPlant AssetPlant
BusinessArea AssetBusinessArea
Segment Segment
AssetProfitCenter AssetProfitCenter
SelectedCurrencyBranch SelectedCurrencyBranch
DisplayCurrency DisplayCurrency
AcqnProdnAmtInDspCrcy AcqnProdnAmtInDspCrcy
ValueAdjustmentAmtInDspCrcy ValueAdjustmentAmtInDspCrcy
RtrmtNetBookValueAmtInDspCrcy RtrmtNetBookValueAmtInDspCrcy
_FixedAsset _FixedAsset
_DepreciationArea _DepreciationArea
@AbapCatalog.sqlViewName: 'PFASSETTRNOV'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.status: #DEPRECATED
@VDM.private: true
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_FixedAssetTransactionOvw
  with parameters
    P_KeyDate                      : fagl_keydate,
    P_TodayDate                    : fagl_keydate,
    P_AssetAccountingKeyFigureSet  : faa_key_figure_set,
    P_AssetAccountingKeyFigureSet2 : faa_key_figure_set
  as select from I_FixedAssetTransaction(P_KeyDate: :P_KeyDate,
                                         P_AssetAccountingKeyFigureSet: :P_AssetAccountingKeyFigureSet)
  association [0..1] to I_LedgerCompanyCodeCrcyRoles as _LedgerCompCodeFiscalVariant on  _LedgerCompCodeFiscalVariant.CompanyCode = $projection.CompanyCode
                                                                                     and _LedgerCompCodeFiscalVariant.Ledger      = $projection.Ledger
{
  key CompanyCode,
  key MasterFixedAsset,
  key FixedAsset,
  key FiscalYear,
  key FiscalPeriod,
  key AssetDepreciationArea,
  key LedgerGroup,
  key Ledger,
  key :P_AssetAccountingKeyFigureSet2 as AssetAccountingKeyFigureSet,
  key AccountingDocument,
  key TransactionSubitem,
  key DebitCreditCode,
  key CurrencyRole,
  key SubLedgerAcctLineItemType,

      FiscalYearPeriod,

      case I_FixedAssetTransaction.FiscalYearVariant
        when '' then _LedgerCompCodeFiscalVariant.FiscalYearVariant
        else I_FixedAssetTransaction.FiscalYearVariant
      end                             as FiscalYearVariant,

      PostingDate,
      ChartOfDepreciation,

      CompanyCodeName,
      AssetCostCenter,

      AssetClass,

      AssetPlant,
      AssetBusinessArea               as BusinessArea,
      Segment,

      AssetProfitCenter,

      SelectedCurrencyBranch,

      /* Amounts */
      DisplayCurrency,

      AcqnProdnAmtInDspCrcy,
      ValueAdjustmentAmtInDspCrcy,
      RtrmtNetBookValueAmtInDspCrcy,

      _FixedAsset,
      _DepreciationArea
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_FIXEDASSETTRANSACTION",
"I_LEDGERCOMPANYCODECRCYROLES"
],
"ASSOCIATED":
[
"I_DEPRECIATIONAREAFORLEDGER",
"I_FIXEDASSET",
"I_LEDGERCOMPANYCODECRCYROLES"
],
"BASE":
[
"I_FIXEDASSETTRANSACTION"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/