C_AssetHistorySheet

DDL: C_ASSETHISTORYSHEET Type: view CONSUMPTION Package: FINS_FIS_AA_APPS

Asset History Sheet

C_AssetHistorySheet (Consumption)

Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

C_AssetHistorySheet is a Consumption CDS View that provides data about "Asset History Sheet" in SAP S/4HANA. It reads from 1 data source (I_AssetHistorySheetCube) and exposes 112 fields. Part of development package FINS_FIS_AA_APPS.

SAP Help Documentation

CategoryCDS Views for Transaction Data
Data CategoryCube
StatusReleased
Purpose
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. This CDS view provides the prerequisites for answering the following business questions: What are the balances at fiscal year start? What are the balances of the current year? What are the balances at the reporting date? What are the balances of my APC balance sheet accounts? What are the balances drilled down by the asset?

Prerequisites
You can create reports for Asset Accounting using this CDS view. Users who want to run these reports must have a role based on the Asset Accountant ( SAP_BR_AA_ACCOUNTANT ) business role template. In this role, the following restriction types must be set to read access: Asset Class / Company Code Company Code / Cost Center Company Code / Plant These restriction types are edited in the Maintain Business Roles app.

Structure
Object types This view relates to the following SAP object types: Fixed Asset Journal Entry Views This view is built on the following view: I_FIXEDASSETAHSVALUECUBE Main CDS parameters and filters The main CDS parameters are: P_AssetAccountingKeyFigureSet used to select a key figure group. You can select these values of preconfigured key figure groups provided by SAP: Key Figure Group Description AHS Asset History Sheet for posted values AHS_PLAN Asset History Sheet for planned values AHS_HRY Asset History Sheet for posted values with a hierarchy of the key figures AHS_HRY_PL Asset History Sheet for planned values with a hierarchy of the key figures P_CompanyCode used to limit the company code P_Ledger used to limit the ledger P_AssetDepreciationArea used to limit the depreciation area P_FiscalYear used as the lower and upper limit of the reporting period Note The underlying logic for this input parameter is based on a ledger-dependent fiscal year (Fiscal Year of Ledger), which is the fiscal year for a specific ledger. The classic fiscal year, which is dependent on a company code, isn’t available as an input parameter for this CDS view. P_FiscalPeriod used as the upper limit of the reporting period P_CurrencyRole used to select the currency role. The currency role (together with the ledger and the company code) determines the selected currency branch (parameter P_SelectedCurrencyBranch ) P_FiscalPeriodEndDate used to limit time-dependent entities (for example Fixed Asset Time-Dependent Data) P_SelectedCurrencyBranch used to limit the key figures in display currency (for example company code currency or group currency) Measures and attributes Some important measures and attributes are: Current year acquisitions Current year depreciation Current year transfers Current year retirements Acquisition and production cost (APC) at the reporting date Accumulated depreciation at the reporting date Net book value at the reporting date Asset class APC balance sheet account

Constraints
In order to gain best performance and to select only one currency role, you must filter attribute SelectedCurrencyBranch .

View on SAP Help Portal →

SAP API Hub

CategoryConsumption
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-AA-ANA-2CL
CapabilitiesAnalytical Query
Extensible (Key User)Yes
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public 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>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

Data Sources (1)

SourceAliasJoin Type
I_AssetHistorySheetCube I_AssetHistorySheetCube from

Parameters (12)

NameTypeDefault
P_Language sylangu
P_KeyDate fagl_keydate
P_BusinessUser syuname
P_AssetAccountingKeyFigureSet faa_key_figure_set
P_CompanyCode fis_bukrs
P_Ledger fis_rldnr
P_AssetDepreciationArea fis_afabe
P_FiscalYear fis_ryear
P_FiscalPeriod fis_period_to
P_CurrencyRole fins_curtp
P_FiscalPeriodEndDate fagl_keydate
P_SelectedCurrencyBranch fis_curtp

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CFASTHISTSHEET view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #CONSUMPTION view
Analytics.query true view
Analytics.settings.maxProcessingEffort #UNLIMITED view
EndUserText.label Asset History Sheet view
AbapCatalog.buffering.status #NOT_ALLOWED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.modelingPattern #ANALYTICAL_QUERY view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (112)

