P_RS_TaxDeprFixedAssetFields
P_RS_TaxDeprFixedAssetFields is a Composite CDS View in SAP S/4HANA. It reads from 6 data sources and exposes 22 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, MasterFixedAsset, FixedAsset.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| I_AssetRedesignSwitchStatus | I_AssetRedesignSwitchStatus | inner |
| I_AssetRedesignSwitchStatus | I_AssetRedesignSwitchStatus | inner |
| I_FixedAsset | I_FixedAsset | from |
| I_FixedAsset | I_FixedAsset | union_all |
| I_FixedAssetDeprArea | I_FixedAssetDeprArea | inner |
| I_FixedAssetForLedger | I_FixedAssetForLedger | inner |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_TaxDepreciationSourceField | fiaars_tax_depr_srce_field | |
| P_ReportingEndDate | srf_rpg_period_end_date | |
| P_TaxDepreciationAreaLedger | fiaars_tax_area_ledger |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRSTDEPRFAFLDS | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | MASTER | view | |
| ObjectModel.usageType.serviceQuality | D | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_FixedAsset | CompanyCode | Receiver Company Code |
| KEY | MasterFixedAsset | I_FixedAsset | MasterFixedAsset | Fixed Asset |
| KEY | FixedAsset | I_FixedAsset | FixedAsset | Sub-number |
| FixedAssetDescription | FixedAssetDescription | Description | ||
| AssetClass | AssetClass | Asset Class | ||
| AssetCapitalizationDate | AssetCapitalizationDate | Asset Capitalization | ||
| AssetDeactivationDate | AssetDeactivationDate | |||
| RS_AssetLastInvoiceDate | ||||
| FirstAcquisitionFiscalYear | FirstAcquisitionFiscalYear | Acquisition Yr | ||
| RS_GroupDeprExclusionYear | Vintage Year | |||
| CompanyCode | Receiver Company Code | |||
| KEY | MasterFixedAsset | I_FixedAsset | MasterFixedAsset | Fixed Asset |
| KEY | FixedAsset | I_FixedAsset | FixedAsset | Sub-number |
| FixedAssetDescription | I_FixedAsset | FixedAssetDescription | Description | |
| AssetClass | I_FixedAsset | AssetClass | Asset Class | |
| AssetCapitalizationDate | I_FixedAssetForLedger | AssetCapitalizationDate | Asset Capitalization | |
| AssetDeactivationDate | I_FixedAssetForLedger | AssetDeactivationDate | ||
| RS_AssetLastInvoiceDate | ||||
| FirstAcquisitionFiscalYear | I_FixedAssetForLedger | FirstAcquisitionFiscalYear | Acquisition Yr | |
| OriginalTaxDepreciationGroup | ||||
| RS_GroupDeprExclusionYear | Vintage Year | |||
| AssetRedesignSwitchIsActive | I_AssetRedesignSwitchStatus | AssetRedesignSwitchIsActive | Object active? |
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_RS_TaxDeprFixedAssetFields.
-- 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: PRSTDEPRFAFLDS
-- Parameters: P_TaxDepreciationSourceField : fiaars_tax_depr_srce_field, P_ReportingEndDate : srf_rpg_period_end_date, P_TaxDepreciationAreaLedger : fiaars_tax_area_ledger
CREATE VIEW P_RS_TaxDeprFixedAssetFields AS
SELECT
I_FixedAsset.CompanyCode AS CompanyCode,
I_FixedAsset.MasterFixedAsset AS MasterFixedAsset,
I_FixedAsset.FixedAsset AS FixedAsset,
FixedAssetDescription,
AssetClass,
AssetCapitalizationDate,
AssetDeactivationDate,
cast( FixedAssetOrderDate as glo_rs_last_invoice_date ) AS RS_AssetLastInvoiceDate,
FirstAcquisitionFiscalYear,
cast( VintageYear as glo_rs_exclusion_year ) AS RS_GroupDeprExclusionYear,
I_FixedAsset._FixedAssetCountryData.TaxDepreciationGroup AS OriginalTaxDepreciationGroup,
I_AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive AS AssetRedesignSwitchIsActive
FROM I_FixedAsset
INNER JOIN I_FixedAssetDeprArea ON /* join condition not captured in parsed metadata */
INNER JOIN I_AssetRedesignSwitchStatus ON /* join condition not captured in parsed metadata */
INNER JOIN I_FixedAssetForLedger ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_FixedAsset
;
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