C_AssetKeyFigBalByCrcyRole

DDL: C_ASSETKEYFIGBALBYCRCYROLE Type: view_entity CONSUMPTION Package: FINS_FAA_MD_VALUES

Manage Asset - Key Figures Balance by Currency Role

C_AssetKeyFigBalByCrcyRole is a Consumption CDS View that provides data about "Manage Asset - Key Figures Balance by Currency Role" in SAP S/4HANA. It reads from 1 data source (P_AstKeyFigBalWthAllAreasGroup) and exposes 18 fields with key fields AssetDepreciationArea, CompanyCode, Ledger, MasterFixedAsset, FixedAsset. It is exposed through 1 OData service (UI_FIXEDASSET_MANAGE). Part of development package FINS_FAA_MD_VALUES.

Data Sources (1)

SourceAliasJoin Type
P_AstKeyFigBalWthAllAreasGroup P_AstKeyFigBalWthAllAreasGroup from

Parameters (7)

NameTypeDefault
P_MasterFixedAsset anln1
P_FixedAsset anln2
P_CompanyCode bukrs
P_AssetDepreciationArea fis_afabe
P_Ledger fins_ledger
P_CurrencyRole fis_curtp
P_CreationDateTime timestampl

Annotations (9)

NameValueLevelField
AccessControl.auditFilter #ENABLED view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Manage Asset - Key Figures Balance by Currency Role view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.allowExtensions true view
OData.applySupportedForAggregation #FULL view

OData Services (1)

ServiceBindingVersionContractRelease
UI_FIXEDASSET_MANAGE UI_FIXEDASSET_MANAGE V4 C1 NOT_RELEASED

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY AssetDepreciationArea AssetDepreciationArea Deprec. Area
KEY CompanyCode CompanyCode Receiver Company Code
KEY Ledger Ledger Ledger
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY CurrencyRole CurrencyRole Curr./Val. Type
KEY AssetAccountingValueType
Currency Display Currency
StartingBalAmtInDspCrcy
PlannedAmountInDisplayCurrency
AmountInDisplayCurrency
EndingBalAmtInDspCrcy
ChangedBalAmtInDspCrcy
TotActualAmtInDisplayCurrency
Criticality Criticality Status Rating
_FixedAsset _FixedAsset
_AssetAccountingValueType _AssetAccountingValueType

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 C_AssetKeyFigBalByCrcyRole.
-- 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_MasterFixedAsset : anln1, P_FixedAsset : anln2, P_CompanyCode : bukrs, P_AssetDepreciationArea : fis_afabe, P_Ledger : fins_ledger, P_CurrencyRole : fis_curtp, P_CreationDateTime : timestampl

CREATE VIEW C_AssetKeyFigBalByCrcyRole AS
SELECT
  AssetDepreciationArea,
  CompanyCode,
  Ledger,
  MasterFixedAsset,
  FixedAsset,
  FiscalYear,
  CurrencyRole,
  cast(AssetAccountingValueType as faa_md_avt_ast_acnt_value_type preserving type ) AS AssetAccountingValueType,
  cast (DisplayCurrency as vdm_v_display_currency preserving type ) AS Currency,
  cast(StartingBalAmtInDspCrcy as faa_md_avt_start_fiscal_year preserving type ) AS StartingBalAmtInDspCrcy,
  cast(PlannedAmountInDisplayCurrency as faa_md_avt_due_value preserving type ) AS PlannedAmountInDisplayCurrency,
  cast(AmountInDisplayCurrency as faa_md_avt_posted_value preserving type ) AS AmountInDisplayCurrency,
  cast(StartingBalAmtInDspCrcy + PlannedAmountInDisplayCurrency + AmountInDisplayCurrency as faa_md_avt_year_end_value) AS EndingBalAmtInDspCrcy,
  cast(PlannedAmountInDisplayCurrency + AmountInDisplayCurrency as faa_md_avt_change_value) AS ChangedBalAmtInDspCrcy,
  cast(0 as fis_post_amount_dsp_crcy) AS TotActualAmtInDisplayCurrency,
  Criticality
FROM P_AstKeyFigBalWthAllAreasGroup
;