P_RO_StRpFixedAssetChartValue

DDL: P_RO_STRPFIXEDASSETCHARTVALUE SQL: PROSRFACHTVATR Type: view CONSUMPTION

P_RO_StRpFixedAssetChartValue is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_FiscalYearPeriodForLedger, I_FixedAssetValue) and exposes 71 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, Ledger. It has 7 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_FiscalYearPeriodForLedger I_FiscalYearPeriodForLedger inner
I_FixedAssetValue I_FixedAssetValue from

Parameters (4)

NameTypeDefault
P_FiscalYear fis_gjahr
P_FiscalPeriod fis_poper
P_AssetAccountingKeyFigureSet faa_key_figure_set
P_NationalClsfctnSourceField fiaagen_natl_clfn_srce_fld

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_Group1AssetEvaluationKey _EvaluationGroup1 $projection.Group1AssetEvaluationKey = _EvaluationGroup1.Group1AssetEvaluationKey
[0..1] I_Group2AssetEvaluationKey _EvaluationGroup2 $projection.Group2AssetEvaluationKey = _EvaluationGroup2.Group2AssetEvaluationKey
[0..1] I_Group3AssetEvaluationKey _EvaluationGroup3 $projection.Group3AssetEvaluationKey = _EvaluationGroup3.Group3AssetEvaluationKey
[0..1] I_Group4AssetEvaluationKey _EvaluationGroup4 $projection.Group4AssetEvaluationKey = _EvaluationGroup4.Group4AssetEvaluationKey
[0..1] I_Group5AssetEvaluationKey _EvaluationGroup5 $projection.Group5AssetEvaluationKey = _EvaluationGroup5.Group5AssetEvaluationKey
[0..1] I_FixedAssetNatlClfn _FixedAssetNatlClfn $projection.Country = _FixedAssetNatlClfn.Country and $projection.NationalClassification = _FixedAssetNatlClfn.NationalClassification
[0..1] I_FixedAsset _FixedAsset $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PROSRFACHTVATR view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (71)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_FixedAssetValue CompanyCode Receiver Company Code
KEY AssetDepreciationArea AssetDepreciationArea Deprec. Area
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY Ledger I_FixedAssetValue Ledger Ledger
KEY FiscalYear I_FixedAssetValue FiscalYear G/L Fiscal Year
KEY FiscalPeriod I_FixedAssetValue FiscalPeriod Tax period
KEY SubLedgerAcctLineItemType SubLedgerAcctLineItemType SLALineItemType
KEY AssetAcctTransClassfctn AssetAcctTransClassfctn Trans.Type Cat.
KEY AssetAccountingKeyFigure AssetAccountingKeyFigure
KEY AssetAccountingKeyFigureSet AssetAccountingKeyFigureSet
KEY AccountingDocument AccountingDocument Journal Entry
TransactionSubitem TransactionSubitem Sub Transaction
ControllingArea ControllingArea Controlling Area
AssetClass AssetClass Asset Class
AssetCapitalizationDate AssetCapitalizationDate Asset Capitalization
Inventory Inventory Ci Inventory
AssetSerialNumber AssetSerialNumber
Country Country Venue: Ctry/Reg
FixedAssetGroup FixedAssetGroup
Group1AssetEvaluationKey Group1AssetEvaluationKey
Group2AssetEvaluationKey Group2AssetEvaluationKey
Group3AssetEvaluationKey Group3AssetEvaluationKey
Group4AssetEvaluationKey Group4AssetEvaluationKey
Group5AssetEvaluationKey Group5AssetEvaluationKey
AssetValueDate
AccountingDocumentType AccountingDocumentType Journal Entry Type
DebitCreditCode DebitCreditCode Single-Character Flag
AssetTransactionType AssetTransactionType Trans.Type
DocumentItemText DocumentItemText Text
AssignmentReference AssignmentReference Assignment Reference
BaseUnit BaseUnit Unit of Measure
Quantity Quantity Value
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency Local Crcy Amt
ChartOfDepreciation ChartOfDepreciation
LedgerFiscalYear LedgerFiscalYear
FiscalYearVariant I_FixedAssetValue FiscalYearVariant FY Variant
FiscalYearPeriod I_FixedAssetValue FiscalYearPeriod Period/Year
DepreciationFiscalPeriod I_FixedAssetValue DepreciationFiscalPeriod Deprec. Period
_CompanyCode I_FixedAssetValue _CompanyCode
_DepreciationArea _DepreciationArea
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_Ledger I_FixedAssetValue _Ledger
_FiscalYear I_FixedAssetValue _FiscalYear
_DebitCreditCode _DebitCreditCode
_SubLedgerAccLineItemType _SubLedgerAccLineItemType
_AssetAcctTransClassfctn _AssetAcctTransClassfctn
_AssetKeyFigure _AssetKeyFigure
_AssetKeyFigureSet _AssetKeyFigureSet
_ChartOfDepreciation _ChartOfDepreciation
_JournalEntry _JournalEntry
_AssetClass _AssetClass
_AccountingDocumentType _AccountingDocumentType
_AssetTransactionType _AssetTransactionType
_ControllingArea _ControllingArea
_UnitOfMeasure _UnitOfMeasure
_CompanyCodeCurrency _CompanyCodeCurrency
_FiscalYearVariant I_FixedAssetValue _FiscalYearVariant
_LedgerFiscalYearForVariant _LedgerFiscalYearForVariant
_FiscalPeriodForVariant _FiscalPeriodForVariant
_FiscalYearPeriodForVariant _FiscalYearPeriodForVariant
_FixedAssetGroup _FixedAssetGroup
_EvaluationGroup1 _EvaluationGroup1
_EvaluationGroup2 _EvaluationGroup2
_EvaluationGroup3 _EvaluationGroup3
_EvaluationGroup4 _EvaluationGroup4
_EvaluationGroup5 _EvaluationGroup5
_FixedAssetNatlClfn _FixedAssetNatlClfn
AssetManufacturerName _FixedAsset AssetManufacturerName Manufacturer

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_RO_StRpFixedAssetChartValue.
-- 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: PROSRFACHTVATR
-- Parameters: P_FiscalYear : fis_gjahr, P_FiscalPeriod : fis_poper, P_AssetAccountingKeyFigureSet : faa_key_figure_set, P_NationalClsfctnSourceField : fiaagen_natl_clfn_srce_fld

