P_AssetBalanceOverview
Asset Balance Overview
P_AssetBalanceOverview is a Composite CDS View that provides data about "Asset Balance Overview" in SAP S/4HANA. It reads from 1 data source (I_AssetBalanceCube) and exposes 33 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, AssetDepreciationArea, Ledger. Part of development package ODATA_AA_ASSET_OVERVIEWPAGE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AssetBalanceCube | I_AssetBalanceCube | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_AssetAccountingKeyFigureSet | faa_key_figure_set | |
| P_FiscalYear | fis_gjahr | |
| P_FiscalPeriod | fis_poper | |
| P_KeyDate | fagl_keydate |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PASSETBALOVW | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | MasterFixedAsset | MasterFixedAsset | ||
| KEY | FixedAsset | FixedAsset | ||
| KEY | AssetDepreciationArea | AssetDepreciationArea | ||
| KEY | Ledger | Ledger | ||
| KEY | FiscalYear | FiscalYear | ||
| KEY | FiscalPeriod | FiscalPeriod | ||
| KEY | SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | ||
| KEY | AssetAcctTransClassfctn | AssetAcctTransClassfctn | ||
| KEY | AssetAccountingKeyFigure | AssetAccountingKeyFigure | ||
| KEY | AssetAccountingKeyFigureSet | AssetAccountingKeyFigureSet | ||
| KEY | AccountingDocument | AccountingDocument | ||
| KEY | TransactionSubitem | TransactionSubitem | ||
| KEY | DebitCreditCode | DebitCreditCode | ||
| KEY | CurrencyRole | CurrencyRole | ||
| SelectedCurrencyBranch | SelectedCurrencyBranch | |||
| ControllingArea | ControllingArea | |||
| FiscalYearVariant | FiscalYearVariant | |||
| ChartOfDepreciation | ChartOfDepreciation | |||
| AssetClass | AssetClass | |||
| AssetAccountDetermination | AssetAccountDetermination | |||
| AssetDeactivationDate | AssetDeactivationDate | |||
| AssetCapitalizationDate | AssetCapitalizationDate | |||
| Supplier | Supplier | |||
| AssetUnderConstIsInvmtMsr | _FixedAsset | AssetUnderConstIsInvmtMsr | ||
| IsLineItemSettled | _FixedAsset | IsLineItemSettled | ||
| AssetCostCenter | AssetCostCenter | |||
| AssetPlant | AssetPlant | |||
| AssetProfitCenter | AssetProfitCenter | |||
| AssetSegment | AssetSegment | |||
| DisplayCurrency | DisplayCurrency | |||
| NetBookValueAmtInDspCrcy | AmountInDisplayCurrency | |||
| _FixedAsset | _FixedAsset |
@AbapCatalog.sqlViewName: 'PASSETBALOVW'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@VDM.private: true
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_AssetBalanceOverview
with parameters
P_AssetAccountingKeyFigureSet : faa_key_figure_set,
P_FiscalYear : fis_gjahr,
P_FiscalPeriod : fis_poper,
P_KeyDate : fagl_keydate
as select from I_AssetBalanceCube( P_AssetAccountingKeyFigureSet: :P_AssetAccountingKeyFigureSet,
P_FiscalYear: :P_FiscalYear ,
P_FiscalPeriod: :P_FiscalPeriod,
P_KeyDate: :P_KeyDate )
{
key CompanyCode,
key MasterFixedAsset,
key FixedAsset,
key AssetDepreciationArea,
key Ledger,
key FiscalYear,
key FiscalPeriod,
key SubLedgerAcctLineItemType,
key AssetAcctTransClassfctn,
key AssetAccountingKeyFigure,
key AssetAccountingKeyFigureSet,
key AccountingDocument,
key TransactionSubitem,
key DebitCreditCode,
key CurrencyRole,
SelectedCurrencyBranch,
ControllingArea,
FiscalYearVariant,
ChartOfDepreciation,
/* Fields from Fixed Asset */
AssetClass,
AssetAccountDetermination,
AssetDeactivationDate,
AssetCapitalizationDate,
Supplier,
/* Fixed Asset Under Construction */
_FixedAsset.AssetUnderConstIsInvmtMsr,
_FixedAsset.IsLineItemSettled,
/* Fields from Fixed Asset (Time-Dependent Data) */
AssetCostCenter,
AssetPlant,
AssetProfitCenter,
AssetSegment,
/* Amounts */
DisplayCurrency,
AmountInDisplayCurrency as NetBookValueAmtInDspCrcy,
/* Associations */
_FixedAsset
}
where
AssetAccountingKeyFigure = '0010790401' // Net Book Value at Reporting Date, Planned - "KeyFigure" - see view FAAV_KFCSET_SPEC
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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