P_FixedAssetAHSValue
P_FixedAssetAHSValue is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_AssetKeyFigureSetSpec, I_FixedAssetValueForToFsclPerd, I_FixedAssetValueForToFsclPerd) and exposes 247 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, AccountingDocument.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_AssetKeyFigureSetSpec | AssetKeyFigureSetSpec | inner |
| I_FixedAssetValueForToFsclPerd | I_FixedAssetValueForToFsclPerd | from |
| I_FixedAssetValueForToFsclPerd | I_FixedAssetValueForToFsclPerd | union_all |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_CurrencyRole | fis_curtp | |
| P_FiscalYear | fis_gjahr | |
| P_FiscalPeriod | fis_period_to | |
| P_AssetAccountingKeyFigureSet | faa_key_figure_set |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFASSETAHSVALUE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (247)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AssetDepreciationArea | AssetDepreciationArea | Deprec. Area | |
| KEY | MasterFixedAsset | MasterFixedAsset | Fixed Asset | |
| KEY | FixedAsset | FixedAsset | Sub-number | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | TransactionSubitem | TransactionSubitem | Sub Transaction | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | FiscalPeriod | FiscalPeriod | Tax period | |
| KEY | SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | |
| KEY | AssetAcctTransClassfctn | AssetAcctTransClassfctn | Trans.Type Cat. | |
| KEY | AssetAccountingKeyFigure | AssetAccountingKeyFigure | Key Figure | |
| KEY | AssetAccountingKeyFigureSet | AssetAccountingKeyFigureSet | Key Figure Group | |
| KEY | DebitCreditCode | DebitCreditCode | Single-Character Flag | |
| KEY | KeyFigureIsZeroBalance | |||
| LedgerFiscalYear | LedgerFiscalYear | |||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| DepreciationFiscalPeriod | DepreciationFiscalPeriod | Deprec. Period | ||
| AssetAccountingSortedKeyFigure | AssetAccountingSortedKeyFigure | KF Code | ||
| LedgerGroup | LedgerGroup | Ledger Group | ||
| Country | Country | Venue: Ctry/Reg | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| CountryChartOfAccounts | CountryChartOfAccounts | Chart of Accts | ||
| GLAccount | GLAccount | General Ledger | ||
| AlternativeGLAccount | AlternativeGLAccount | Group Account | ||
| GroupMasterFixedAsset | GroupMasterFixedAsset | |||
| GroupFixedAsset | GroupFixedAsset | |||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| AccountingDocumentCreationDate | AccountingDocumentCreationDate | Journal Entry Date | ||
| CreationTime | CreationTime | Time of Change | ||
| JointVentureCostRecoveryCode | JointVentureCostRecoveryCode | Recovery Ind. | ||
| ChartOfDepreciation | ChartOfDepreciation | |||
| CostCenter | CostCenter | Cost Center | ||
| Plant | Plant | Valuation Area | ||
| BusinessArea | BusinessArea | Business Area | ||
| PersonnelNumber | PersonnelNumber | Personnel No. | ||
| FinancialManagementArea | FinancialManagementArea | FM Area | ||
| Fund | Fund | Sender Fund | ||
| GrantID | GrantID | Sender Grant | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| BudgetPeriod | BudgetPeriod | Budget Period | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| Segment | Segment | Segment number | ||
| FundsCenter | FundsCenter | Funds Center | ||
| AssetTransactionType | AssetTransactionType | Trans.Type | ||
| GLBusinessTransactionType | GLBusinessTransactionType | Transact. Type | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| FinancialStatementVariant | FinancialStatementVariant | |||
| AccountingPrinciple | AccountingPrinciple | AP Ledger/CoCode | ||
| CurrencyRole | ||||
| AssetAccountDetermination | AssetAccountDetermination | Account Determ. | ||
| AssetClass | AssetClass | Asset Class | ||
| AssetCapitalizationDate | AssetCapitalizationDate | Asset Capitalization | ||
| FirstAcquisitionFiscalYear | FirstAcquisitionFiscalYear | Acquisition Yr | ||
| FirstAcquisitionFiscalPeriod | FirstAcquisitionFiscalPeriod | |||
| AssetDeactivationDate | AssetDeactivationDate | |||
| FixedAssetGroup | FixedAssetGroup | |||
| AssetSupplierName | AssetSupplierName | |||
| InvestmentOrder | InvestmentOrder | |||
| BaseUnit | BaseUnit | Unit of Measure | ||
| InventoryIsCounted | InventoryIsCounted | |||
| LastInventoryDate | LastInventoryDate | |||
| Inventory | Inventory | Ci Inventory | ||
| Group1AssetEvaluationKey | Group1AssetEvaluationKey | |||
| Group2AssetEvaluationKey | Group2AssetEvaluationKey | |||
| Group3AssetEvaluationKey | Group3AssetEvaluationKey | |||
| Group4AssetEvaluationKey | Group4AssetEvaluationKey | |||
| Group5AssetEvaluationKey | Group5AssetEvaluationKey | |||
| AssetSerialNumber | AssetSerialNumber | |||
| NationalClassification | NationalClassification | |||
| TaxDepreciationGroup | TaxDepreciationGroup | |||
| WBSElementExternalID | _WBSElement | WBSElementExternalID | WBS Element External ID | |
| _CompanyCode | _CompanyCode | |||
| _Country | _Country | |||
| _CountryChartOfAccounts | _CountryChartOfAccounts | |||
| _DepreciationArea | _DepreciationArea | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _ControllingArea | _ControllingArea | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _FixedAsset | _FixedAsset | |||
| _AssetAccountDetermination | _AssetAccountDetermination | |||
| _AssetClass | _AssetClass | |||
| _Ledger | _Ledger | |||
| _FiscalYear | _FiscalYear | |||
| _FiscalPeriod | _FiscalPeriod | |||
| _FiscalYearPeriod | _FiscalYearPeriod | |||
| _JournalEntry | _JournalEntry | |||
| _SubLedgerAccLineItemType | _SubLedgerAccLineItemType | |||
| _LedgerGroup | _LedgerGroup | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _AlternativeGLAccount | _AlternativeGLAccount | |||
| _AssetAcctTransClassfctn | _AssetAcctTransClassfctn | |||
| _FinancialAccountType | _FinancialAccountType | |||
| _ChartOfDepreciation | _ChartOfDepreciation | |||
| _FinancialStatementVersion | _FinancialStatementVersion | |||
| _AccountingPrinciple | _AccountingPrinciple | |||
| _CostCenter | _CostCenter | |||
| _Plant | _Plant | |||
| _BusinessArea | _BusinessArea | |||
| _ProfitCenter | _ProfitCenter | |||
| _Segment | _Segment | |||
| _FunctionalArea | _FunctionalArea | |||
| _AssetTransactionType | _AssetTransactionType | |||
| _AssetKeyFigure | _AssetKeyFigure | |||
| _AssetKeyFigureSet | _AssetKeyFigureSet | |||
| _FixedAssetGroup | _FixedAssetGroup | |||
| _InvestmentOrder | _InvestmentOrder | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _Group1AssetEvaluationKey | _Group1AssetEvaluationKey | |||
| _Group2AssetEvaluationKey | _Group2AssetEvaluationKey | |||
| _Group3AssetEvaluationKey | _Group3AssetEvaluationKey | |||
| _Group4AssetEvaluationKey | _Group4AssetEvaluationKey | |||
| _Group5AssetEvaluationKey | _Group5AssetEvaluationKey | |||
| _FiscalYearVariant | I_FixedAssetValue | _FiscalYearVariant | ||
| _LedgerFiscalYearForVariant | _LedgerFiscalYearForVariant | |||
| _FiscalYearPeriodForVariant | _FiscalYearPeriodForVariant | |||
| _FiscalPeriodForVariant | _FiscalPeriodForVariant | |||
| _FixedAssetCountryData | _FixedAssetCountryData | |||
| _FixedAssetNatlClfn | _FixedAssetNatlClfn | |||
| _TaxDepreciationGroup | _TaxDepreciationGroup | |||
| _FinancialManagementArea | _FinancialManagementArea | |||
| _Fund | _Fund | |||
| KEY | AssetDepreciationArea | AssetDepreciationArea | Deprec. Area | |
| KEY | MasterFixedAsset | MasterFixedAsset | Fixed Asset | |
| KEY | FixedAsset | FixedAsset | Sub-number | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | TransactionSubitem | TransactionSubitem | Sub Transaction | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | FiscalPeriod | FiscalPeriod | Tax period | |
| KEY | SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | |
| KEY | AssetAcctTransClassfctn | AssetAcctTransClassfctn | Trans.Type Cat. | |
| KEY | AssetAccountingKeyFigure | I_AssetKeyFigureSetSpec | AssetAccountingKeyFigure | Key Figure |
| KEY | AssetAccountingKeyFigureSet | I_AssetKeyFigureSetSpec | AssetAccountingKeyFigureSet | Key Figure Group |
| KEY | DebitCreditCode | DebitCreditCode | Single-Character Flag | |
| KEY | KeyFigureIsZeroBalance | |||
| LedgerFiscalYear | LedgerFiscalYear | |||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| DepreciationFiscalPeriod | DepreciationFiscalPeriod | Deprec. Period | ||
| AssetAccountingSortedKeyFigure | I_AssetKeyFigureSetSpec | AssetAccountingSortedKeyFigure | KF Code | |
| LedgerGroup | LedgerGroup | Ledger Group | ||
| Country | Country | Venue: Ctry/Reg | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| CountryChartOfAccounts | CountryChartOfAccounts | Chart of Accts | ||
| GLAccount | GLAccount | General Ledger | ||
| AlternativeGLAccount | AlternativeGLAccount | Group Account | ||
| GroupMasterFixedAsset | GroupMasterFixedAsset | |||
| GroupFixedAsset | GroupFixedAsset | |||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| AccountingDocumentCreationDate | AccountingDocumentCreationDate | Journal Entry Date | ||
| CreationTime | CreationTime | Time of Change | ||
| JointVentureCostRecoveryCode | JointVentureCostRecoveryCode | Recovery Ind. | ||
| ChartOfDepreciation | ChartOfDepreciation | |||
| CostCenter | CostCenter | Cost Center | ||
| Plant | Plant | Valuation Area | ||
| BusinessArea | BusinessArea | Business Area | ||
| PersonnelNumber | PersonnelNumber | Personnel No. | ||
| FinancialManagementArea | FinancialManagementArea | FM Area | ||
| Fund | Fund | Sender Fund | ||
| GrantID | GrantID | Sender Grant | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| BudgetPeriod | BudgetPeriod | Budget Period | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| Segment | Segment | Segment number | ||
| FundsCenter | FundsCenter | Funds Center | ||
| AssetTransactionType | AssetTransactionType | Trans.Type | ||
| GLBusinessTransactionType | GLBusinessTransactionType | Transact. Type | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| FinancialStatementVariant | FinancialStatementVariant | |||
| AccountingPrinciple | AccountingPrinciple | AP Ledger/CoCode | ||
| AmountInDisplayCurrency | ||||
| CurrencyRole | ||||
| AssetAccountDetermination | AssetAccountDetermination | Account Determ. | ||
| AssetClass | AssetClass | Asset Class | ||
| AssetCapitalizationDate | AssetCapitalizationDate | Asset Capitalization | ||
| FirstAcquisitionFiscalYear | FirstAcquisitionFiscalYear | Acquisition Yr | ||
| FirstAcquisitionFiscalPeriod | FirstAcquisitionFiscalPeriod | |||
| AssetDeactivationDate | AssetDeactivationDate | |||
| FixedAssetGroup | FixedAssetGroup | |||
| AssetSupplierName | AssetSupplierName | |||
| InvestmentOrder | InvestmentOrder | |||
| BaseUnit | BaseUnit | Unit of Measure | ||
| InventoryIsCounted | InventoryIsCounted | |||
| LastInventoryDate | LastInventoryDate | |||
| Inventory | Inventory | Ci Inventory | ||
| Group1AssetEvaluationKey | Group1AssetEvaluationKey | |||
| Group2AssetEvaluationKey | Group2AssetEvaluationKey | |||
| Group3AssetEvaluationKey | Group3AssetEvaluationKey | |||
| Group4AssetEvaluationKey | Group4AssetEvaluationKey | |||
| Group5AssetEvaluationKey | Group5AssetEvaluationKey | |||
| AssetSerialNumber | AssetSerialNumber | |||
| NationalClassification | NationalClassification | |||
| TaxDepreciationGroup | TaxDepreciationGroup | |||
| WBSElementExternalID | _WBSElement | WBSElementExternalID | WBS Element External ID | |
| _CompanyCode | _CompanyCode | |||
| _Country | _Country | |||
| _CountryChartOfAccounts | _CountryChartOfAccounts | |||
| _DepreciationArea | _DepreciationArea | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _ControllingArea | _ControllingArea | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _FixedAsset | _FixedAsset | |||
| _AssetAccountDetermination | _AssetAccountDetermination | |||
| _AssetClass | _AssetClass | |||
| _Ledger | _Ledger | |||
| _FiscalYear | _FiscalYear | |||
| _FiscalPeriod | _FiscalPeriod | |||
| _FiscalYearPeriod | _FiscalYearPeriod | |||
| _JournalEntry | _JournalEntry | |||
| _SubLedgerAccLineItemType | _SubLedgerAccLineItemType | |||
| _LedgerGroup | _LedgerGroup | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _AlternativeGLAccount | _AlternativeGLAccount | |||
| _AssetAcctTransClassfctn | _AssetAcctTransClassfctn | |||
| _FinancialAccountType | _FinancialAccountType | |||
| _ChartOfDepreciation | _ChartOfDepreciation | |||
| _FinancialStatementVersion | _FinancialStatementVersion | |||
| _AccountingPrinciple | _AccountingPrinciple | |||
| _CostCenter | _CostCenter | |||
| _Plant | _Plant | |||
| _BusinessArea | _BusinessArea | |||
| _ProfitCenter | _ProfitCenter | |||
| _Segment | _Segment | |||
| _FunctionalArea | _FunctionalArea | |||
| _AssetTransactionType | _AssetTransactionType | |||
| _AssetKeyFigure | I_AssetKeyFigureSetSpec | _AssetKeyFigure | ||
| _AssetKeyFigureSet | I_AssetKeyFigureSetSpec | _AssetKeyFigureSet | ||
| _FixedAssetGroup | _FixedAssetGroup | |||
| _InvestmentOrder | _InvestmentOrder | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _Group1AssetEvaluationKey | _Group1AssetEvaluationKey | |||
| _Group2AssetEvaluationKey | _Group2AssetEvaluationKey | |||
| _Group3AssetEvaluationKey | _Group3AssetEvaluationKey | |||
| _Group4AssetEvaluationKey | _Group4AssetEvaluationKey | |||
| _Group5AssetEvaluationKey | _Group5AssetEvaluationKey | |||
| _FiscalYearVariant | I_FixedAssetValue | _FiscalYearVariant | ||
| _LedgerFiscalYearForVariant | _LedgerFiscalYearForVariant | |||
| _FiscalYearPeriodForVariant | _FiscalYearPeriodForVariant | |||
| _FiscalPeriodForVariant | _FiscalPeriodForVariant | |||
| _FixedAssetCountryData | _FixedAssetCountryData | |||
| _FixedAssetNatlClfn | _FixedAssetNatlClfn | |||
| _TaxDepreciationGroup | _TaxDepreciationGroup | |||
| _FinancialManagementArea | _FinancialManagementArea | |||
| _Fund | _Fund | |||
| _BudgetPeriod | _BudgetPeriod |
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_FixedAssetAHSValue.
-- 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: PFASSETAHSVALUE
-- Parameters: P_CurrencyRole : fis_curtp, P_FiscalYear : fis_gjahr, P_FiscalPeriod : fis_period_to, P_AssetAccountingKeyFigureSet : faa_key_figure_set
CREATE VIEW P_FixedAssetAHSValue AS
SELECT
CompanyCode,
AssetDepreciationArea,
MasterFixedAsset,
FixedAsset,
AccountingDocument,
TransactionSubitem,
Ledger,
FiscalYear,
FiscalPeriod,
SubLedgerAcctLineItemType,
AssetAcctTransClassfctn,
AssetAccountingKeyFigure,
AssetAccountingKeyFigureSet,
DebitCreditCode,
cast('' as boolean preserving type) AS KeyFigureIsZeroBalance,
LedgerFiscalYear,
FiscalYearVariant,
FiscalYearPeriod,
DepreciationFiscalPeriod,
AssetAccountingSortedKeyFigure,
LedgerGroup,
Country,
ChartOfAccounts,
CountryChartOfAccounts,
GLAccount,
AlternativeGLAccount,
GroupMasterFixedAsset,
GroupFixedAsset,
FinancialAccountType,
AccountingDocumentCreationDate,
CreationTime,
JointVentureCostRecoveryCode,
ChartOfDepreciation,
CostCenter,
Plant,
BusinessArea,
PersonnelNumber,
FinancialManagementArea,
Fund,
GrantID,
FunctionalArea,
BudgetPeriod,
ProfitCenter,
Segment,
FundsCenter,
AssetTransactionType,
GLBusinessTransactionType,
ControllingArea,
FinancialStatementVariant,
AccountingPrinciple,
:P_CurrencyRole AS CurrencyRole,
AssetAccountDetermination,
AssetClass,
AssetCapitalizationDate,
FirstAcquisitionFiscalYear,
FirstAcquisitionFiscalPeriod,
AssetDeactivationDate,
FixedAssetGroup,
AssetSupplierName,
InvestmentOrder,
BaseUnit,
InventoryIsCounted,
LastInventoryDate,
Inventory,
Group1AssetEvaluationKey,
Group2AssetEvaluationKey,
Group3AssetEvaluationKey,
Group4AssetEvaluationKey,
Group5AssetEvaluationKey,
AssetSerialNumber,
NationalClassification,
TaxDepreciationGroup,
_WBSElement.WBSElementExternalID AS WBSElementExternalID,
I_FixedAssetValue._FiscalYearVariant AS _FiscalYearVariant,
cast('0' as farp_amount_display_crcy) AS AmountInDisplayCurrency,
AssetKeyFigureSetSpec._AssetKeyFigure AS _AssetKeyFigure,
AssetKeyFigureSetSpec._AssetKeyFigureSet AS _AssetKeyFigureSet
FROM I_FixedAssetValueForToFsclPerd
INNER JOIN I_AssetKeyFigureSetSpec AS AssetKeyFigureSetSpec ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_FixedAssetValueForToFsclPerd
;
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