P_RS_TaxDeprFixedAssetFields

DDL: P_RS_TAXDEPRFIXEDASSETFIELDS SQL: PRSTDEPRFAFLDS Type: view COMPOSITE

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)

SourceAliasJoin 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)

NameTypeDefault
P_TaxDepreciationSourceField fiaars_tax_depr_srce_field
P_ReportingEndDate srf_rpg_period_end_date
P_TaxDepreciationAreaLedger fiaars_tax_area_ledger

Annotations (10)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;