FAA_SDM_BALANCE01

DDL: FAA_SDM_BALANCE01 SQL: FAAVBALANCE01 Type: view

Asset balance cube 01

FAA_SDM_BALANCE01 is a CDS View that provides data about "Asset balance cube 01" in SAP S/4HANA. It reads from 10 data sources and exposes 55 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, Ledger.

Data Sources (10)

SourceAliasJoin Type
I_AssetKeyFigureSetSpec AssetKeyFigureSetSpec inner
I_AssetKeyFigureSetSpec AssetKeyFigureSetSpec inner
I_AssetKeyFigureSpecification AssetKeyFigureSpec inner
I_AssetKeyFigureSpecification AssetKeyFigureSpec inner
faat_md_root FixedAsset inner
faat_md_root FixedAsset inner
finsc_ld_cmp LedgerCompanyCodeCrcyRole from
finsc_ld_cmp LedgerCompanyCodeCrcyRole union_all
FAA_SDM_BALANCE02 Values inner
FAA_SDM_BALANCE03 Values inner

Parameters (3)

NameTypeDefault
P_AssetAccountingKeyFigureSet faa_key_figure_set
P_FiscalYear fis_gjahr
P_FiscalPeriod fis_poper

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName FAAVBALANCE01 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Asset balance cube 01 view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view

Fields (55)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode FAA_SDM_BALANCE03 CompanyCode Receiver Company Code
KEY AssetDepreciationArea FAA_SDM_BALANCE03 AssetDepreciationArea Deprec. Area
KEY MasterFixedAsset FAA_SDM_BALANCE03 MasterFixedAsset Fixed Asset
KEY FixedAsset FAA_SDM_BALANCE03 FixedAsset Sub-number
KEY Ledger FAA_SDM_BALANCE03 Ledger Ledger
KEY FiscalYear FAA_SDM_BALANCE03 FiscalYear G/L Fiscal Year
KEY FiscalPeriod FAA_SDM_BALANCE03 FiscalPeriod Tax period
KEY SubLedgerAcctLineItemType FAA_SDM_BALANCE03 SubLedgerAcctLineItemType SLALineItemType
KEY AssetAcctTransClassfctn FAA_SDM_BALANCE03 AssetAcctTransClassfctn Trans.Type Cat.
KEY AssetAccountingKeyFigure I_AssetKeyFigureSetSpec AssetAccountingKeyFigure Key Figure
KEY AssetAccountingKeyFigureSet I_AssetKeyFigureSetSpec AssetAccountingKeyFigureSet Key Figure Group
KEY AccountingDocument FAA_SDM_BALANCE03 AccountingDocument Journal Entry
KEY LedgerGLLineItem FAA_SDM_BALANCE03 LedgerGLLineItem Journal Entry Item
KEY TransactionSubitem FAA_SDM_BALANCE03 TransactionSubitem Sub Transaction
KEY DebitCreditCode FAA_SDM_BALANCE03 DebitCreditCode Single-Character Flag
ReferenceDocument FAA_SDM_BALANCE03 ReferenceDocument Reference Document
LogicalSystem FAA_SDM_BALANCE03 LogicalSystem Logical System
ReferenceDocumentContext FAA_SDM_BALANCE03 ReferenceDocumentContext Reference Document Context
ReferenceDocumentType FAA_SDM_BALANCE03 ReferenceDocumentType Reference Document Type
CompanyCodeCurrency FAA_SDM_BALANCE03 CompanyCodeCurrency Local Currency
GlobalCurrency FAA_SDM_BALANCE03 GlobalCurrency GM Billing Element: Global Currency
FreeDefinedCurrency1 FAA_SDM_BALANCE03 FreeDefinedCurrency1 Freely Defined Currency 1
AmountInCompanyCodeCurrency FAA_SDM_BALANCE03 AmountInCompanyCodeCurrency Local Crcy Amt
AmountInGlobalCurrency FAA_SDM_BALANCE03 AmountInGlobalCurrency Amount in Global Currency
AmountInFreeDefinedCurrency1 FAA_SDM_BALANCE03 AmountInFreeDefinedCurrency1 Amount in Freely Defined Currency 1
CompanyCodeCurrencyRole
GlobalCurrencyRole
CompanyCode Receiver Company Code
KEY AssetDepreciationArea FAA_SDM_BALANCE03 AssetDepreciationArea Deprec. Area
KEY MasterFixedAsset FAA_SDM_BALANCE03 MasterFixedAsset Fixed Asset
KEY FixedAsset FAA_SDM_BALANCE03 FixedAsset Sub-number
KEY Ledger FAA_SDM_BALANCE03 Ledger Ledger
KEY FiscalYear FAA_SDM_BALANCE03 FiscalYear G/L Fiscal Year
KEY FiscalPeriod FAA_SDM_BALANCE03 FiscalPeriod Tax period
KEY SubLedgerAcctLineItemType FAA_SDM_BALANCE03 SubLedgerAcctLineItemType SLALineItemType
KEY AssetAcctTransClassfctn FAA_SDM_BALANCE03 AssetAcctTransClassfctn Trans.Type Cat.
KEY AssetAccountingKeyFigure I_AssetKeyFigureSetSpec AssetAccountingKeyFigure Key Figure
KEY AssetAccountingKeyFigureSet I_AssetKeyFigureSetSpec AssetAccountingKeyFigureSet Key Figure Group
KEY AccountingDocument Journal Entry
KEY LedgerGLLineItem Journal Entry Item
KEY TransactionSubitem Sub Transaction
KEY DebitCreditCode Single-Character Flag
ReferenceDocument Reference Document
LogicalSystem Logical System
ReferenceDocumentContext Reference Document Context
ReferenceDocumentType Reference Document Type
CompanyCodeCurrency FAA_SDM_BALANCE03 CompanyCodeCurrency Local Currency
GlobalCurrency FAA_SDM_BALANCE03 GlobalCurrency GM Billing Element: Global Currency
FreeDefinedCurrency1 FAA_SDM_BALANCE03 FreeDefinedCurrency1 Freely Defined Currency 1
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
AmountInGlobalCurrency AmountInGlobalCurrency Amount in Global Currency
AmountInFreeDefinedCurrency1 AmountInFreeDefinedCurrency1 Amount in Freely Defined Currency 1
CompanyCodeCurrencyRole
GlobalCurrencyRole
FreeDefinedCurrency1Role

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 FAA_SDM_BALANCE01.
-- 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: FAAVBALANCE01
-- Parameters: P_AssetAccountingKeyFigureSet : faa_key_figure_set, P_FiscalYear : fis_gjahr, P_FiscalPeriod : fis_poper

CREATE VIEW FAA_SDM_BALANCE01 AS
SELECT
  Values.CompanyCode AS CompanyCode,
  Values.AssetDepreciationArea AS AssetDepreciationArea,
  Values.MasterFixedAsset AS MasterFixedAsset,
  Values.FixedAsset AS FixedAsset,
  Values.Ledger AS Ledger,
  Values.FiscalYear AS FiscalYear,
  Values.FiscalPeriod AS FiscalPeriod,
  Values.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
  Values.AssetAcctTransClassfctn AS AssetAcctTransClassfctn,
  AssetKeyFigureSetSpec.AssetAccountingKeyFigure AS AssetAccountingKeyFigure,
  AssetKeyFigureSetSpec.AssetAccountingKeyFigureSet AS AssetAccountingKeyFigureSet,
  Values.AccountingDocument AS AccountingDocument,
  Values.LedgerGLLineItem AS LedgerGLLineItem,
  Values.TransactionSubitem AS TransactionSubitem,
  Values.DebitCreditCode AS DebitCreditCode,
  Values.ReferenceDocument AS ReferenceDocument,
  Values.LogicalSystem AS LogicalSystem,
  Values.ReferenceDocumentContext AS ReferenceDocumentContext,
  Values.ReferenceDocumentType AS ReferenceDocumentType,
  Values.CompanyCodeCurrency AS CompanyCodeCurrency,
  Values.GlobalCurrency AS GlobalCurrency,
  Values.FreeDefinedCurrency1 AS FreeDefinedCurrency1,
  Values.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  Values.AmountInGlobalCurrency AS AmountInGlobalCurrency,
  Values.AmountInFreeDefinedCurrency1 AS AmountInFreeDefinedCurrency1,
  cast( LedgerCompanyCodeCrcyRole.curtph as fis_cc_currole preserving type ) AS CompanyCodeCurrencyRole,
  cast( LedgerCompanyCodeCrcyRole.curtpk as fis_gc_currole preserving type ) AS GlobalCurrencyRole,
  cast( LedgerCompanyCodeCrcyRole.curtpo as fis_gc_currole preserving type ) AS FreeDefinedCurrency1Role
FROM finsc_ld_cmp AS LedgerCompanyCodeCrcyRole
INNER JOIN FAA_SDM_BALANCE02 AS Values ON /* join condition not captured in parsed metadata */
INNER JOIN I_AssetKeyFigureSetSpec AS AssetKeyFigureSetSpec ON /* join condition not captured in parsed metadata */
INNER JOIN I_AssetKeyFigureSpecification AS AssetKeyFigureSpec ON /* join condition not captured in parsed metadata */
INNER JOIN faat_md_root AS FixedAsset ON /* join condition not captured in parsed metadata */
INNER JOIN FAA_SDM_BALANCE03 AS Values ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): finsc_ld_cmp
;