I_AssetBalancesYOYComprnCube

DDL: I_ASSETBALANCESYOYCOMPRNCUBE Type: view_entity COMPOSITE Package: UI_FIN_AA_RBOOKLET_A1

Asset Balances Year Comp - Cube

I_AssetBalancesYOYComprnCube is a Composite CDS View (Cube) that provides data about "Asset Balances Year Comp - Cube" in SAP S/4HANA. It reads from 1 data source (P_AssetBalancesYrOvrYrComprn) and exposes 112 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, Ledger. It has 1 association to related views. Part of development package UI_FIN_AA_RBOOKLET_A1.

Data Sources (1)

SourceAliasJoin Type
P_AssetBalancesYrOvrYrComprn P_AssetBalancesYrOvrYrComprn from

Parameters (8)

NameTypeDefault
P_AssetAccountingKeyFigureSet faa_key_figure_set
P_FiscalYear fis_ryear
P_PreviousFiscalYear fis_ryear
P_FiscalPeriod fis_period_to
P_FiscalYearEndDate fagl_keydate
P_FiscalPeriodEndDate fagl_keydate
P_Ledger fis_rldnr
P_AssetDepreciationArea fis_afabe

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_AstBalancesYOYComprnDSt _DocumentStore _DocumentStore.tra_companycode = $projection.CompanyCode and _DocumentStore.tra_00034 = $projection.AssetDepreciationArea and _DocumentStore.tra_p_fiscalyear = $projection.FiscalYear and _DocumentStore.tra_fiscalperiod = $projection.FiscalPeriod and _DocumentStore.tra_00015 = $projection.AssetAccountingKeyFigureSet and _DocumentStore.tra_00021 = $projection.AssetAccountingKeyFigure and _DocumentStore.tra_00037 = $projection.AccountingDocument and _DocumentStore.tra_00042 = $projection.MasterFixedAsset and _DocumentStore.tra_fixedasset = $projection.FixedAsset and _DocumentStore.tra_00043 = $projection.SubLedgerAcctLineItemType and _DocumentStore.tra_00039 = $projection.AssetAcctTransClassfctn and _DocumentStore.tra_00027 = $projection.LedgerGLLineItem and _DocumentStore.tra_00009 = $projection.TransactionSubitem and _DocumentStore.tra_ledger = $projection.Ledger and _DocumentStore.tra_00032 = $projection.DebitCreditCode and _DocumentStore.tra_currencyrole = $projection.CurrencyRole

Annotations (17)

NameValueLevelField
EndUserText.label Asset Balances Year Comp - Cube view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #REQUIRED view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
AccessControl.authorizationCheck #MANDATORY view
Metadata.allowExtensions true view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix AHS view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.quota.maximumFields 250 view
AbapCatalog.extensibility.quota.maximumBytes 2500 view