CREATE VIEW P_RO_StRpFixedAssetChartValue AS
SELECT
  I_FixedAssetValue.CompanyCode AS CompanyCode,
  AssetDepreciationArea,
  MasterFixedAsset,
  FixedAsset,
  I_FixedAssetValue.Ledger AS Ledger,
  I_FixedAssetValue.FiscalYear AS FiscalYear,
  I_FixedAssetValue.FiscalPeriod AS FiscalPeriod,
  SubLedgerAcctLineItemType,
  AssetAcctTransClassfctn,
  AssetAccountingKeyFigure,
  AssetAccountingKeyFigureSet,
  AccountingDocument,
  TransactionSubitem,
  ControllingArea,
  AssetClass,
  AssetCapitalizationDate,
  Inventory,
  AssetSerialNumber,
  Country,
  FixedAssetGroup,
  Group1AssetEvaluationKey,
  Group2AssetEvaluationKey,
  Group3AssetEvaluationKey,
  Group4AssetEvaluationKey,
  Group5AssetEvaluationKey,
  case when (AssetValueDate = '00000000' or AssetValueDate is null) then PostingDate else AssetValueDate end AS AssetValueDate,
  AccountingDocumentType,
  DebitCreditCode,
  AssetTransactionType,
  DocumentItemText,
  AssignmentReference,
  BaseUnit,
  Quantity,
  CompanyCodeCurrency,
  cast( AmountInCompanyCodeCurrency as fis_hsl ) AS AmountInCompanyCodeCurrency,
  ChartOfDepreciation,
  LedgerFiscalYear,
  I_FixedAssetValue.FiscalYearVariant AS FiscalYearVariant,
  I_FixedAssetValue.FiscalYearPeriod AS FiscalYearPeriod,
  I_FixedAssetValue.DepreciationFiscalPeriod AS DepreciationFiscalPeriod,
  I_FixedAssetValue._CompanyCode AS _CompanyCode,
  I_FixedAssetValue._Ledger AS _Ledger,
  I_FixedAssetValue._FiscalYear AS _FiscalYear,
  I_FixedAssetValue._FiscalYearVariant AS _FiscalYearVariant,
  _FixedAsset.AssetManufacturerName AS AssetManufacturerName
FROM I_FixedAssetValue
INNER JOIN I_FiscalYearPeriodForLedger ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Group1AssetEvaluationKey AS _EvaluationGroup1 ON Group1AssetEvaluationKey = _EvaluationGroup1.Group1AssetEvaluationKey  -- association [0..1]
LEFT OUTER JOIN I_Group2AssetEvaluationKey AS _EvaluationGroup2 ON Group2AssetEvaluationKey = _EvaluationGroup2.Group2AssetEvaluationKey  -- association [0..1]
LEFT OUTER JOIN I_Group3AssetEvaluationKey AS _EvaluationGroup3 ON Group3AssetEvaluationKey = _EvaluationGroup3.Group3AssetEvaluationKey  -- association [0..1]
LEFT OUTER JOIN I_Group4AssetEvaluationKey AS _EvaluationGroup4 ON Group4AssetEvaluationKey = _EvaluationGroup4.Group4AssetEvaluationKey  -- association [0..1]
LEFT OUTER JOIN I_Group5AssetEvaluationKey AS _EvaluationGroup5 ON Group5AssetEvaluationKey = _EvaluationGroup5.Group5AssetEvaluationKey  -- association [0..1]
LEFT OUTER JOIN I_FixedAssetNatlClfn AS _FixedAssetNatlClfn ON Country = _FixedAssetNatlClfn.Country AND NationalClassification = _FixedAssetNatlClfn.NationalClassification  -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON CompanyCode = _FixedAsset.CompanyCode AND MasterFixedAsset = _FixedAsset.MasterFixedAsset AND FixedAsset = _FixedAsset.FixedAsset  -- association [0..1]
;