P_BG_StRpFixedAssetReport
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)
| Source | Alias | Join Type |
|---|---|---|
| P_BG_AstClassLegalFigureAssgmt | AstClLglFigure | inner |
| I_AssetBalanceCube | I_AssetBalanceCube | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_AssetAccountingKeyFigureSet | faa_key_figure_set | |
| P_FiscalYear | fis_gjahr | |
| P_ToFiscalPeriod | fis_period_to | |
| P_KeyDate | fagl_keydate |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA