C_AssetKeyFigBalByCrcyRole
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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_AstKeyFigBalWthAllAreasGroup | P_AstKeyFigBalWthAllAreasGroup | from |
Parameters (7)
| Name | Type | Default |
|---|---|---|
| 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 (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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.
-- SQL view name: CAKEYFIGBALCYRL
-- 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA