P_BG_StRpFixedAssetReport

DDL: P_BG_STRPFIXEDASSETREPORT SQL: PBGSRBGFAR Type: view CONSUMPTION

Fixed Asset Report - Fixed Asset Fields

P_BG_StRpFixedAssetReport is a Consumption CDS View that provides data about "Fixed Asset Report - Fixed Asset Fields" in SAP S/4HANA. It reads from 2 data sources (P_BG_AstClassLegalFigureAssgmt, I_AssetBalanceCube) and exposes 35 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, Ledger.

Data Sources (2)

SourceAliasJoin Type
P_BG_AstClassLegalFigureAssgmt AstClLglFigure inner
I_AssetBalanceCube I_AssetBalanceCube from

Parameters (4)

NameTypeDefault
P_AssetAccountingKeyFigureSet faa_key_figure_set
P_FiscalYear fis_gjahr
P_ToFiscalPeriod fis_period_to
P_KeyDate fagl_keydate

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PBGSRBGFAR view
VDM.viewType #CONSUMPTION view
VDM.private true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality D view
ObjectModel.usageType.dataClass TRANSACTIONAL view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Fixed Asset Report - Fixed Asset Fields view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode AstBal CompanyCode Receiver Company Code
KEY AssetDepreciationArea AssetDepreciationArea Deprec. Area
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY Ledger Ledger Ledger
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY FiscalPeriod FiscalPeriod Tax period
KEY SubLedgerAcctLineItemType SubLedgerAcctLineItemType SLALineItemType
KEY AssetAcctTransClassfctn AssetAcctTransClassfctn Trans.Type Cat.
KEY AssetAccountingKeyFigure AssetAccountingKeyFigure
KEY AssetAccountingKeyFigureSet AssetAccountingKeyFigureSet
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
KEY TransactionSubitem TransactionSubitem Sub Transaction
KEY DebitCreditCode DebitCreditCode Single-Character Flag
KEY CurrencyRole CurrencyRole Curr./Val. Type
KEY AssetClass P_BG_AstClassLegalFigureAssgmt AssetClass Asset Class
KEY ReferenceDocument ReferenceDocument Reference Document
FixedAssetLegalFigureIndex FixedAssetLegalFigureIndex
FixedAssetLegalFigureCategory FixedAssetLegalFigureCategory
FixedAssetLegalFigureCode FixedAssetLegalFigureCode
FixedAssetDescription _FixedAsset FixedAssetDescription Description
AssetTransactionType AssetTransactionType Trans.Type
AssetValueDate AssetValueDate Reference date
AssetAccountDetermination AssetAccountDetermination Account Determ.
DisplayCurrency DisplayCurrency Display Currency
_CompanyCode _CompanyCode
_DepreciationArea _DepreciationArea
_AssetAccountDetermination _AssetAccountDetermination
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_Ledger _Ledger
_AssetTransactionType _AssetTransactionType
_FiscalYear _FiscalYear
_AssetRedesignSwitchStatus _AssetRedesignSwitchStatus

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_BG_StRpFixedAssetReport.
-- 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: PBGSRBGFAR
-- Parameters: P_AssetAccountingKeyFigureSet : faa_key_figure_set, P_FiscalYear : fis_gjahr, P_ToFiscalPeriod : fis_period_to, P_KeyDate : fagl_keydate

CREATE VIEW P_BG_StRpFixedAssetReport AS
SELECT
  AstBal.CompanyCode AS CompanyCode,
  AssetDepreciationArea,
  MasterFixedAsset,
  FixedAsset,
  Ledger,
  FiscalYear,
  FiscalPeriod,
  SubLedgerAcctLineItemType,
  AssetAcctTransClassfctn,
  AssetAccountingKeyFigure,
  AssetAccountingKeyFigureSet,
  AccountingDocument,
  LedgerGLLineItem,
  TransactionSubitem,
  DebitCreditCode,
  CurrencyRole,
  AstClLglFigure.AssetClass AS AssetClass,
  ReferenceDocument,
  FixedAssetLegalFigureIndex,
  FixedAssetLegalFigureCategory,
  FixedAssetLegalFigureCode,
  _FixedAsset.FixedAssetDescription AS FixedAssetDescription,
  AssetTransactionType,
  AssetValueDate,
  AssetAccountDetermination,
  DisplayCurrency
FROM I_AssetBalanceCube
INNER JOIN P_BG_AstClassLegalFigureAssgmt AS AstClLglFigure ON /* join condition not captured in parsed metadata */
;