I_FixedAssetAHSValueCube
Asset History Sheet - Cube
I_FixedAssetAHSValueCube (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Accounting and Financial Close
I_FixedAssetAHSValueCube is a Composite CDS View (Cube) that provides data about "Asset History Sheet - Cube" in SAP S/4HANA. It reads from 1 data source (P_FixedAssetAHSValue) and exposes 166 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, Ledger. It has 30 associations to related views.
SAP API Hub
| State | Deprecated |
|---|---|
| Line of Business | Accounting and Financial Close |
| Application Component | FI-AA-IS |
| Package | Accounting and Financial Close for SAP S/4HANA Cloud Private Edition |
| Description | <p>With this CDS view you can form the asset history sheet that shows value changes to the fixed asset balances in a fiscal year for a depreciation area. The asset history sheet enables you to document and explain the balances on fixed assets for every accounting principle, any local regulation, and for management purposes. SAP provides preconfigured key figure groups that you can use for your reporting. These key figure groups bundle key figure codes, such as acquisitions, retirements, transfers, and depreciation. Certain key figure groups can be used to display key figures in a hierarchy.</p> <p>In contrast to the Asset History Sheet CDS view, in this Asset History Sheet Cube CDS view you can select multiple company codes, ledgers and depreciation areas which have the same currency type.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>What are the balances at fiscal year start?</p></li> <li><p>What are the balances of the current year?</p></li> <li><p>What are the balances at the reporting date?</p></li> <li><p>What are the balances of my APC balance sheet accounts?</p></li> <li><p>What are the balances drilled down by the asset?</p></li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_FixedAssetAHSValue | P_FixedAssetAHSValue | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_CurrencyRole | fins_curtp | |
| P_FiscalYear | fis_gjahr | |
| P_FiscalPeriod | fis_period_to | |
| P_AssetAccountingKeyFigureSet | faa_key_figure_set |
Associations (30)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_DepreciationArea | _DepreciationArea | $projection.Ledger = _DepreciationArea.Ledger and $projection.CompanyCode = _DepreciationArea.CompanyCode and $projection.AssetDepreciationArea = _DepreciationArea.AssetDepreciationArea |
| [0..1] | I_FxdAstAssgmtByFsclPerdEndDte | _AssignmentByFiscalPeriodEnd | $projection.CompanyCode = _AssignmentByFiscalPeriodEnd.CompanyCode and $projection.Ledger = _AssignmentByFiscalPeriodEnd.Ledger and $projection.AssetDepreciationArea = _AssignmentByFiscalPeriodEnd.AssetDepreciationArea and $projection.MasterFixedAsset = _AssignmentByFiscalPeriodEnd.MasterFixedAsset and $projection.FixedAsset = _AssignmentByFiscalPeriodEnd.FixedAsset |
| [0..1] | I_FxdAstDeprAreaByFsclPerdEnd | _DeprAreaByFiscalPeriodEnd | $projection.CompanyCode = _DeprAreaByFiscalPeriodEnd.CompanyCode and $projection.Ledger = _DeprAreaByFiscalPeriodEnd.Ledger and $projection.AssetDepreciationArea = _DeprAreaByFiscalPeriodEnd.AssetDepreciationArea and $projection.MasterFixedAsset = _DeprAreaByFiscalPeriodEnd.MasterFixedAsset and $projection.FixedAsset = _DeprAreaByFiscalPeriodEnd.FixedAsset |
| [0..1] | I_JournalEntry | _JournalEntry | $projection.CompanyCode = _JournalEntry.CompanyCode and $projection.FiscalYear = _JournalEntry.FiscalYear and $projection.AccountingDocument = _JournalEntry.AccountingDocument |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..*] | I_CostCenter | _AssetCostCenter | $projection.ControllingArea = _AssetCostCenter.ControllingArea and $projection.AssetCostCenter = _AssetCostCenter.CostCenter |
| [0..*] | I_CostCenterActivityType | _AssetCostCenterActivityType | $projection.AssetCostCtrActivityType = _AssetCostCenterActivityType.CostCtrActivityType and $projection.ControllingArea = _AssetCostCenterActivityType.ControllingArea |
| [0..1] | I_BusinessArea | _AssetBusinessArea | $projection.AssetBusinessArea = _AssetBusinessArea.BusinessArea |
| [0..*] | I_ProfitCenter | _AssetProfitCenter | $projection.AssetProfitCenter = _AssetProfitCenter.ProfitCenter and $projection.ControllingArea = _AssetProfitCenter.ControllingArea |
| [0..1] | I_Segment | _AssetSegment | $projection.AssetSegment = _AssetSegment.Segment |
| [0..1] | I_Location | _AssetLocation | $projection.assetlocation = _AssetLocation.Location and $projection.AssetPlant = _AssetLocation.Plant |
| [0..1] | I_Plant | _AssetPlant | $projection.AssetPlant = _AssetPlant.Plant |
| [0..1] | I_DepreciationKey | _DepreciationKey | $projection.ChartOfDepreciation = _DepreciationKey.ChartOfDepreciation and $projection.depreciationkey = _DepreciationKey.DepreciationKey |
| [0..1] | I_InvestmentSupportMeasure | _InvestmentSupportMeasure | $projection.ChartOfDepreciation = _InvestmentSupportMeasure.ChartOfDepreciation and $projection.investmentsupportmeasure = _InvestmentSupportMeasure.InvestmentSupportMeasure |
| [0..1] | I_ChartOfAccounts | _ChartOfAccounts | $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts |
| [0..1] | I_GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount |
| [0..1] | I_GLAccountInChartOfAccounts | _AlternativeGLAccount | $projection.CountryChartOfAccounts = _AlternativeGLAccount.ChartOfAccounts and $projection.AlternativeGLAccount = _AlternativeGLAccount.GLAccount |
| [0..1] | I_GLAccountInChartOfAccounts | _AcqnProdnCostGLAccount | $projection.ChartOfAccounts = _AcqnProdnCostGLAccount.ChartOfAccounts and $projection.acqnprodncostglaccount = _AcqnProdnCostGLAccount.GLAccount |
| [0..1] | I_AssetBalanceSheetAccount | _BalanceSheetAccount | $projection.CompanyCode = _BalanceSheetAccount.CompanyCode and $projection.AssetAccountDetermination = _BalanceSheetAccount.AssetAccountDetermination and $projection.AssetDepreciationArea = _BalanceSheetAccount.AssetRealDepreciationArea |
| [0..1] | I_AssetSortedKeyFigureSetSpec | _AssetSortedKeyFigureSetSpec | $projection.AssetAccountingKeyFigureSet = _AssetSortedKeyFigureSetSpec.AssetAccountingKeyFigureSet and $projection.AssetAccountingSortedKeyFigure = _AssetSortedKeyFigureSetSpec.AssetAccountingSortedKeyFigure |
| [0..1] | I_Currency | _Currency | _Currency.Currency = $projection.DisplayCurrency |
| [1..1] | I_FiscalYearVariant | _FiscalYearVariant | $projection.FiscalYearVariant = _FiscalYearVariant.FiscalYearVariant |
| [0..1] | I_FiscalYearForVariant | _LedgerFiscalYearForVariant | $projection.LedgerFiscalYear = _LedgerFiscalYearForVariant.FiscalYear and $projection.FiscalYearVariant = _LedgerFiscalYearForVariant.FiscalYearVariant |
| [0..1] | I_FiscalYearPeriodForVariant | _FiscalYearPeriodForVariant | $projection.FiscalYearPeriod = _FiscalYearPeriodForVariant.FiscalYearPeriod and $projection.FiscalYearVariant = _FiscalYearPeriodForVariant.FiscalYearVariant |
| [0..1] | I_FiscalPeriodForVariant | _FiscalPeriodForVariant | $projection.LedgerFiscalYear = _FiscalPeriodForVariant.FiscalYear and $projection.FiscalPeriod = _FiscalPeriodForVariant.FiscalPeriod and $projection.FiscalYearVariant = _FiscalPeriodForVariant.FiscalYearVariant |
| [0..1] | I_FunctionalArea | _FunctionalArea | $projection.FunctionalArea = _FunctionalArea.FunctionalArea |
| [0..1] | I_FinancialManagementArea | _FinancialManagementArea | $projection.FinancialManagementArea = _FinancialManagementArea.FinancialManagementArea |
| [0..1] | I_Fund | _Fund | $projection.FinancialManagementArea = _Fund.FinancialManagementArea and $projection.Fund = _Fund.Fund |
| [0..1] | I_BudgetPeriod | _BudgetPeriod | $projection.BudgetPeriod = _BudgetPeriod.BudgetPeriod |
| [1..1] | E_FixedAsset | _Extension | $projection.MasterFixedAsset = _Extension.MasterFixedAsset and $projection.FixedAsset = _Extension.FixedAsset and $projection.CompanyCode = _Extension.CompanyCode |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IASTAHSVALUECUBE | view | |
| AbapCatalog.preserveKey | true | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.dataExtraction.enabled | false | view | |
| EndUserText.label | Asset History Sheet - Cube | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | I_AssetHistorySheetCube | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (166)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AssetDepreciationArea | AssetDepreciationArea | Asset Depreciation Area (Real or Derived) | |
| KEY | MasterFixedAsset | MasterFixedAsset | Fixed Asset | |
| KEY | FixedAsset | FixedAsset | Asset Subnumber | |
| KEY | Ledger | Ledger | Ledger in General Ledger Accounting | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | FiscalPeriod | FiscalPeriod | Fiscal Period | |
| KEY | SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | Subledger-Specific Line Item Type | |
| KEY | AssetAcctTransClassfctn | AssetAcctTransClassfctn | Transaction Type Category | |
| KEY | AssetAccountingKeyFigure | AssetAccountingKeyFigure | Key Figure for Asset Accounting | |
| KEY | AssetAccountingKeyFigureSet | AssetAccountingKeyFigureSet | ||
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | TransactionSubitem | TransactionSubitem | Partial Document to be balanced to zero | |
| KEY | DebitCreditCode | DebitCreditCode | Single-Character Flag | |
| KEY | KeyFigureIsZeroBalance | KeyFigureIsZeroBalance | Boolean Variable (X = True, - = False, Space = Unknown) | |
| LedgerFiscalYear | LedgerFiscalYear | Fiscal Year of Ledger | ||
| FiscalYearVariant | FiscalYearVariant | Fiscal Year Variant | ||
| FiscalYearPeriod | FiscalYearPeriod | Fiscal Year Period | ||
| DepreciationFiscalPeriod | DepreciationFiscalPeriod | Fiscal Period of Depreciation | ||
| AssetAccountingSortedKeyFigure | AssetAccountingSortedKeyFigure | Key Figure Box Number for Asset Accounting | ||
| LedgerGroup | LedgerGroup | Target Ledger Group (Deprecated) | ||
| ChartOfAccounts | P_FixedAssetAHSValue | ChartOfAccounts | Chart of Accounts | |
| AcqnProdnCostGLAccount | _BalanceSheetAccount | AcqnProdnCostGLAccount | Bal. Sheet Account: Acquisition and Production Costs | |
| GLAccount | GLAccount | General Ledger Account | ||
| AlternativeGLAccount | AlternativeGLAccount | Alternative G/L Account Number In Company Code | ||
| GroupMasterFixedAsset | GroupMasterFixedAsset | Group Asset | ||
| GroupFixedAsset | GroupFixedAsset | Group Asset Subnumber | ||
| FinancialAccountType | FinancialAccountType | Financial Account Type | ||
| AccountingDocumentCreationDate | AccountingDocumentCreationDate | Journal Entry Creation Date | ||
| CreationTime | CreationTime | Journal Entry Creation Time | ||
| JointVentureCostRecoveryCode | JointVentureCostRecoveryCode | Joint Venture Cost Recovery Code | ||
| ChartOfDepreciation | ChartOfDepreciation | Chart of Depreciaton for Asset Valuation | ||
| CostCenter | CostCenter | Cost Center | ||
| Plant | Plant | Valuation Area | ||
| BusinessArea | BusinessArea | Business Area | ||
| PersonnelNumber | PersonnelNumber | Personnel Number | ||
| FinancialManagementArea | FinancialManagementArea | Financial Management 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 for Segmental Reporting | ||
| FundsCenter | FundsCenter | Funds Management Center | ||
| AssetTransactionType | AssetTransactionType | Asset Transaction Type | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CountryChartOfAccounts | CountryChartOfAccounts | Alternative Chart of Accounts for Country/Region | ||
| FinancialStatementVariant | FinancialStatementVariant | Financial Statement Version | ||
| AccountingPrinciple | AccountingPrinciple | Accounting Principle | ||
| DisplayCurrency | DisplayCurrency | Display Currency | ||
| AmountInDisplayCurrency | AmountInDisplayCurrency | Amount in Display Currency | ||
| CurrencyRole | CurrencyRole | Curr./Val. Type | ||
| AssetAccountDetermination | P_FixedAssetAHSValue | AssetAccountDetermination | Account Determination | |
| AssetClass | AssetClass | Asset Class | ||
| AssetCapitalizationDate | AssetCapitalizationDate | Asset Capitalization Date | ||
| FirstAcquisitionFiscalYear | FirstAcquisitionFiscalYear | Fiscal Year in Which First Acquisition Was Posted | ||
| FirstAcquisitionFiscalPeriod | FirstAcquisitionFiscalPeriod | Period in Which First Acquisition Was Posted | ||
| AssetDeactivationDate | AssetDeactivationDate | Deactivation Date | ||
| FixedAssetGroup | FixedAssetGroup | Asset Super Number | ||
| AssetSupplierName | AssetSupplierName | Name of asset supplier | ||
| InvestmentOrder | InvestmentOrder | Investment Order | ||
| BaseUnit | BaseUnit | Base Unit of Measure | ||
| InventoryIsCounted | InventoryIsCounted | Inventory Indicator | ||
| LastInventoryDate | LastInventoryDate | Last Inventory Date | ||
| Inventory | Inventory | Inventory Number | ||
| Group1AssetEvaluationKey | Group1AssetEvaluationKey | Evaluation group 1 | ||
| Group2AssetEvaluationKey | Group2AssetEvaluationKey | Evaluation Group 2 | ||
| Group3AssetEvaluationKey | Group3AssetEvaluationKey | Evaluation Group 3 | ||
| Group4AssetEvaluationKey | Group4AssetEvaluationKey | Evaluation group 4 | ||
| Group5AssetEvaluationKey | Group5AssetEvaluationKey | Evaluation Group 5 | ||
| AssetSerialNumber | AssetSerialNumber | Serial number | ||
| AssetCostCenter | Asset Cost Center | |||
| AssetBusinessArea | Asset Business Area | |||
| AssetFund | Fund of Fixed Asset Master | |||
| AssetProfitCenter | Asset Profit Center | |||
| AssetSegment | Segment for Segmental Reporting | |||
| AssetPlant | Asset Plant | |||
| AssetBudgetPeriod | Budget Period of a Fixed Asset | |||
| AssetGrant | Grant of a Fixed Asset | |||
| AssetCostCtrActivityType | Asset Activity Type | |||
| AssetLocation | Asset location | |||
| RealEstateObject | Internal Key of Real Estate Object (Deprecated) | |||
| AssetFundsCenter | Asset Funds Center | |||
| Room | Room | |||
| VehicleLicensePlateNumber | License Plate No. of Vehicle | |||
| InvestmentSupportMeasure | Investment Support Key | |||
| DepreciationStartDate | Depreciation Calculation Start Date | |||
| SpecialDeprStartDate | Start date for special depreciation | |||
| DepreciationKey | Depreciation key | |||
| PlannedUsefulLifeInYears | Planned Useful Life in Years | |||
| PlannedUsefulLifeInPeriods | Planned Useful Life in Periods | |||
| OriglAstUsefulLifeInYears | Original useful life in years | |||
| OriglAstUsefulLifeInPerds | Original Useful Life in Periods | |||
| DeprKeyChangeoverYear | Changeover Year of Depreciation Key | |||
| DeprKeyChangeoverPeriod | Changeover Period of Depreciation Key | |||
| VintageYear | Acquisition Year | |||
| VintageMonth | Acquisition Month | |||
| ReplacementValueIndexSers | Index series for replacement values | |||
| RplcmtValueAgingIndexSers | Age-dependent Index Series | |||
| Country | Country | Country/Region Key | ||
| NationalClassification | NationalClassification | National Classification Code | ||
| TaxDepreciationGroup | TaxDepreciationGroup | Tax Depreciation Group | ||
| WBSElementExternalID | WBSElementExternalID | Work Breakdown Structure Element (WBS Element) Edited | ||
| _CompanyCode | _CompanyCode | |||
| _CountryChartOfAccounts | _CountryChartOfAccounts | |||
| _DepreciationArea | _DepreciationArea | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _ControllingArea | _ControllingArea | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _FixedAsset | _FixedAsset | |||
| _AssetAccountDetermination | P_FixedAssetAHSValue | _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 | |||
| _AssetCostCenter | _AssetCostCenter | |||
| _AssetBusinessArea | _AssetBusinessArea | |||
| _AssetProfitCenter | _AssetProfitCenter | |||
| _AssetSegment | _AssetSegment | |||
| _AssetPlant | _AssetPlant | |||
| _AssetCostCenterActivityType | _AssetCostCenterActivityType | |||
| _AssetLocation | _AssetLocation | |||
| _AssetKeyFigure | _AssetKeyFigure | |||
| _AssetKeyFigureSet | _AssetKeyFigureSet | |||
| _AssetSortedKeyFigureSetSpec | _AssetSortedKeyFigureSetSpec | |||
| _Currency | _Currency | |||
| _FixedAssetGroup | _FixedAssetGroup | |||
| _InvestmentOrder | _InvestmentOrder | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _Group1AssetEvaluationKey | _Group1AssetEvaluationKey | |||
| _Group2AssetEvaluationKey | _Group2AssetEvaluationKey | |||
| _Group3AssetEvaluationKey | _Group3AssetEvaluationKey | |||
| _Group4AssetEvaluationKey | _Group4AssetEvaluationKey | |||
| _Group5AssetEvaluationKey | _Group5AssetEvaluationKey | |||
| _InvestmentSupportMeasure | _InvestmentSupportMeasure | |||
| _DepreciationKey | _DepreciationKey | |||
| _AcqnProdnCostGLAccount | _AcqnProdnCostGLAccount | |||
| _FiscalYearVariant | _FiscalYearVariant | |||
| _LedgerFiscalYearForVariant | _LedgerFiscalYearForVariant | |||
| _FiscalYearPeriodForVariant | _FiscalYearPeriodForVariant | |||
| _FiscalPeriodForVariant | _FiscalPeriodForVariant | |||
| _FixedAssetCountryData | _FixedAssetCountryData | |||
| _FixedAssetNatlClfn | _FixedAssetNatlClfn | |||
| _TaxDepreciationGroup | _TaxDepreciationGroup | |||
| _Country | _Country | |||
| _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 I_FixedAssetAHSValueCube.
-- 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_CurrencyRole : fins_curtp, P_FiscalYear : fis_gjahr, P_FiscalPeriod : fis_period_to, P_AssetAccountingKeyFigureSet : faa_key_figure_set
CREATE VIEW I_FixedAssetAHSValueCube AS
SELECT
CompanyCode,
AssetDepreciationArea,
MasterFixedAsset,
FixedAsset,
Ledger,
FiscalYear,
FiscalPeriod,
SubLedgerAcctLineItemType,
AssetAcctTransClassfctn,
AssetAccountingKeyFigure,
AssetAccountingKeyFigureSet,
AccountingDocument,
TransactionSubitem,
DebitCreditCode,
KeyFigureIsZeroBalance,
LedgerFiscalYear,
FiscalYearVariant,
FiscalYearPeriod,
DepreciationFiscalPeriod,
AssetAccountingSortedKeyFigure,
LedgerGroup,
P_FixedAssetAHSValue.ChartOfAccounts AS ChartOfAccounts,
_BalanceSheetAccount.AcqnProdnCostGLAccount AS AcqnProdnCostGLAccount,
GLAccount,
AlternativeGLAccount,
GroupMasterFixedAsset,
GroupFixedAsset,
FinancialAccountType,
AccountingDocumentCreationDate,
CreationTime,
JointVentureCostRecoveryCode,
ChartOfDepreciation,
CostCenter,
Plant,
BusinessArea,
PersonnelNumber,
FinancialManagementArea,
Fund,
GrantID,
FunctionalArea,
BudgetPeriod,
ProfitCenter,
Segment,
FundsCenter,
AssetTransactionType,
ControllingArea,
CountryChartOfAccounts,
FinancialStatementVariant,
AccountingPrinciple,
DisplayCurrency,
AmountInDisplayCurrency,
CurrencyRole,
P_FixedAssetAHSValue.AssetAccountDetermination AS AssetAccountDetermination,
AssetClass,
AssetCapitalizationDate,
FirstAcquisitionFiscalYear,
FirstAcquisitionFiscalPeriod,
AssetDeactivationDate,
FixedAssetGroup,
AssetSupplierName,
InvestmentOrder,
BaseUnit,
InventoryIsCounted,
LastInventoryDate,
Inventory,
Group1AssetEvaluationKey,
Group2AssetEvaluationKey,
Group3AssetEvaluationKey,
Group4AssetEvaluationKey,
Group5AssetEvaluationKey,
AssetSerialNumber,
cast (_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).CostCenter as faa_kostl) AS AssetCostCenter,
cast (_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).BusinessArea as faa_gsber) AS AssetBusinessArea,
cast (_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).Fund as faa_bp_geber) AS AssetFund,
cast (_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).ProfitCenter as faa_prctr) AS AssetProfitCenter,
cast (_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).Segment as faa_fb_segment) AS AssetSegment,
cast (_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).Plant as faa_werks) AS AssetPlant,
cast(_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).BudgetPeriod as faa_budget_period) AS AssetBudgetPeriod,
cast (_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).GrantID as faa_grant_nbr) AS AssetGrant,
cast (_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).CostCtrActivityType as faa_lstar) AS AssetCostCtrActivityType,
_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).AssetLocation AS AssetLocation,
_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).RealEstateObject AS RealEstateObject,
cast (_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).FundsCenter as faa_fistl) AS AssetFundsCenter,
_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).Room AS Room,
_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).VehicleLicensePlateNumber AS VehicleLicensePlateNumber,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).InvestmentSupportMeasure AS InvestmentSupportMeasure,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).DepreciationStartDate AS DepreciationStartDate,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).SpecialDeprStartDate AS SpecialDeprStartDate,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).DepreciationKey AS DepreciationKey,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).PlannedUsefulLifeInYears AS PlannedUsefulLifeInYears,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).PlannedUsefulLifeInPeriods AS PlannedUsefulLifeInPeriods,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).OriglAstUsefulLifeInYears AS OriglAstUsefulLifeInYears,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).OriglAstUsefulLifeInPerds AS OriglAstUsefulLifeInPerds,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).DeprKeyChangeoverYear AS DeprKeyChangeoverYear,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).DeprKeyChangeoverPeriod AS DeprKeyChangeoverPeriod,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).VintageYear AS VintageYear,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).VintageMonth AS VintageMonth,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).ReplacementValueIndexSers AS ReplacementValueIndexSers,
_DeprAreaByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_FiscalPeriod).RplcmtValueAgingIndexSers AS RplcmtValueAgingIndexSers,
Country,
NationalClassification,
TaxDepreciationGroup,
WBSElementExternalID,
P_FixedAssetAHSValue._AssetAccountDetermination AS _AssetAccountDetermination
FROM P_FixedAssetAHSValue
LEFT OUTER JOIN I_DepreciationArea AS _DepreciationArea ON Ledger = _DepreciationArea.Ledger AND CompanyCode = _DepreciationArea.CompanyCode AND AssetDepreciationArea = _DepreciationArea.AssetDepreciationArea -- association [0..1]
LEFT OUTER JOIN I_FxdAstAssgmtByFsclPerdEndDte AS _AssignmentByFiscalPeriodEnd ON CompanyCode = _AssignmentByFiscalPeriodEnd.CompanyCode AND Ledger = _AssignmentByFiscalPeriodEnd.Ledger AND AssetDepreciationArea = _AssignmentByFiscalPeriodEnd.AssetDepreciationArea AND MasterFixedAsset = _AssignmentByFiscalPeriodEnd.MasterFixedAsset AND FixedAsset = _AssignmentByFiscalPeriodEnd.FixedAsset -- association [0..1]
LEFT OUTER JOIN I_FxdAstDeprAreaByFsclPerdEnd AS _DeprAreaByFiscalPeriodEnd ON CompanyCode = _DeprAreaByFiscalPeriodEnd.CompanyCode AND Ledger = _DeprAreaByFiscalPeriodEnd.Ledger AND AssetDepreciationArea = _DeprAreaByFiscalPeriodEnd.AssetDepreciationArea AND MasterFixedAsset = _DeprAreaByFiscalPeriodEnd.MasterFixedAsset AND FixedAsset = _DeprAreaByFiscalPeriodEnd.FixedAsset -- association [0..1]
LEFT OUTER JOIN I_JournalEntry AS _JournalEntry ON CompanyCode = _JournalEntry.CompanyCode AND FiscalYear = _JournalEntry.FiscalYear AND AccountingDocument = _JournalEntry.AccountingDocument -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _AssetCostCenter ON ControllingArea = _AssetCostCenter.ControllingArea AND AssetCostCenter = _AssetCostCenter.CostCenter -- association [0..*]
LEFT OUTER JOIN I_CostCenterActivityType AS _AssetCostCenterActivityType ON AssetCostCtrActivityType = _AssetCostCenterActivityType.CostCtrActivityType AND ControllingArea = _AssetCostCenterActivityType.ControllingArea -- association [0..*]
LEFT OUTER JOIN I_BusinessArea AS _AssetBusinessArea ON AssetBusinessArea = _AssetBusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _AssetProfitCenter ON AssetProfitCenter = _AssetProfitCenter.ProfitCenter AND ControllingArea = _AssetProfitCenter.ControllingArea -- association [0..*]
LEFT OUTER JOIN I_Segment AS _AssetSegment ON AssetSegment = _AssetSegment.Segment -- association [0..1]
LEFT OUTER JOIN I_Location AS _AssetLocation ON assetlocation = _AssetLocation.Location AND AssetPlant = _AssetLocation.Plant -- association [0..1]
LEFT OUTER JOIN I_Plant AS _AssetPlant ON AssetPlant = _AssetPlant.Plant -- association [0..1]
LEFT OUTER JOIN I_DepreciationKey AS _DepreciationKey ON ChartOfDepreciation = _DepreciationKey.ChartOfDepreciation AND depreciationkey = _DepreciationKey.DepreciationKey -- association [0..1]
LEFT OUTER JOIN I_InvestmentSupportMeasure AS _InvestmentSupportMeasure ON ChartOfDepreciation = _InvestmentSupportMeasure.ChartOfDepreciation AND investmentsupportmeasure = _InvestmentSupportMeasure.InvestmentSupportMeasure -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND GLAccount = _GLAccountInChartOfAccounts.GLAccount -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _AlternativeGLAccount ON CountryChartOfAccounts = _AlternativeGLAccount.ChartOfAccounts AND AlternativeGLAccount = _AlternativeGLAccount.GLAccount -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _AcqnProdnCostGLAccount ON ChartOfAccounts = _AcqnProdnCostGLAccount.ChartOfAccounts AND acqnprodncostglaccount = _AcqnProdnCostGLAccount.GLAccount -- association [0..1]
LEFT OUTER JOIN I_AssetBalanceSheetAccount AS _BalanceSheetAccount ON CompanyCode = _BalanceSheetAccount.CompanyCode AND AssetAccountDetermination = _BalanceSheetAccount.AssetAccountDetermination AND AssetDepreciationArea = _BalanceSheetAccount.AssetRealDepreciationArea -- association [0..1]
LEFT OUTER JOIN I_AssetSortedKeyFigureSetSpec AS _AssetSortedKeyFigureSetSpec ON AssetAccountingKeyFigureSet = _AssetSortedKeyFigureSetSpec.AssetAccountingKeyFigureSet AND AssetAccountingSortedKeyFigure = _AssetSortedKeyFigureSetSpec.AssetAccountingSortedKeyFigure -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON _Currency.Currency = DisplayCurrency -- association [0..1]
LEFT OUTER JOIN I_FiscalYearVariant AS _FiscalYearVariant ON FiscalYearVariant = _FiscalYearVariant.FiscalYearVariant -- association [1..1]
LEFT OUTER JOIN I_FiscalYearForVariant AS _LedgerFiscalYearForVariant ON LedgerFiscalYear = _LedgerFiscalYearForVariant.FiscalYear AND FiscalYearVariant = _LedgerFiscalYearForVariant.FiscalYearVariant -- association [0..1]
LEFT OUTER JOIN I_FiscalYearPeriodForVariant AS _FiscalYearPeriodForVariant ON FiscalYearPeriod = _FiscalYearPeriodForVariant.FiscalYearPeriod AND FiscalYearVariant = _FiscalYearPeriodForVariant.FiscalYearVariant -- association [0..1]
LEFT OUTER JOIN I_FiscalPeriodForVariant AS _FiscalPeriodForVariant ON LedgerFiscalYear = _FiscalPeriodForVariant.FiscalYear AND FiscalPeriod = _FiscalPeriodForVariant.FiscalPeriod AND FiscalYearVariant = _FiscalPeriodForVariant.FiscalYearVariant -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea -- association [0..1]
LEFT OUTER JOIN I_FinancialManagementArea AS _FinancialManagementArea ON FinancialManagementArea = _FinancialManagementArea.FinancialManagementArea -- association [0..1]
LEFT OUTER JOIN I_Fund AS _Fund ON FinancialManagementArea = _Fund.FinancialManagementArea AND Fund = _Fund.Fund -- association [0..1]
LEFT OUTER JOIN I_BudgetPeriod AS _BudgetPeriod ON BudgetPeriod = _BudgetPeriod.BudgetPeriod -- association [0..1]
LEFT OUTER JOIN E_FixedAsset AS _Extension ON MasterFixedAsset = _Extension.MasterFixedAsset AND FixedAsset = _Extension.FixedAsset AND CompanyCode = _Extension.CompanyCode -- association [1..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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