P_FixedAssetTmpPlanVal
P_FixedAssetTmpPlanVal is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (faat_d_pv_hdr, I_DepreciationAreaForLedger, faat_d_pv_values) and exposes 40 fields with key fields CreationDateTime, CreatedByUser, AssetDepreciationArea, CompanyCode, FiscalYear. It has 1 association to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| faat_d_pv_hdr | Header | from |
| I_DepreciationAreaForLedger | I_DepreciationAreaForLedger | inner |
| faat_d_pv_values | Values | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_LedgerGroupAssignment | _LedgerGroupAssignment | $projection.LedgerGroup = _LedgerGroupAssignment.LedgerGroup |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFASSETTMPPV | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CreationDateTime | faat_d_pv_hdr | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) |
| KEY | CreatedByUser | faat_d_pv_hdr | usera | User Name |
| KEY | AssetDepreciationArea | faat_d_pv_values | afabe | Deprec. Area |
| KEY | CompanyCode | faat_d_pv_values | bukrs | Value |
| KEY | FiscalYear | faat_d_pv_values | gjahr | Settlement Year |
| KEY | MasterFixedAsset | faat_d_pv_values | anln1 | Asset |
| KEY | FixedAsset | faat_d_pv_values | anln2 | Sub-number |
| KEY | SubLedgerAcctLineItemType | faat_d_pv_values | slalittype | SLALineItemType |
| KEY | FiscalPeriod | faat_d_pv_values | poper | Posting periods |
| Ledger | I_DepreciationAreaForLedger | Ledger | Ledger | |
| IsRepresentativeLedger | I_DepreciationAreaForLedger | IsRepresentativeLedger | ||
| LedgerGroup | faat_d_pv_values | ldgrp | Target Ledger Group | |
| GroupMasterFixedAsset | faat_d_pv_values | anlgr | Group Asset | |
| GroupFixedAsset | faat_d_pv_values | anlgr2 | Subnumber | |
| AssetAcctTransClassfctn | faat_d_pv_values | movcat | Trans.Type Cat. | |
| FinancialAccountType | ||||
| CompanyCodeCurrency | ||||
| AmountInCompanyCodeCurrency | ||||
| GlobalCurrency | ||||
| AmountInGlobalCurrency | ||||
| FreeDefinedCurrency1 | Free Defined Crcy 1 | |||
| AmountInFreeDefinedCurrency1 | Other Crcy Amnt | |||
| FreeDefinedCurrency2 | Free Defined Crcy 4 | |||
| AmountInFreeDefinedCurrency2 | Amount in Currency 2 | |||
| FreeDefinedCurrency3 | rbcur | Free Defined Crcy 3 | ||
| AmountInFreeDefinedCurrency3 | Exchange Key | |||
| FreeDefinedCurrency4 | rccur | Third Currency | ||
| AmountInFreeDefinedCurrency4 | Amount in Currency 4 | |||
| FreeDefinedCurrency5 | rdcur | Free Defined Crcy 5 | ||
| AmountInFreeDefinedCurrency5 | Amount in Currency 5 | |||
| FreeDefinedCurrency6 | recur | Free Defined Crcy 6 | ||
| AmountInFreeDefinedCurrency6 | Amount in Currency 6 | |||
| FreeDefinedCurrency7 | Free Defined Crcy 7 | |||
| AmountInFreeDefinedCurrency7 | Amount in Currency 7 | |||
| FreeDefinedCurrency8 | rgcur | Free Defined Crcy 8 | ||
| AmountInFreeDefinedCurrency8 | Amount in Currency 8 | |||
| AssetClass | faat_d_pv_values | anlkl | Asset Class | |
| AssetAccountDetermination | faat_d_pv_values | ktogr | Account Determ. | |
| IsGroupAsset | faat_d_pv_values | xanlgr | Group Asset | |
| JointVentureCostRecoveryCode | faat_d_pv_values | recid | Statistical Key Figure Item |
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_FixedAssetTmpPlanVal.
-- 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_FixedAssetTmpPlanVal AS
SELECT
Header.timestamp AS CreationDateTime,
Header.usera AS CreatedByUser,
Values.afabe AS AssetDepreciationArea,
Values.bukrs AS CompanyCode,
Values.gjahr AS FiscalYear,
Values.anln1 AS MasterFixedAsset,
Values.anln2 AS FixedAsset,
Values.slalittype AS SubLedgerAcctLineItemType,
Values.poper AS FiscalPeriod,
I_DepreciationAreaForLedger.Ledger AS Ledger,
I_DepreciationAreaForLedger.IsRepresentativeLedger AS IsRepresentativeLedger,
Values.ldgrp AS LedgerGroup,
Values.anlgr AS GroupMasterFixedAsset,
Values.anlgr2 AS GroupFixedAsset,
Values.movcat AS AssetAcctTransClassfctn,
cast('A' as fis_koart preserving type) AS FinancialAccountType,
cast(Values.rhcur as fis_hwaer preserving type) AS CompanyCodeCurrency,
cast(Values.hsl as fis_hsl preserving type) AS AmountInCompanyCodeCurrency,
cast(Values.rkcur as fis_rkcur preserving type) AS GlobalCurrency,
cast(Values.ksl as fis_ksl preserving type) AS AmountInGlobalCurrency,
cast(rocur as fis_rocur preserving type) AS FreeDefinedCurrency1,
cast(osl as fis_osl preserving type) AS AmountInFreeDefinedCurrency1,
cast(rvcur as fis_rvcur preserving type) AS FreeDefinedCurrency2,
cast(vsl as fis_vsl preserving type) AS AmountInFreeDefinedCurrency2,
rbcur AS FreeDefinedCurrency3,
cast(bsl as fis_bsl preserving type) AS AmountInFreeDefinedCurrency3,
rccur AS FreeDefinedCurrency4,
cast(csl as fis_csl preserving type) AS AmountInFreeDefinedCurrency4,
rdcur AS FreeDefinedCurrency5,
cast(dsl as fis_dsl preserving type) AS AmountInFreeDefinedCurrency5,
recur AS FreeDefinedCurrency6,
cast(esl as fis_esl preserving type) AS AmountInFreeDefinedCurrency6,
cast(rfcur as fis_rfcur preserving type) AS FreeDefinedCurrency7,
cast(fsl as fis_fsl preserving type) AS AmountInFreeDefinedCurrency7,
rgcur AS FreeDefinedCurrency8,
cast(gsl as fis_gsl preserving type) AS AmountInFreeDefinedCurrency8,
Values.anlkl AS AssetClass,
Values.ktogr AS AssetAccountDetermination,
Values.xanlgr AS IsGroupAsset,
Values.recid AS JointVentureCostRecoveryCode
FROM faat_d_pv_hdr AS Header
INNER JOIN faat_d_pv_values AS Values ON /* join condition not captured in parsed metadata */
INNER JOIN I_DepreciationAreaForLedger ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_LedgerGroupAssignment AS _LedgerGroupAssignment ON LedgerGroup = _LedgerGroupAssignment.LedgerGroup -- association [0..*]
;
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