C_AssetHistorySheet

DDL: C_ASSETHISTORYSHEET Type: view CONSUMPTION

Asset History Sheet

C_AssetHistorySheet (Consumption)

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

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 104 fields.

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?

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

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-AA-IS
CapabilitiesAnalytical Query
PackageAccounting 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>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 (104)

KeyFieldSource TableSource FieldDescription
resultElementCompanyCode
resultElementLedger
resultElementAssetDepreciationArea
resultElementFiscalYear
resultElementFiscalPeriod
resultElementCompanyCodeCurrencyRole
resultElementFiscalPeriodEndDate
resultElementSelectedCurrencyBranch
AssetAccountDetermination Account Determination
AmountInDisplayCurrency Balance Amount
AssetDepreciationArea AssetDepreciationArea Asset Depreciation Area (Real or Derived)
GroupMasterFixedAsset Group Asset
GroupFixedAsset Group Asset Subnumber
InvestmentSupportMeasure InvestmentSupportMeasure Investment Support Key
DepreciationStartDate DepreciationStartDate Depreciation Calculation Start Date
SpecialDeprStartDate SpecialDeprStartDate Start date for special depreciation
DepreciationKey DepreciationKey Depreciation key
PlannedUsefulLifeInYears PlannedUsefulLifeInYears Planned Useful Life in Years
PlannedUsefulLifeInPeriods PlannedUsefulLifeInPeriods Planned Useful Life in Periods
Country Country Country/Region Key
NationalClassification NationalClassification National Classification Code
TaxDepreciationGroup TaxDepreciationGroup Tax Depreciation Group
AccountingDocument AccountingDocument Journal Entry
Room Room Room Number
VehicleLicensePlateNumber VehicleLicensePlateNumber License Plate No. of Vehicle
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
WBSElementExternalID WBSElementExternalID WBS Element External ID
RU_AssetOKOF RU_AssetOKOF OKOF Code
RU_AssetDepreciationGroup RU_AssetDepreciationGroup Depreciation Group
JP_PrptyTxRptCity JP_PrptyTxRptCity Japan: City Code of Property Tax Report
JP_PrptyTxRptClassfctnKey JP_PrptyTxRptClassfctnKey Japan: Classification Key of Property Tax Report
AssetAdditionalDescription AssetAdditionalDescription Additional Asset Description
AssetClass AssetHistory AssetClass Asset Class
AssetAccountingKeyFigure AssetHistory AssetAccountingSortedKeyFigure Key Figure Box Number for Asset Accounting
DisplayCurrency AssetHistory DisplayCurrency Display Currency
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
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
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
FixedAsset AssetHistory FixedAsset 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
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 vendor (other key word)
AssetSupplierName AssetHistory AssetSupplierName Name of asset supplier
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

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: 'AssetDepreciationArea' AS resultElementAssetDepreciationArea,
  resultElement: 'FiscalYear' AS resultElementFiscalYear,
  resultElement: 'FiscalPeriod' AS resultElementFiscalPeriod,
  resultElement: 'CompanyCodeCurrencyRole' AS resultElementCompanyCodeCurrencyRole,
  resultElement: 'FiscalPeriodEndDate' AS resultElementFiscalPeriodEndDate,
  resultElement: 'SelectedCurrencyBranch' AS resultElementSelectedCurrencyBranch,
  cast ( AssetHistory.AmountInDisplayCurrency as fis_balance_amount) AS AmountInDisplayCurrency,
  AssetDepreciationArea,
  cast(AssetHistory.GroupMasterFixedAsset as fis_anlgr) AS GroupMasterFixedAsset,
  cast(AssetHistory.GroupFixedAsset as fis_anlgr2) AS GroupFixedAsset,
  InvestmentSupportMeasure,
  DepreciationStartDate,
  SpecialDeprStartDate,
  DepreciationKey,
  PlannedUsefulLifeInYears,
  PlannedUsefulLifeInPeriods,
  Country,
  NationalClassification,
  TaxDepreciationGroup,
  AccountingDocument,
  Room,
  VehicleLicensePlateNumber,
  TaxJurisdiction,
  WBSElementExternalID,
  RU_AssetOKOF,
  RU_AssetDepreciationGroup,
  JP_PrptyTxRptCity,
  JP_PrptyTxRptClassfctnKey,
  AssetAdditionalDescription,
  AssetHistory.AssetClass AS AssetClass,
  AssetHistory.AssetAccountingSortedKeyFigure AS AssetAccountingKeyFigure,
  AssetHistory.DisplayCurrency AS DisplayCurrency,
  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.ChartOfDepreciation AS ChartOfDepreciation,
  AssetHistory.FiscalYear AS FiscalYear,
  AssetHistory.FiscalPeriod AS FiscalPeriod,
  AssetHistory.FinancialStatementVariant AS FinancialStatementVariant,
  AssetHistory.ControllingArea AS ControllingArea,
  AssetHistory.CostCenter AS CostCenter,
  AssetHistory.ProfitCenter AS ProfitCenter,
  AssetHistory.Segment AS Segment,
  AssetHistory.FundsCenter AS FundsCenter,
  AssetHistory.BusinessArea AS BusinessArea,
  AssetHistory.MasterFixedAsset AS MasterFixedAsset,
  AssetHistory.FixedAsset AS FixedAsset,
  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.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.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
FROM I_AssetHistorySheetCube
;