I_AssetBalanceOverview
Asset Balance Overview
I_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 38 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, AssetDepreciationArea, Ledger. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AssetBalanceCube | I_AssetBalanceCube | from |
Parameters (5)
| Name | Type | Default |
|---|---|---|
| P_TodayDate | fagl_keydate | |
| P_AssetAccountingKeyFigureSet | faa_key_figure_set | |
| P_FiscalYear | fis_ryear | |
| P_FiscalPeriod | fis_poper | |
| P_KeyDate | fagl_keydate |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_AssetRedesignSwitchStatus | _AssetRedesignSwitchStatus | _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = '' or _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = 'X' |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IASSETBALOVW | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Asset Balance Overview | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | MasterFixedAsset | MasterFixedAsset | ||
| KEY | FixedAsset | FixedAsset | ||
| KEY | AssetDepreciationArea | AssetDepreciationArea | ||
| KEY | Ledger | Ledger | ||
| KEY | LedgerFiscalYear | LedgerFiscalYear | ||
| 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 | |||
| FiscalYearVariant | FiscalYearVariant | |||
| ChartOfDepreciation | ChartOfDepreciation | |||
| ControllingArea | ControllingArea | |||
| AssetClass | AssetClass | |||
| AssetAccountDetermination | AssetAccountDetermination | |||
| AssetDeactivationDate | AssetDeactivationDate | |||
| AssetCapitalizationDate | AssetCapitalizationDate | |||
| AssetCountryOfOrigin | ||||
| AssetSupplier | Supplier | |||
| SupplierAccountGroup | ||||
| SupplierBasicAuthorizationGrp | ||||
| AssetCostCenter | AssetCostCenter | |||
| AssetPlant | AssetPlant | |||
| AssetProfitCenter | AssetProfitCenter | |||
| AssetSegment | AssetSegment | |||
| AssetUnderConstIsInvmtMsr | _FixedAsset | AssetUnderConstIsInvmtMsr | ||
| IsLineItemSettled | _FixedAsset | IsLineItemSettled | ||
| FixedAssetDescription | _FixedAsset | FixedAssetDescription | ||
| DisplayCurrency | DisplayCurrency | |||
| NetBookValueAmtInDspCrcy | AmountInDisplayCurrency | |||
| _AssetRedesignSwitchStatus | _AssetRedesignSwitchStatus |
@AbapCatalog.sqlViewName: 'IASSETBALOVW'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Asset Balance Overview'
@ObjectModel.usageType: {
sizeCategory: #XL,
serviceQuality: #D,
dataClass: #MIXED
}
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_AssetBalanceOverview
with parameters
P_TodayDate : fagl_keydate,
P_AssetAccountingKeyFigureSet : faa_key_figure_set,
P_FiscalYear : fis_ryear,
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 )
association [1] to I_AssetRedesignSwitchStatus as _AssetRedesignSwitchStatus on _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = ''
or _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = 'X'
{
key CompanyCode,
key MasterFixedAsset,
key FixedAsset,
key AssetDepreciationArea,
key Ledger,
key LedgerFiscalYear,
key FiscalYear,
key FiscalPeriod,
key SubLedgerAcctLineItemType,
key AssetAcctTransClassfctn,
key AssetAccountingKeyFigure,
key AssetAccountingKeyFigureSet,
key AccountingDocument,
key TransactionSubitem,
key DebitCreditCode,
key CurrencyRole,
@Environment.sql.passValue: true
SelectedCurrencyBranch,
FiscalYearVariant,
ChartOfDepreciation,
ControllingArea,
/* Fields from Fixed Asset */
AssetClass,
AssetAccountDetermination,
AssetDeactivationDate,
AssetCapitalizationDate,
cast(_FixedAsset.AssetCountryOfOrigin as faa_asset_cntry_of_origin) as AssetCountryOfOrigin,
Supplier as AssetSupplier,
_FixedAsset._Supplier.SupplierAccountGroup,
_FixedAsset._Supplier.AuthorizationGroup as SupplierBasicAuthorizationGrp,
/* Fields from Fixed Asset (Time-Dependent Data) */
AssetCostCenter,
AssetPlant,
AssetProfitCenter,
AssetSegment,
/* Fixed Asset Under Construction */
_FixedAsset.AssetUnderConstIsInvmtMsr,
_FixedAsset.IsLineItemSettled,
/* Text Fields */
_FixedAsset.FixedAssetDescription,
/* Amounts */
@Semantics.currencyCode: true
DisplayCurrency,
@Semantics.amount.currencyCode: 'DisplayCurrency'
AmountInDisplayCurrency as NetBookValueAmtInDspCrcy,
/* Associations */
@Consumption.hidden: true
_AssetRedesignSwitchStatus //for DCL
}
where
AssetAccountingKeyFigure = '0010790401' // Net Book Value at Reporting Date, Planned - "KeyFigure" - see view FAAV_KFCSET_SPEC
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ASSETBALANCECUBE",
"I_FIXEDASSET",
"I_SUPPLIER"
],
"ASSOCIATED":
[
"I_ASSETREDESIGNSWITCHSTATUS"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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