KeyFieldSource TableSource FieldDescription
resultElementCompanyCode
resultElementLedger
resultElementFiscalYear
resultElementFiscalPeriod
resultElementCompanyCodeCurrencyRole
resultElementFiscalPeriodEndDate
resultElementSelectedCurrencyBranch
AssetAccountDetermination Account Determination
AssetClass AssetHistory AssetClass Asset Class
AssetAccountingKeyFigure AssetHistory AssetAccountingSortedKeyFigure Key Figure Box Number for Asset Accounting
DisplayCurrency AssetHistory DisplayCurrency Display Currency
AmountInDisplayCurrency Balance Amount
BaseUnit AssetHistory BaseUnit Base Unit of Measure
Quantity AssetHistory Quantity Quantity
AcqnProdnCostGLAccount AssetHistory AcqnProdnCostGLAccount Bal. Sheet Account: Acquisition and Production Costs
ChartOfAccounts AssetHistory ChartOfAccounts Chart of Accounts
CompanyCode AssetHistory CompanyCode Receiver Company Code
LedgerGroup AssetHistory LedgerGroup Target Ledger Group (Deprecated)
Ledger AssetHistory Ledger Ledger in General Ledger Accounting
AssetDepreciationArea AssetHistory AssetDepreciationArea Asset Depreciation Area (Real or Derived)
ChartOfDepreciation AssetHistory ChartOfDepreciation Chart of Depreciaton for Asset Valuation
FiscalYear AssetHistory FiscalYear G/L Fiscal Year
FiscalPeriod AssetHistory FiscalPeriod Fiscal Period
FinancialStatementVariant AssetHistory FinancialStatementVariant Financial Statement Version
ControllingArea AssetHistory ControllingArea Controlling Area
CostCenter AssetHistory CostCenter Cost Center
AssetWBSElementExternalID AssetHistory AssetWBSElementExternalID Asset WBS Element
ProfitCenter AssetHistory ProfitCenter Profit Center
Segment AssetHistory Segment Segment for Segmental Reporting
FundsCenter AssetHistory FundsCenter Funds Management Center
BusinessArea AssetHistory BusinessArea Business Area
MasterFixedAsset AssetHistory MasterFixedAsset Fixed Asset (Main Asset Number)
FixedAsset AssetHistory FixedAsset Asset Subnumber
GroupMasterFixedAsset Group Asset
GroupFixedAsset Group Asset Subnumber
PersonnelNumber AssetHistory PersonnelNumber Personnel Number
AssetPersonnelNumber AssetHistory AssetPersonnelNumber Personnel Number of Fixed Asset Master
FinancialManagementArea AssetHistory FinancialManagementArea Financial Management Area
Fund AssetHistory Fund Sender Fund
GrantID AssetHistory GrantID Sender Grant
FunctionalArea AssetHistory FunctionalArea Sendr Fctl Area
BudgetPeriod AssetHistory BudgetPeriod Budget Period
SubLedgerAcctLineItemType AssetHistory SubLedgerAcctLineItemType Subledger-Specific Line Item Type
AssetTransactionType AssetHistory AssetTransactionType Asset Transaction Type
BusinessTransactionCategory AssetHistory BusinessTransactionCategory Business Transaction Category
BusinessTransactionType AssetHistory BusinessTransactionType Business Transaction Type
FinancialClosingStep AssetHistory FinancialClosingStep Financial Closing Step
AssetAcctTransClassfctn AssetHistory AssetAcctTransClassfctn Transaction Type Category
FinancialAccountType AssetHistory FinancialAccountType Financial Account Type
AccountingDocumentCreationDate AssetHistory AccountingDocumentCreationDate Journal Entry Creation Date
CreationTime AssetHistory CreationTime Journal Entry Creation Time
JointVentureCostRecoveryCode AssetHistory JointVentureCostRecoveryCode Joint Venture Cost Recovery Code
AccountingPrinciple AssetHistory AccountingPrinciple Accounting Principle
FiscalYearVariant AssetHistory FiscalYearVariant Fiscal Year Variant
CountryChartOfAccounts AssetHistory CountryChartOfAccounts Alternative Chart of Accounts for Country/Region
GLAccount AssetHistory GLAccount General Ledger Account
AlternativeGLAccount AssetHistory AlternativeGLAccount Alternative G/L Account Number In Company Code
AssetBusinessArea AssetHistory AssetBusinessArea Asset Business Area
AssetPlant AssetHistory AssetPlant Asset Plant
AssetCostCenter AssetHistory AssetCostCenter Asset Cost Center
AssetProfitCenter AssetHistory AssetProfitCenter Asset Profit Center
AssetSegment AssetHistory AssetSegment Segment for Segmental Reporting
AssetFunctionalArea AssetHistory AssetFunctionalArea Functional Area of Fixed Asset Master
AssetBudgetPeriod AssetHistory AssetBudgetPeriod Budget Period of a Fixed Asset
AssetGrant AssetHistory AssetGrant Grant of Fixed Asset Master
AssetFund AssetHistory AssetFund Fund of Fixed Asset Master
AssetLocation AssetHistory AssetLocation Asset location
REInternalFinNumber AssetHistory REInternalFinNumber Internal Key of Real Estate Object (FI)
RealEstateObject AssetHistory RealEstateObject Internal Key of Real Estate Object (Deprecated)
AssetFundsCenter AssetHistory AssetFundsCenter Asset Funds Center
AssetCostCtrActivityType AssetHistory AssetCostCtrActivityType Asset Activity Type
FirstAcquisitionFiscalYear AssetHistory FirstAcquisitionFiscalYear Fiscal Year in Which First Acquisition Was Posted
FirstAcquisitionFiscalPeriod AssetHistory FirstAcquisitionFiscalPeriod Period in Which First Acquisition Was Posted
AssetCapitalizationDate AssetHistory AssetCapitalizationDate Asset Capitalization Date
AssetDeactivationDate AssetHistory AssetDeactivationDate Deactivation Date
FixedAssetGroup AssetHistory FixedAssetGroup Asset Super Number
Supplier AssetHistory Supplier Account Number of Supplier (Other Key Word)
AssetSupplierName AssetHistory AssetSupplierName Name of Asset Supplier
PartnerCompanyCode AssetHistory PartnerCompanyCode Partner Company Code
PartnerMasterFixedAsset AssetHistory PartnerMasterFixedAsset Partner Fixed Asset (Partner Main Asset Number)
PartnerFixedAsset AssetHistory PartnerFixedAsset Partner Asset Subnumber
InvestmentOrder AssetHistory InvestmentOrder Investment Order
InventoryIsCounted AssetHistory InventoryIsCounted Inventory Indicator
LastInventoryDate AssetHistory LastInventoryDate Last Inventory Date
Inventory AssetHistory Inventory Inventory Number
Group1AssetEvaluationKey AssetHistory Group1AssetEvaluationKey Evaluation Group 1
Group2AssetEvaluationKey AssetHistory Group2AssetEvaluationKey Evaluation Group 2
Group3AssetEvaluationKey AssetHistory Group3AssetEvaluationKey Evaluation Group 3
Group4AssetEvaluationKey AssetHistory Group4AssetEvaluationKey Evaluation Group 4
Group5AssetEvaluationKey AssetHistory Group5AssetEvaluationKey Evaluation Group 5
AssetSerialNumber AssetHistory AssetSerialNumber Serial Number
InvestmentSupportMeasure AssetHistory InvestmentSupportMeasure Investment Support Key
DepreciationStartDate AssetHistory DepreciationStartDate Depreciation Calculation Start Date
SpecialDeprStartDate AssetHistory SpecialDeprStartDate Start Date for Special Depreciation
DepreciationKey AssetHistory DepreciationKey Depreciation Key
PlannedUsefulLifeInYears AssetHistory PlannedUsefulLifeInYears Planned Useful Life in Years
PlannedUsefulLifeInPeriods AssetHistory PlannedUsefulLifeInPeriods Planned Useful Life in Periods
FixedAssetUsageObject AssetHistory FixedAssetUsageObject Usage Object
AssetRevaluationIndex AssetHistory AssetRevaluationIndex Asset Revaluation: Index ID
Country AssetHistory Country Country/Region Key
NationalClassification AssetHistory NationalClassification National Classification Code
TaxDepreciationGroup AssetHistory TaxDepreciationGroup Tax Depreciation Group
AccountingDocument AssetHistory AccountingDocument Journal Entry
Room AssetHistory Room Room Number
VehicleLicensePlateNumber AssetHistory VehicleLicensePlateNumber License Plate No. of Vehicle
TaxJurisdiction AssetHistory TaxJurisdiction Tax Jurisdiction
WBSElementExternalID AssetHistory WBSElementExternalID WBS Element External ID
RU_AssetOKOF AssetHistory RU_AssetOKOF OKOF Code
RU_AssetDepreciationGroup AssetHistory RU_AssetDepreciationGroup Depreciation Group
JP_PrptyTxRptCity AssetHistory JP_PrptyTxRptCity Japan: City Code of Property Tax Report
JP_PrptyTxRptClassfctnKey AssetHistory JP_PrptyTxRptClassfctnKey Japan: Classification Key of Property Tax Report
AssetAdditionalDescription AssetHistory AssetAdditionalDescription Additional Asset Description

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 C_AssetHistorySheet.
-- 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_Language : sylangu, P_KeyDate : fagl_keydate, P_BusinessUser : syuname, P_AssetAccountingKeyFigureSet : faa_key_figure_set, P_CompanyCode : fis_bukrs, P_Ledger : fis_rldnr, P_AssetDepreciationArea : fis_afabe, P_FiscalYear : fis_ryear, P_FiscalPeriod : fis_period_to, P_CurrencyRole : fins_curtp, P_FiscalPeriodEndDate : fagl_keydate, P_SelectedCurrencyBranch : fis_curtp

