P_DepreciationAreaForLedger
Depreciation Area For Ledger
P_DepreciationAreaForLedger is a Basic CDS View that provides data about "Depreciation Area For Ledger" in SAP S/4HANA. It reads from 6 data sources and exposes 17 fields with key fields CompanyCode, Ledger, AssetDepreciationArea, Ledger, AssetDepreciationArea. Part of development package FAA_IS.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| faac_cmp_da0 | faac_cmp_da0 | from |
| faac_cmp_da0 | faac_cmp_da0 | union_all |
| fagl_tldgrp_map | fagl_tldgrp_map | inner |
| P_TF_AssetRedesignSwitchStatus | P_TF_AssetRedesignSwitchStatus | inner |
| P_TF_AssetRedesignSwitchStatus | P_TF_AssetRedesignSwitchStatus | inner |
| t093 | t093 | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFIDEPRAREALDGR | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | t093c | bukrs | Value |
| KEY | Ledger | fagl_tldgrp_map | rldnr | Ledger |
| KEY | AssetDepreciationArea | t093 | afaber | Deprec. Area |
| AssetValuationView | ValView | |||
| FiscalYearVariant | FY Variant | |||
| ValidityStartFiscalYear | Valid-From Year | |||
| ValidityEndFiscalYear | Valid-To Year | |||
| IsRealDepreciationArea | t093 | xstore | Real Dep. Area | |
| IsActiveXkeycomp_codeasCompanyCode | ||||
| KEY | Ledger | ledger | Ledger | |
| KEY | AssetDepreciationArea | depr_area | Deprec. Area | |
| AssetValuationView | valview | ValView | ||
| FiscalYearVariant | depr_fisc_year_var | FY Variant | ||
| ValidityStartFiscalYear | fisc_year_from | Valid-From Year | ||
| ValidityEndFiscalYear | fisc_year_to | Valid-To Year | ||
| IsRealDepreciationArea | Real Dep. Area | |||
| IsRepresentativeLedger |
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 P_DepreciationAreaForLedger.
-- 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.
CREATE VIEW P_DepreciationAreaForLedger AS
SELECT
t093c.bukrs AS CompanyCode,
fagl_tldgrp_map.rldnr AS Ledger,
t093.afaber AS AssetDepreciationArea,
cast('' as faa_valview) AS AssetValuationView,
cast('' as periv) AS FiscalYearVariant,
cast('' as faa_from_fisc_year) AS ValidityStartFiscalYear,
cast('' as faa_to_fisc_year) AS ValidityEndFiscalYear,
t093.xstore AS IsRealDepreciationArea,
fagl_tldgrp_map.represent as IsRepresentativeLedger AS IsActiveXkeycomp_codeasCompanyCode,
cast('X' as fagl_represent) AS IsRepresentativeLedger
FROM faac_cmp_da0
INNER JOIN t093 ON /* join condition not captured in parsed metadata */
INNER JOIN fagl_tldgrp_map ON /* join condition not captured in parsed metadata */
INNER JOIN P_TF_AssetRedesignSwitchStatus ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): faac_cmp_da0
;
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