Fields (112)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode AssetBal CompanyCode Receiver Company Code
KEY AssetDepreciationArea AssetBal AssetDepreciationArea Deprec. Area
KEY MasterFixedAsset AssetBal MasterFixedAsset Fixed Asset
KEY FixedAsset AssetBal FixedAsset Sub-number
KEY Ledger AssetBal Ledger Ledger
KEY FiscalYear AssetBal FiscalYear G/L Fiscal Year
KEY FiscalPeriod AssetBal FiscalPeriod Tax period
KEY SubLedgerAcctLineItemType AssetBal SubLedgerAcctLineItemType SLALineItemType
KEY AssetAcctTransClassfctn AssetBal AssetAcctTransClassfctn Trans.Type Cat.
KEY AssetAccountingKeyFigure AssetBal AssetAccountingKeyFigure
KEY AssetAccountingKeyFigureSet AssetBal AssetAccountingKeyFigureSet
KEY AccountingDocument AssetBal AccountingDocument Journal Entry
KEY LedgerGLLineItem AssetBal LedgerGLLineItem Journal Entry Item
KEY TransactionSubitem AssetBal TransactionSubitem Sub Transaction
KEY DebitCreditCode AssetBal DebitCreditCode Single-Character Flag
KEY CurrencyRole AssetBal CurrencyRole Curr./Val. Type
AssetAccountDetermination AssetBal AssetAccountDetermination Account Determ.
AssetClass AssetBal AssetClass Asset Class
AssetAccountingSortedKeyFigure AssetBal AssetAccountingSortedKeyFigure
Quantity AssetBal Quantity Value
AcqnProdnCostGLAccount AssetBal AcqnProdnCostGLAccount
ChartOfAccounts AssetBal ChartOfAccounts Node Class
AssetPlant AssetBal AssetPlant
CostCenter AssetBal CostCenter Cost Center
ProfitCenter AssetBal ProfitCenter Profit Center
Segment AssetBal Segment Segment number
FundsCenter AssetBal FundsCenter Funds Center
FunctionalArea AssetBal FunctionalArea Sendr Fctl Area
AssetTransactionType AssetBal AssetTransactionType Trans.Type
BusinessTransactionCategory AssetBal BusinessTransactionCategory Business Transaction Category
BusinessTransactionType AssetBal BusinessTransactionType Bus.transaction
FinancialClosingStep AssetBal FinancialClosingStep Closing Step
AccountingDocumentCreationDate AssetBal AccountingDocumentCreationDate Journal Entry Date
PostingDate AssetBal PostingDate Posting Date for GR
CreationTime AssetBal CreationTime Time of Change
FiscalYearVariant AssetBal FiscalYearVariant FY Variant
GLAccount AssetBal GLAccount General Ledger
AlternativeGLAccount AssetBal AlternativeGLAccount Group Account
AssetCostCenter AssetBal AssetCostCenter
AssetWBSElementExternalID AssetBal AssetWBSElementExternalID
AssetProfitCenter AssetBal AssetProfitCenter
AssetSegment AssetBal AssetSegment
AssetFunctionalArea AssetBal AssetFunctionalArea
GrantID AssetBal GrantID Sender Grant
AssetGrant AssetBal AssetGrant Grant
Fund AssetBal Fund Sender Fund
AssetFund AssetBal AssetFund
AssetLocation AssetBal AssetLocation Location
AssetFundsCenter AssetBal AssetFundsCenter
FirstAcquisitionFiscalYear AssetBal FirstAcquisitionFiscalYear Acquisition Yr
FirstAcquisitionFiscalPeriod AssetBal FirstAcquisitionFiscalPeriod
AssetCapitalizationDate AssetBal AssetCapitalizationDate Asset Capitalization
AssetDeactivationDate AssetBal AssetDeactivationDate
Supplier AssetBal Supplier Supplier
AssetSupplierName AssetBal AssetSupplierName
LastInventoryDate AssetBal LastInventoryDate
Inventory AssetBal Inventory Ci Inventory
AssetSerialNumber AssetBal AssetSerialNumber
DepreciationStartDate AssetBal DepreciationStartDate
SpecialDeprStartDate AssetBal SpecialDeprStartDate
DepreciationKey AssetBal DepreciationKey
PlannedUsefulLifeInYears AssetBal PlannedUsefulLifeInYears Planned Use Life Yr.
PlannedUsefulLifeInPeriods AssetBal PlannedUsefulLifeInPeriods
FixedAssetUsageObject AssetBal FixedAssetUsageObject
AssetRevaluationIndex AssetBal AssetRevaluationIndex
Country AssetBal Country Venue: Ctry/Reg
Room AssetBal Room Room Number
VehicleLicensePlateNumber AssetBal VehicleLicensePlateNumber
TaxJurisdiction AssetBal TaxJurisdiction Tax Jurisdiction
WBSElementExternalID AssetBal WBSElementExternalID WBS Element External ID
SelectedCurrencyBranch AssetBal SelectedCurrencyBranch
AmountInDisplayCurrency AssetBal AmountInDisplayCurrency
CurrentFiscalYearBalanceAmount AssetBal CurrentFiscalYearBalanceAmount
PriorFiscalYearBalanceAmount AssetBal PriorFiscalYearBalanceAmount
ComparisonDifferenceAmt
DisplayCurrency AssetBal DisplayCurrency Display Currency
BaseUnit AssetBal BaseUnit Unit of Measure
_DocumentStore _DocumentStore
_AssetKeyFigure _AssetKeyFigure
_AssetKeyFigureSet _AssetKeyFigureSet
_AssetSortedKeyFigureSetSpec _AssetSortedKeyFigureSetSpec
_CompanyCode _CompanyCode
_DepreciationArea _DepreciationArea
_ChartOfAccounts _ChartOfAccounts
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_AssetAccountDetermination _AssetAccountDetermination
_AssetClass _AssetClass
_Ledger _Ledger
_FiscalYear _FiscalYear
_JournalEntry _JournalEntry
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_AssetAcctTransClassfctn _AssetAcctTransClassfctn
_Segment _Segment
_FunctionalArea _FunctionalArea
_AssetTransactionType _AssetTransactionType
_BusinessTransactionCategory _BusinessTransactionCategory
_BusinessTransactionType _BusinessTransactionType
_AssetSegment _AssetSegment
_AssetPlant _AssetPlant
_AssetFunctionalArea _AssetFunctionalArea
_AssetLocation _AssetLocation
_Currency _Currency
_CurrencyRole _CurrencyRole
_UnitOfMeasure _UnitOfMeasure
_FixedAssetUsageObject _FixedAssetUsageObject
_AssetRevaluationIndex _AssetRevaluationIndex
_AcqnProdnCostGLAccount _AcqnProdnCostGLAccount
_FiscalYearVariant _FiscalYearVariant
_Country _Country
_Supplier _Supplier
_SelectedCurrencyBranch _SelectedCurrencyBranch

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 I_AssetBalancesYOYComprnCube.
-- 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.
-- Parameters: P_AssetAccountingKeyFigureSet : faa_key_figure_set, P_FiscalYear : fis_ryear, P_PreviousFiscalYear : fis_ryear, P_FiscalPeriod : fis_period_to, P_FiscalYearEndDate : fagl_keydate, P_FiscalPeriodEndDate : fagl_keydate, P_Ledger : fis_rldnr, P_AssetDepreciationArea : fis_afabe

CREATE VIEW I_AssetBalancesYOYComprnCube AS
SELECT
  AssetBal.CompanyCode AS CompanyCode,
  AssetBal.AssetDepreciationArea AS AssetDepreciationArea,
  AssetBal.MasterFixedAsset AS MasterFixedAsset,
  AssetBal.FixedAsset AS FixedAsset,
  AssetBal.Ledger AS Ledger,
  AssetBal.FiscalYear AS FiscalYear,
  AssetBal.FiscalPeriod AS FiscalPeriod,
  AssetBal.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
  AssetBal.AssetAcctTransClassfctn AS AssetAcctTransClassfctn,
  AssetBal.AssetAccountingKeyFigure AS AssetAccountingKeyFigure,
  AssetBal.AssetAccountingKeyFigureSet AS AssetAccountingKeyFigureSet,
  AssetBal.AccountingDocument AS AccountingDocument,
  AssetBal.LedgerGLLineItem AS LedgerGLLineItem,
  AssetBal.TransactionSubitem AS TransactionSubitem,
  AssetBal.DebitCreditCode AS DebitCreditCode,
  AssetBal.CurrencyRole AS CurrencyRole,
  AssetBal.AssetAccountDetermination AS AssetAccountDetermination,
  AssetBal.AssetClass AS AssetClass,
  AssetBal.AssetAccountingSortedKeyFigure AS AssetAccountingSortedKeyFigure,
  AssetBal.Quantity AS Quantity,
  AssetBal.AcqnProdnCostGLAccount AS AcqnProdnCostGLAccount,
  AssetBal.ChartOfAccounts AS ChartOfAccounts,
  AssetBal.AssetPlant AS AssetPlant,
  AssetBal.CostCenter AS CostCenter,
  AssetBal.ProfitCenter AS ProfitCenter,
  AssetBal.Segment AS Segment,
  AssetBal.FundsCenter AS FundsCenter,
  AssetBal.FunctionalArea AS FunctionalArea,
  AssetBal.AssetTransactionType AS AssetTransactionType,
  AssetBal.BusinessTransactionCategory AS BusinessTransactionCategory,
  AssetBal.BusinessTransactionType AS BusinessTransactionType,
  AssetBal.FinancialClosingStep AS FinancialClosingStep,
  AssetBal.AccountingDocumentCreationDate AS AccountingDocumentCreationDate,
  AssetBal.PostingDate AS PostingDate,
  AssetBal.CreationTime AS CreationTime,
  AssetBal.FiscalYearVariant AS FiscalYearVariant,
  AssetBal.GLAccount AS GLAccount,
  AssetBal.AlternativeGLAccount AS AlternativeGLAccount,
  AssetBal.AssetCostCenter AS AssetCostCenter,
  AssetBal.AssetWBSElementExternalID AS AssetWBSElementExternalID,
  AssetBal.AssetProfitCenter AS AssetProfitCenter,
  AssetBal.AssetSegment AS AssetSegment,
  AssetBal.AssetFunctionalArea AS AssetFunctionalArea,
  AssetBal.GrantID AS GrantID,
  AssetBal.AssetGrant AS AssetGrant,
  AssetBal.Fund AS Fund,
  AssetBal.AssetFund AS AssetFund,
  AssetBal.AssetLocation AS AssetLocation,
  AssetBal.AssetFundsCenter AS AssetFundsCenter,
  AssetBal.FirstAcquisitionFiscalYear AS FirstAcquisitionFiscalYear,
  AssetBal.FirstAcquisitionFiscalPeriod AS FirstAcquisitionFiscalPeriod,
  AssetBal.AssetCapitalizationDate AS AssetCapitalizationDate,
  AssetBal.AssetDeactivationDate AS AssetDeactivationDate,
  AssetBal.Supplier AS Supplier,
  AssetBal.AssetSupplierName AS AssetSupplierName,
  AssetBal.LastInventoryDate AS LastInventoryDate,
  AssetBal.Inventory AS Inventory,
  AssetBal.AssetSerialNumber AS AssetSerialNumber,
  AssetBal.DepreciationStartDate AS DepreciationStartDate,
  AssetBal.SpecialDeprStartDate AS SpecialDeprStartDate,
  AssetBal.DepreciationKey AS DepreciationKey,
  AssetBal.PlannedUsefulLifeInYears AS PlannedUsefulLifeInYears,
  AssetBal.PlannedUsefulLifeInPeriods AS PlannedUsefulLifeInPeriods,
  AssetBal.FixedAssetUsageObject AS FixedAssetUsageObject,
  AssetBal.AssetRevaluationIndex AS AssetRevaluationIndex,
  AssetBal.Country AS Country,
  AssetBal.Room AS Room,
  AssetBal.VehicleLicensePlateNumber AS VehicleLicensePlateNumber,
  AssetBal.TaxJurisdiction AS TaxJurisdiction,
  AssetBal.WBSElementExternalID AS WBSElementExternalID,
  AssetBal.SelectedCurrencyBranch AS SelectedCurrencyBranch,
  AssetBal.AmountInDisplayCurrency AS AmountInDisplayCurrency,
  AssetBal.CurrentFiscalYearBalanceAmount AS CurrentFiscalYearBalanceAmount,
  AssetBal.PriorFiscalYearBalanceAmount AS PriorFiscalYearBalanceAmount,
  cast ( AssetBal.CurrentFiscalYearBalanceAmount - AssetBal.PriorFiscalYearBalanceAmount as fis_balance_amount ) AS ComparisonDifferenceAmt,
  AssetBal.DisplayCurrency AS DisplayCurrency,
  AssetBal.BaseUnit AS BaseUnit
FROM P_AssetBalancesYrOvrYrComprn
LEFT OUTER JOIN I_AstBalancesYOYComprnDSt AS _DocumentStore ON _DocumentStore.tra_companycode = CompanyCode AND _DocumentStore.tra_00034 = AssetDepreciationArea AND _DocumentStore.tra_p_fiscalyear = FiscalYear AND _DocumentStore.tra_fiscalperiod = FiscalPeriod AND _DocumentStore.tra_00015 = AssetAccountingKeyFigureSet AND _DocumentStore.tra_00021 = AssetAccountingKeyFigure AND _DocumentStore.tra_00037 = AccountingDocument AND _DocumentStore.tra_00042 = MasterFixedAsset AND _DocumentStore.tra_fixedasset = FixedAsset AND _DocumentStore.tra_00043 = SubLedgerAcctLineItemType AND _DocumentStore.tra_00039 = AssetAcctTransClassfctn AND _DocumentStore.tra_00027 = LedgerGLLineItem AND _DocumentStore.tra_00009 = TransactionSubitem AND _DocumentStore.tra_ledger = Ledger AND _DocumentStore.tra_00032 = DebitCreditCode AND _DocumentStore.tra_currencyrole = CurrencyRole  -- association [0..1]
;