P_FixedAssetValue
P_FixedAssetValue is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_AssetKeyFigureSetSpec, I_AssetKeyFigureSpecification, P_FixedAssetValueWthDetn) and exposes 99 fields with key fields AssetDepreciationArea, CompanyCode, FiscalYear, MasterFixedAsset, FixedAsset.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_AssetKeyFigureSetSpec | AssetKeyFigureSetSpec | inner |
| I_AssetKeyFigureSpecification | AssetKeyFigureSpec | inner |
| P_FixedAssetValueWthDetn | P_FixedAssetValueWthDetn | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_AssetAccountingKeyFigureSet | faa_key_figure_set |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFASSETVALUE | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (99)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AssetDepreciationArea | values | AssetDepreciationArea | Deprec. Area |
| KEY | CompanyCode | values | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | values | FiscalYear | G/L Fiscal Year |
| KEY | MasterFixedAsset | values | MasterFixedAsset | Fixed Asset |
| KEY | FixedAsset | values | FixedAsset | Sub-number |
| KEY | AccountingDocument | values | AccountingDocument | Journal Entry |
| KEY | TransactionSubitem | values | TransactionSubitem | Sub Transaction |
| KEY | Ledger | values | Ledger | Ledger |
| KEY | FiscalPeriod | values | FiscalPeriod | Tax period |
| KEY | SubLedgerAcctLineItemType | values | SubLedgerAcctLineItemType | SLALineItemType |
| KEY | AssetAcctTransClassfctn | values | AssetAcctTransClassfctn | Trans.Type Cat. |
| KEY | DebitCreditCode | values | DebitCreditCode | Single-Character Flag |
| LedgerFiscalYear | LedgerFiscalYear | |||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| DepreciationFiscalPeriod | DepreciationFiscalPeriod | Deprec. Period | ||
| AssetAccountingSortedKeyFigure | I_AssetKeyFigureSetSpec | AssetAccountingSortedKeyFigure | KF Code | |
| AssetAcctAnlytlTransClassfctn | values | AssetAcctAnlytlTransClassfctn | Trans.Type Cat. | |
| LedgerGroup | values | LedgerGroup | Ledger Group | |
| ChartOfAccounts | values | ChartOfAccounts | Node Class | |
| CountryChartOfAccounts | values | CountryChartOfAccounts | Chart of Accts | |
| GLAccount | values | GLAccount | General Ledger | |
| AlternativeGLAccount | values | AlternativeGLAccount | Group Account | |
| GroupMasterFixedAsset | values | GroupMasterFixedAsset | ||
| GroupFixedAsset | values | GroupFixedAsset | ||
| FinancialAccountType | values | FinancialAccountType | Fin. Account Type | |
| ChartOfDepreciation | values | ChartOfDepreciation | ||
| AccountingDocumentCreationDate | values | AccountingDocumentCreationDate | Journal Entry Date | |
| CreationTime | values | CreationTime | Time of Change | |
| AccountingDocCreatedByUser | values | AccountingDocCreatedByUser | User which created overhead document | |
| JointVentureCostRecoveryCode | values | JointVentureCostRecoveryCode | Recovery Ind. | |
| CostCenter | values | CostCenter | Cost Center | |
| Plant | values | Plant | Valuation Area | |
| BusinessArea | values | BusinessArea | Business Area | |
| PersonnelNumber | values | PersonnelNumber | Personnel No. | |
| FinancialManagementArea | values | FinancialManagementArea | FM Area | |
| Fund | values | Fund | Sender Fund | |
| GrantID | values | GrantID | Sender Grant | |
| FunctionalArea | values | FunctionalArea | Sendr Fctl Area | |
| BudgetPeriod | values | BudgetPeriod | Budget Period | |
| ProfitCenter | values | ProfitCenter | Profit Center | |
| Segment | values | Segment | Segment number | |
| FundsCenter | values | FundsCenter | Funds Center | |
| AssetTransactionType | values | AssetTransactionType | Trans.Type | |
| AssetDeactivationDate | values | AssetDeactivationDate | ||
| AssetAccountingKeyFigure | I_AssetKeyFigureSpecification | AssetAccountingKeyFigure | Key Figure | |
| PlannedValueIsInclusive | I_AssetKeyFigureSpecification | PlannedValueIsInclusive | Value Type for Asset | |
| ReferenceDocumentItem | values | ReferenceDocumentItem | Reference item | |
| ReferenceDocumentType | values | ReferenceDocumentType | Reference Document Type | |
| LogicalSystem | values | LogicalSystem | Logical System | |
| ReferenceDocument | values | ReferenceDocument | Reference Document | |
| ReferenceDocumentContext | values | ReferenceDocumentContext | Reference Document Context | |
| ReversalReferenceDocument | values | ReversalReferenceDocument | Reversal Reference Document | |
| ReversalReferenceDocumentCntxt | values | ReversalReferenceDocumentCntxt | Reversal Reference Document Context | |
| ReversalTransactionSubitem | values | ReversalTransactionSubitem | Reversal Sub Trans | |
| IsReversal | values | IsReversal | Reversal doc. | |
| IsReversed | values | IsReversed | Reversed? | |
| DocumentDate | values | DocumentDate | Journal Entry Date | |
| PostingDate | values | PostingDate | Posting Date for GR | |
| AssetValueDate | values | AssetValueDate | Reference date | |
| AccountingDocumentType | values | AccountingDocumentType | Journal Entry Type | |
| AssignmentReference | values | AssignmentReference | Assignment Reference | |
| DocumentItemText | values | DocumentItemText | Text | |
| IsStatisticalDocument | values | IsStatisticalDocument | ||
| GLBusinessTransactionType | values | GLBusinessTransactionType | Transact. Type | |
| PartnerMasterFixedAsset | values | PartnerMasterFixedAsset | Partner Asset | |
| PartnerFixedAsset | values | PartnerFixedAsset | Partner Sub-No. | |
| CompanyCodeCurrency | values | CompanyCodeCurrency | Local Currency | |
| GlobalCurrency | values | GlobalCurrency | GM Billing Element: Global Currency | |
| FreeDefinedCurrency1 | values | FreeDefinedCurrency1 | Freely Defined Currency 1 | |
| FreeDefinedCurrency2 | values | FreeDefinedCurrency2 | Freely Defined Currency 2 | |
| FreeDefinedCurrency3 | values | FreeDefinedCurrency3 | Freely Defined Currency 3 | |
| FreeDefinedCurrency4 | values | FreeDefinedCurrency4 | Freely Defined Currency 4 | |
| FreeDefinedCurrency5 | values | FreeDefinedCurrency5 | Freely Defined Currency 5 | |
| FreeDefinedCurrency6 | values | FreeDefinedCurrency6 | Freely Defined Currency 6 | |
| FreeDefinedCurrency7 | values | FreeDefinedCurrency7 | Freely Defined Currency 7 | |
| FreeDefinedCurrency8 | values | FreeDefinedCurrency8 | Freely Defined Currency 8 | |
| ActualAmountInCompanyCodeCrcy | values | ActualAmountInCompanyCodeCrcy | ||
| ActualAmountInGlobalCurrency | values | ActualAmountInGlobalCurrency | ||
| ActualAmountInFreeDfndCrcy1 | values | ActualAmountInFreeDfndCrcy1 | ||
| ActualAmountInFreeDfndCrcy2 | values | ActualAmountInFreeDfndCrcy2 | ||
| ActualAmountInFreeDfndCrcy3 | values | ActualAmountInFreeDfndCrcy3 | ||
| ActualAmountInFreeDfndCrcy4 | values | ActualAmountInFreeDfndCrcy4 | ||
| ActualAmountInFreeDfndCrcy5 | values | ActualAmountInFreeDfndCrcy5 | ||
| ActualAmountInFreeDfndCrcy6 | values | ActualAmountInFreeDfndCrcy6 | ||
| ActualAmountInFreeDfndCrcy7 | values | ActualAmountInFreeDfndCrcy7 | ||
| ActualAmountInFreeDfndCrcy8 | values | ActualAmountInFreeDfndCrcy8 | ||
| PlanAmountInCompanyCodeCrcy | values | PlanAmountInCompanyCodeCrcy | ||
| PlanAmountInGlobalCurrency | values | PlanAmountInGlobalCurrency | ||
| PlanAmountInFreeDefinedCrcy1 | values | PlanAmountInFreeDefinedCrcy1 | ||
| PlanAmountInFreeDefinedCrcy2 | values | PlanAmountInFreeDefinedCrcy2 | ||
| PlanAmountInFreeDefinedCrcy3 | values | PlanAmountInFreeDefinedCrcy3 | ||
| PlanAmountInFreeDefinedCrcy4 | values | PlanAmountInFreeDefinedCrcy4 | ||
| PlanAmountInFreeDefinedCrcy5 | values | PlanAmountInFreeDefinedCrcy5 | ||
| PlanAmountInFreeDefinedCrcy6 | values | PlanAmountInFreeDefinedCrcy6 | ||
| PlanAmountInFreeDefinedCrcy7 | values | PlanAmountInFreeDefinedCrcy7 | ||
| PlanAmountInFreeDefinedCrcy8 | values | PlanAmountInFreeDefinedCrcy8 | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| Quantity | Quantity | Value |
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_FixedAssetValue.
-- 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_AssetAccountingKeyFigureSet : faa_key_figure_set
CREATE VIEW P_FixedAssetValue AS
SELECT
values.AssetDepreciationArea AS AssetDepreciationArea,
values.CompanyCode AS CompanyCode,
values.FiscalYear AS FiscalYear,
values.MasterFixedAsset AS MasterFixedAsset,
values.FixedAsset AS FixedAsset,
values.AccountingDocument AS AccountingDocument,
values.TransactionSubitem AS TransactionSubitem,
values.Ledger AS Ledger,
values.FiscalPeriod AS FiscalPeriod,
values.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
values.AssetAcctTransClassfctn AS AssetAcctTransClassfctn,
values.DebitCreditCode AS DebitCreditCode,
LedgerFiscalYear,
FiscalYearVariant,
FiscalYearPeriod,
DepreciationFiscalPeriod,
AssetKeyFigureSetSpec.AssetAccountingSortedKeyFigure AS AssetAccountingSortedKeyFigure,
values.AssetAcctAnlytlTransClassfctn AS AssetAcctAnlytlTransClassfctn,
values.LedgerGroup AS LedgerGroup,
values.ChartOfAccounts AS ChartOfAccounts,
values.CountryChartOfAccounts AS CountryChartOfAccounts,
values.GLAccount AS GLAccount,
values.AlternativeGLAccount AS AlternativeGLAccount,
values.GroupMasterFixedAsset AS GroupMasterFixedAsset,
values.GroupFixedAsset AS GroupFixedAsset,
values.FinancialAccountType AS FinancialAccountType,
values.ChartOfDepreciation AS ChartOfDepreciation,
values.AccountingDocumentCreationDate AS AccountingDocumentCreationDate,
values.CreationTime AS CreationTime,
values.AccountingDocCreatedByUser AS AccountingDocCreatedByUser,
values.JointVentureCostRecoveryCode AS JointVentureCostRecoveryCode,
values.CostCenter AS CostCenter,
values.Plant AS Plant,
values.BusinessArea AS BusinessArea,
values.PersonnelNumber AS PersonnelNumber,
values.FinancialManagementArea AS FinancialManagementArea,
values.Fund AS Fund,
values.GrantID AS GrantID,
values.FunctionalArea AS FunctionalArea,
values.BudgetPeriod AS BudgetPeriod,
values.ProfitCenter AS ProfitCenter,
values.Segment AS Segment,
values.FundsCenter AS FundsCenter,
values.AssetTransactionType AS AssetTransactionType,
values.AssetDeactivationDate AS AssetDeactivationDate,
AssetKeyFigureSpec.AssetAccountingKeyFigure AS AssetAccountingKeyFigure,
AssetKeyFigureSpec.PlannedValueIsInclusive AS PlannedValueIsInclusive,
values.ReferenceDocumentItem AS ReferenceDocumentItem,
values.ReferenceDocumentType AS ReferenceDocumentType,
values.LogicalSystem AS LogicalSystem,
values.ReferenceDocument AS ReferenceDocument,
values.ReferenceDocumentContext AS ReferenceDocumentContext,
values.ReversalReferenceDocument AS ReversalReferenceDocument,
values.ReversalReferenceDocumentCntxt AS ReversalReferenceDocumentCntxt,
values.ReversalTransactionSubitem AS ReversalTransactionSubitem,
values.IsReversal AS IsReversal,
values.IsReversed AS IsReversed,
values.DocumentDate AS DocumentDate,
values.PostingDate AS PostingDate,
values.AssetValueDate AS AssetValueDate,
values.AccountingDocumentType AS AccountingDocumentType,
values.AssignmentReference AS AssignmentReference,
values.DocumentItemText AS DocumentItemText,
values.IsStatisticalDocument AS IsStatisticalDocument,
values.GLBusinessTransactionType AS GLBusinessTransactionType,
values.PartnerMasterFixedAsset AS PartnerMasterFixedAsset,
values.PartnerFixedAsset AS PartnerFixedAsset,
values.CompanyCodeCurrency AS CompanyCodeCurrency,
values.GlobalCurrency AS GlobalCurrency,
values.FreeDefinedCurrency1 AS FreeDefinedCurrency1,
values.FreeDefinedCurrency2 AS FreeDefinedCurrency2,
values.FreeDefinedCurrency3 AS FreeDefinedCurrency3,
values.FreeDefinedCurrency4 AS FreeDefinedCurrency4,
values.FreeDefinedCurrency5 AS FreeDefinedCurrency5,
values.FreeDefinedCurrency6 AS FreeDefinedCurrency6,
values.FreeDefinedCurrency7 AS FreeDefinedCurrency7,
values.FreeDefinedCurrency8 AS FreeDefinedCurrency8,
values.ActualAmountInCompanyCodeCrcy AS ActualAmountInCompanyCodeCrcy,
values.ActualAmountInGlobalCurrency AS ActualAmountInGlobalCurrency,
values.ActualAmountInFreeDfndCrcy1 AS ActualAmountInFreeDfndCrcy1,
values.ActualAmountInFreeDfndCrcy2 AS ActualAmountInFreeDfndCrcy2,
values.ActualAmountInFreeDfndCrcy3 AS ActualAmountInFreeDfndCrcy3,
values.ActualAmountInFreeDfndCrcy4 AS ActualAmountInFreeDfndCrcy4,
values.ActualAmountInFreeDfndCrcy5 AS ActualAmountInFreeDfndCrcy5,
values.ActualAmountInFreeDfndCrcy6 AS ActualAmountInFreeDfndCrcy6,
values.ActualAmountInFreeDfndCrcy7 AS ActualAmountInFreeDfndCrcy7,
values.ActualAmountInFreeDfndCrcy8 AS ActualAmountInFreeDfndCrcy8,
values.PlanAmountInCompanyCodeCrcy AS PlanAmountInCompanyCodeCrcy,
values.PlanAmountInGlobalCurrency AS PlanAmountInGlobalCurrency,
values.PlanAmountInFreeDefinedCrcy1 AS PlanAmountInFreeDefinedCrcy1,
values.PlanAmountInFreeDefinedCrcy2 AS PlanAmountInFreeDefinedCrcy2,
values.PlanAmountInFreeDefinedCrcy3 AS PlanAmountInFreeDefinedCrcy3,
values.PlanAmountInFreeDefinedCrcy4 AS PlanAmountInFreeDefinedCrcy4,
values.PlanAmountInFreeDefinedCrcy5 AS PlanAmountInFreeDefinedCrcy5,
values.PlanAmountInFreeDefinedCrcy6 AS PlanAmountInFreeDefinedCrcy6,
values.PlanAmountInFreeDefinedCrcy7 AS PlanAmountInFreeDefinedCrcy7,
values.PlanAmountInFreeDefinedCrcy8 AS PlanAmountInFreeDefinedCrcy8,
BaseUnit,
Quantity
FROM P_FixedAssetValueWthDetn
INNER JOIN I_AssetKeyFigureSetSpec AS AssetKeyFigureSetSpec ON /* join condition not captured in parsed metadata */
INNER JOIN I_AssetKeyFigureSpecification AS AssetKeyFigureSpec ON /* join condition not captured in parsed metadata */
;
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