CREATE VIEW C_AssetHistorySheet AS
SELECT
  resultElement: 'CompanyCode' AS resultElementCompanyCode,
  resultElement: 'Ledger' AS resultElementLedger,
  resultElement: 'FiscalYear' AS resultElementFiscalYear,
  resultElement: 'FiscalPeriod' AS resultElementFiscalPeriod,
  resultElement: 'CompanyCodeCurrencyRole' AS resultElementCompanyCodeCurrencyRole,
  resultElement: 'FiscalPeriodEndDate' AS resultElementFiscalPeriodEndDate,
  resultElement: 'SelectedCurrencyBranch' AS resultElementSelectedCurrencyBranch,
  AssetHistory.AssetClass AS AssetClass,
  AssetHistory.AssetAccountingSortedKeyFigure AS AssetAccountingKeyFigure,
  AssetHistory.DisplayCurrency AS DisplayCurrency,
  cast( AssetHistory.AmountInDisplayCurrency as fis_balance_amount) AS AmountInDisplayCurrency,
  AssetHistory.BaseUnit AS BaseUnit,
  AssetHistory.Quantity AS Quantity,
  AssetHistory.AcqnProdnCostGLAccount AS AcqnProdnCostGLAccount,
  AssetHistory.ChartOfAccounts AS ChartOfAccounts,
  AssetHistory.CompanyCode AS CompanyCode,
  AssetHistory.LedgerGroup AS LedgerGroup,
  AssetHistory.Ledger AS Ledger,
  AssetHistory.AssetDepreciationArea AS AssetDepreciationArea,
  AssetHistory.ChartOfDepreciation AS ChartOfDepreciation,
  AssetHistory.FiscalYear AS FiscalYear,
  AssetHistory.FiscalPeriod AS FiscalPeriod,
  AssetHistory.FinancialStatementVariant AS FinancialStatementVariant,
  AssetHistory.ControllingArea AS ControllingArea,
  AssetHistory.CostCenter AS CostCenter,
  AssetHistory.AssetWBSElementExternalID AS AssetWBSElementExternalID,
  AssetHistory.ProfitCenter AS ProfitCenter,
  AssetHistory.Segment AS Segment,
  AssetHistory.FundsCenter AS FundsCenter,
  AssetHistory.BusinessArea AS BusinessArea,
  AssetHistory.MasterFixedAsset AS MasterFixedAsset,
  AssetHistory.FixedAsset AS FixedAsset,
  cast( AssetHistory.GroupMasterFixedAsset as fis_anlgr ) AS GroupMasterFixedAsset,
  cast( AssetHistory.GroupFixedAsset as fis_anlgr2 ) AS GroupFixedAsset,
  AssetHistory.PersonnelNumber AS PersonnelNumber,
  AssetHistory.AssetPersonnelNumber AS AssetPersonnelNumber,
  AssetHistory.FinancialManagementArea AS FinancialManagementArea,
  AssetHistory.Fund AS Fund,
  AssetHistory.GrantID AS GrantID,
  AssetHistory.FunctionalArea AS FunctionalArea,
  AssetHistory.BudgetPeriod AS BudgetPeriod,
  AssetHistory.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
  AssetHistory.AssetTransactionType AS AssetTransactionType,
  AssetHistory.BusinessTransactionCategory AS BusinessTransactionCategory,
  AssetHistory.BusinessTransactionType AS BusinessTransactionType,
  AssetHistory.FinancialClosingStep AS FinancialClosingStep,
  AssetHistory.AssetAcctTransClassfctn AS AssetAcctTransClassfctn,
  AssetHistory.FinancialAccountType AS FinancialAccountType,
  AssetHistory.AccountingDocumentCreationDate AS AccountingDocumentCreationDate,
  AssetHistory.CreationTime AS CreationTime,
  AssetHistory.JointVentureCostRecoveryCode AS JointVentureCostRecoveryCode,
  AssetHistory.AccountingPrinciple AS AccountingPrinciple,
  AssetHistory.FiscalYearVariant AS FiscalYearVariant,
  AssetHistory.CountryChartOfAccounts AS CountryChartOfAccounts,
  AssetHistory.GLAccount AS GLAccount,
  AssetHistory.AlternativeGLAccount AS AlternativeGLAccount,
  AssetHistory.AssetBusinessArea AS AssetBusinessArea,
  AssetHistory.AssetPlant AS AssetPlant,
  AssetHistory.AssetCostCenter AS AssetCostCenter,
  AssetHistory.AssetProfitCenter AS AssetProfitCenter,
  AssetHistory.AssetSegment AS AssetSegment,
  AssetHistory.AssetFunctionalArea AS AssetFunctionalArea,
  AssetHistory.AssetBudgetPeriod AS AssetBudgetPeriod,
  AssetHistory.AssetGrant AS AssetGrant,
  AssetHistory.AssetFund AS AssetFund,
  AssetHistory.AssetLocation AS AssetLocation,
  AssetHistory.REInternalFinNumber AS REInternalFinNumber,
  AssetHistory.RealEstateObject AS RealEstateObject,
  AssetHistory.AssetFundsCenter AS AssetFundsCenter,
  AssetHistory.AssetCostCtrActivityType AS AssetCostCtrActivityType,
  AssetHistory.FirstAcquisitionFiscalYear AS FirstAcquisitionFiscalYear,
  AssetHistory.FirstAcquisitionFiscalPeriod AS FirstAcquisitionFiscalPeriod,
  AssetHistory.AssetCapitalizationDate AS AssetCapitalizationDate,
  AssetHistory.AssetDeactivationDate AS AssetDeactivationDate,
  AssetHistory.FixedAssetGroup AS FixedAssetGroup,
  AssetHistory.Supplier AS Supplier,
  AssetHistory.AssetSupplierName AS AssetSupplierName,
  AssetHistory.PartnerCompanyCode AS PartnerCompanyCode,
  AssetHistory.PartnerMasterFixedAsset AS PartnerMasterFixedAsset,
  AssetHistory.PartnerFixedAsset AS PartnerFixedAsset,
  AssetHistory.InvestmentOrder AS InvestmentOrder,
  AssetHistory.InventoryIsCounted AS InventoryIsCounted,
  AssetHistory.LastInventoryDate AS LastInventoryDate,
  AssetHistory.Inventory AS Inventory,
  AssetHistory.Group1AssetEvaluationKey AS Group1AssetEvaluationKey,
  AssetHistory.Group2AssetEvaluationKey AS Group2AssetEvaluationKey,
  AssetHistory.Group3AssetEvaluationKey AS Group3AssetEvaluationKey,
  AssetHistory.Group4AssetEvaluationKey AS Group4AssetEvaluationKey,
  AssetHistory.Group5AssetEvaluationKey AS Group5AssetEvaluationKey,
  AssetHistory.AssetSerialNumber AS AssetSerialNumber,
  AssetHistory.InvestmentSupportMeasure AS InvestmentSupportMeasure,
  AssetHistory.DepreciationStartDate AS DepreciationStartDate,
  AssetHistory.SpecialDeprStartDate AS SpecialDeprStartDate,
  AssetHistory.DepreciationKey AS DepreciationKey,
  AssetHistory.PlannedUsefulLifeInYears AS PlannedUsefulLifeInYears,
  AssetHistory.PlannedUsefulLifeInPeriods AS PlannedUsefulLifeInPeriods,
  AssetHistory.FixedAssetUsageObject AS FixedAssetUsageObject,
  AssetHistory.AssetRevaluationIndex AS AssetRevaluationIndex,
  AssetHistory.Country AS Country,
  AssetHistory.NationalClassification AS NationalClassification,
  AssetHistory.TaxDepreciationGroup AS TaxDepreciationGroup,
  AssetHistory.AccountingDocument AS AccountingDocument,
  AssetHistory.Room AS Room,
  AssetHistory.VehicleLicensePlateNumber AS VehicleLicensePlateNumber,
  AssetHistory.TaxJurisdiction AS TaxJurisdiction,
  AssetHistory.WBSElementExternalID AS WBSElementExternalID,
  AssetHistory.RU_AssetOKOF AS RU_AssetOKOF,
  AssetHistory.RU_AssetDepreciationGroup AS RU_AssetDepreciationGroup,
  AssetHistory.JP_PrptyTxRptCity AS JP_PrptyTxRptCity,
  AssetHistory.JP_PrptyTxRptClassfctnKey AS JP_PrptyTxRptClassfctnKey,
  AssetHistory.AssetAdditionalDescription AS AssetAdditionalDescription
FROM I_AssetHistorySheetCube
;