C_AssetDeprBalByCrcyRole
Manage Asset - Depreciation Balance by Currency Role
C_AssetDeprBalByCrcyRole is a Consumption CDS View that provides data about "Manage Asset - Depreciation Balance by Currency Role" in SAP S/4HANA. It reads from 1 data source (P_AstDeprBalWthAllAreasCube1) and exposes 22 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)
| Source | Alias | Join Type |
|---|---|---|
| P_AstDeprBalWthAllAreasCube1 | P_AstDeprBalWthAllAreasCube1 | 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 (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.auditFilter | #ENABLED | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Manage Asset - Depreciation Balance by Currency Role | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view | |
| OData.applySupportedForAggregation | #FULL | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_FIXEDASSET_MANAGE | UI_FIXEDASSET_MANAGE | V4 | C1 | NOT_RELEASED |
Fields (22)
| 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 | FiscalPeriod | FiscalPeriod | Tax period | |
| KEY | AssetAccountingKeyFigure | AssetAccountingKeyFigure | ||
| KEY | DepreciationStatus | DepreciationStatus | ||
| KEY | AssetValuationView | AssetValuationView | ||
| KEY | DepreciationFiscalPeriod | DepreciationFiscalPeriod | Deprec. Period | |
| FiscalYearPeriod | ||||
| Currency | DisplayCurrency | Display Currency | ||
| OrdinaryDeprAmtInDspCrcy | ||||
| OrdnryDeprOnRevalAmtInDspCrcy | ||||
| SpecialDeprAmtInDspCrcy | ||||
| UnplannedDeprAmtInDspCrcy | ||||
| TransferredReserveAmtInDspCrcy | ||||
| RevaluationAmountInDspCrcy | ||||
| RevalOrdnryDeprAmtInDspCrcy | ||||
| InterestAmountInDspCrcy | ||||
| _FixedAsset | _FixedAsset |
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_AssetDeprBalByCrcyRole.
-- 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_AssetDeprBalByCrcyRole AS
SELECT
AssetDepreciationArea,
CompanyCode,
Ledger,
MasterFixedAsset,
FixedAsset,
FiscalYear,
FiscalPeriod,
AssetAccountingKeyFigure,
DepreciationStatus,
AssetValuationView,
DepreciationFiscalPeriod,
cast(cast(concat(FiscalYear,FiscalPeriod) as char07 preserving type) as fins_fyearperiod) AS FiscalYearPeriod,
DisplayCurrency AS Currency,
cast(OrdinaryDeprAmtInDspCrcy as fis_ordinarydepramt preserving type) AS OrdinaryDeprAmtInDspCrcy,
cast(OrdnryDeprOnRevalAmtInDspCrcy as fis_orddepr_on_reval_amt preserving type) AS OrdnryDeprOnRevalAmtInDspCrcy,
cast(SpecialDeprAmtInDspCrcy as fis_specialdepramt preserving type) AS SpecialDeprAmtInDspCrcy,
cast(UnplannedDeprAmtInDspCrcy as fis_unplanneddepramt preserving type) AS UnplannedDeprAmtInDspCrcy,
cast(TransferredReserveAmtInDspCrcy as fis_transferedreserveamt preserving type) AS TransferredReserveAmtInDspCrcy,
cast(RevaluationAmountInDspCrcy as fis_revaluationamt preserving type) AS RevaluationAmountInDspCrcy,
cast(RevalOrdnryDeprAmtInDspCrcy as fis_revaluation_orddepr_amt preserving type) AS RevalOrdnryDeprAmtInDspCrcy,
cast(InterestAmountInDspCrcy as fis_interestamt preserving type) AS InterestAmountInDspCrcy
FROM P_AstDeprBalWthAllAreasCube1
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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