C_AssetBalance

DDL: C_ASSETBALANCE Type: view CONSUMPTION

Asset Balances

C_AssetBalance (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_AssetBalance is a Consumption CDS View that provides data about "Asset Balances" in SAP S/4HANA. It reads from 1 data source (I_AssetBalanceCube) and exposes 104 fields.

SAP Help Documentation

CategoryCDS Views for Transaction Data
Data CategoryCube
StatusReleased
Purpose
With this view, you can form balances of various dimensions of the fixed asset and the journal entry including the most important business entities, such as company code, depreciation area, segment, APC balance sheet account or profit center. The report enables you to understand the net book value of fixed assets derived from acquisition and production costs (APC) and depreciation. SAP provides preconfigured key figure groups that you can use for your reporting. These key figure groups bundle key figure codes, such as acquisition and production cost, cumulative depreciation and netbook value at reporting date This CDS view provides the prerequisites for answering the following business questions: What are my acquisition and production costs (APC) at the reporting date? What is my planned accumulated depreciation for each depreciation type at the reporting date? What Is my accumulated depreciation for each depreciation type posted in the general ledger at the reporting date? What is my net book value at the reporting date? 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_AssetBalanceCube 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: ABS_DEF (Asset Balances for planned values) ABS_POSTED (Asset Balances for posted values) DEPR_TOTAL (Total Depreciation with posted and to be posted values) DEPR_WRUP (Write-Ups) 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 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 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 exclude retired fixed assets from the selection and limit time-dependent entities 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: Acquisition and production cost (APC) at the reporting date Accumulated depreciation by depreciation type (such as ordinary depreciation) at the reporting date Net book value at reporting date Asset class APC balance sheet account

Constraints
The view selects only assets which are not retired on the reporting date, that is, on the last day of the fiscal year period provided in P_FiscalYear and P_FiscalPeriod .

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 view, you can form balances of various dimensions of the fixed asset and the journal entry including the most important business entities, such as company code, depreciation area, segment, APC balance sheet account or profit center. The report enables you to understand the net book value of fixed assets derived from acquisition and production costs (APC) and depreciation. SAP provides preconfigured key figure groups that you can use for your reporting. These key figure groups bundle key figure codes, such as acquisition and production cost, cumulative depreciation and netbook value at reporting date</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>What are my acquisition and production costs (APC) at the reporting date?</p></li> <li><p>What is my planned accumulated depreciation for each depreciation type at the reporting date?</p></li> <li><p>What Is my accumulated depreciation for each depreciation type posted in the general ledger at the reporting date?</p></li> <li><p>What is my net book value at the reporting date?</p></li> <li><p>What are the balances drilled down by the asset?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_AssetBalanceCube I_AssetBalanceCube 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 (13)

NameValueLevelField
AbapCatalog.sqlViewName CFASTBALANCE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #CONSUMPTION view
Analytics.query true view
EndUserText.label Asset Balances 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
AlternativeGLAccount AlternativeGLAccount Alternative G/L Account Number In Company Code
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 AssetBal AssetClass Asset Class
AssetAccountingKeyFigure AssetBal AssetAccountingSortedKeyFigure Key Figure Box Number for Asset Accounting
DisplayCurrency AssetBal DisplayCurrency Display Currency
BaseUnit AssetBal BaseUnit Base Unit of Measure
Quantity AssetBal Quantity Quantity
AcqnProdnCostGLAccount AssetBal AcqnProdnCostGLAccount Bal. Sheet Account: Acquisition and Production Costs
ChartOfAccounts AssetBal ChartOfAccounts Chart of Accounts
CompanyCode AssetBal CompanyCode Receiver Company Code
LedgerGroup AssetBal LedgerGroup Target Ledger Group (Deprecated)
Ledger AssetBal Ledger Ledger in General Ledger Accounting
ChartOfDepreciation AssetBal ChartOfDepreciation Chart of Depreciaton for Asset Valuation
FiscalYear AssetBal FiscalYear G/L Fiscal Year
FiscalPeriod AssetBal FiscalPeriod Fiscal Period
FinancialStatementVariant AssetBal FinancialStatementVariant Financial Statement Version
ControllingArea AssetBal ControllingArea Controlling Area
AssetPlant AssetBal AssetPlant Asset Plant
CostCenter AssetBal CostCenter Cost Center
ProfitCenter AssetBal ProfitCenter Profit Center
Segment AssetBal Segment Segment for Segmental Reporting
FundsCenter AssetBal FundsCenter Funds Management Center
BusinessArea AssetBal BusinessArea Business Area
MasterFixedAsset AssetBal MasterFixedAsset Fixed Asset
FixedAsset AssetBal FixedAsset Asset Subnumber
PersonnelNumber AssetBal PersonnelNumber Personnel Number
AssetPersonnelNumber AssetBal AssetPersonnelNumber Personnel Number of Fixed Asset Master
FinancialManagementArea AssetBal FinancialManagementArea Financial Management Area
Fund AssetBal Fund Sender Fund
GrantID AssetBal GrantID Sender Grant
FunctionalArea AssetBal FunctionalArea Sendr Fctl Area
BudgetPeriod AssetBal BudgetPeriod Budget Period
SubLedgerAcctLineItemType AssetBal SubLedgerAcctLineItemType Subledger-Specific Line Item Type
AssetTransactionType AssetBal AssetTransactionType Asset Transaction Type
AssetAcctTransClassfctn AssetBal AssetAcctTransClassfctn Transaction Type Category
FinancialAccountType AssetBal FinancialAccountType Financial Account Type
AccountingDocumentCreationDate AssetBal AccountingDocumentCreationDate Journal Entry Creation Date
CreationTime AssetBal CreationTime Journal Entry Creation Time
JointVentureCostRecoveryCode AssetBal JointVentureCostRecoveryCode Joint Venture Cost Recovery Code
AccountingPrinciple AssetBal AccountingPrinciple Accounting Principle
FiscalYearVariant AssetBal FiscalYearVariant Fiscal Year Variant
CountryChartOfAccounts AssetBal CountryChartOfAccounts Alternative Chart of Accounts for Country/Region
GLAccount AssetBal GLAccount General Ledger Account
AssetBusinessArea AssetBal AssetBusinessArea Asset Business Area
AssetCostCenter AssetBal AssetCostCenter Asset Cost Center
AssetProfitCenter AssetBal AssetProfitCenter Asset Profit Center
AssetSegment AssetBal AssetSegment Segment for Segmental Reporting
AssetFunctionalArea AssetBal AssetFunctionalArea Functional Area of Fixed Asset Master
AssetBudgetPeriod AssetBal AssetBudgetPeriod Budget Period of a Fixed Asset
AssetGrant AssetBal AssetGrant Grant of Fixed Asset Master
AssetFund AssetBal AssetFund Fund of Fixed Asset Master
AssetLocation AssetBal AssetLocation Asset location
AssetFundsCenter AssetBal AssetFundsCenter Asset Funds Center
REInternalFinNumber AssetBal REInternalFinNumber Internal Key of Real Estate Object (FI)
RealEstateObject AssetBal RealEstateObject Internal Key of Real Estate Object (Deprecated)
AssetCostCtrActivityType AssetBal AssetCostCtrActivityType Asset Activity Type
FirstAcquisitionFiscalYear AssetBal FirstAcquisitionFiscalYear Fiscal Year in Which First Acquisition Was Posted
FirstAcquisitionFiscalPeriod AssetBal FirstAcquisitionFiscalPeriod Period in Which First Acquisition Was Posted
AssetCapitalizationDate AssetBal AssetCapitalizationDate Asset Capitalization Date
AssetDeactivationDate AssetBal AssetDeactivationDate Deactivation Date
FixedAssetGroup AssetBal FixedAssetGroup Asset Super Number
Supplier AssetBal Supplier Account number of vendor (other key word)
AssetSupplierName AssetBal AssetSupplierName Name of asset supplier
InvestmentOrder AssetBal InvestmentOrder Investment Order
InventoryIsCounted AssetBal InventoryIsCounted Inventory Indicator
LastInventoryDate AssetBal LastInventoryDate Last Inventory Date
Inventory AssetBal Inventory Inventory Number
Group1AssetEvaluationKey AssetBal Group1AssetEvaluationKey Evaluation group 1
Group2AssetEvaluationKey AssetBal Group2AssetEvaluationKey Evaluation Group 2
Group3AssetEvaluationKey AssetBal Group3AssetEvaluationKey Evaluation Group 3
Group4AssetEvaluationKey AssetBal Group4AssetEvaluationKey Evaluation group 4
Group5AssetEvaluationKey AssetBal Group5AssetEvaluationKey Evaluation Group 5
AssetSerialNumber AssetBal 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_AssetBalance.
-- 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_AssetBalance 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 ( AssetBal.AmountInDisplayCurrency as fis_balance_amount ) AS AmountInDisplayCurrency,
  AssetDepreciationArea,
  cast(AssetBal.GroupMasterFixedAsset as fis_anlgr) AS GroupMasterFixedAsset,
  cast(AssetBal.GroupFixedAsset as fis_anlgr2) AS GroupFixedAsset,
  AlternativeGLAccount,
  InvestmentSupportMeasure,
  DepreciationStartDate,
  SpecialDeprStartDate,
  DepreciationKey,
  PlannedUsefulLifeInYears,
  PlannedUsefulLifeInPeriods,
  Country,
  NationalClassification,
  TaxDepreciationGroup,
  AccountingDocument,
  Room,
  VehicleLicensePlateNumber,
  TaxJurisdiction,
  WBSElementExternalID,
  RU_AssetOKOF,
  RU_AssetDepreciationGroup,
  JP_PrptyTxRptCity,
  JP_PrptyTxRptClassfctnKey,
  AssetAdditionalDescription,
  AssetBal.AssetClass AS AssetClass,
  AssetBal.AssetAccountingSortedKeyFigure AS AssetAccountingKeyFigure,
  AssetBal.DisplayCurrency AS DisplayCurrency,
  AssetBal.BaseUnit AS BaseUnit,
  AssetBal.Quantity AS Quantity,
  AssetBal.AcqnProdnCostGLAccount AS AcqnProdnCostGLAccount,
  AssetBal.ChartOfAccounts AS ChartOfAccounts,
  AssetBal.CompanyCode AS CompanyCode,
  AssetBal.LedgerGroup AS LedgerGroup,
  AssetBal.Ledger AS Ledger,
  AssetBal.ChartOfDepreciation AS ChartOfDepreciation,
  AssetBal.FiscalYear AS FiscalYear,
  AssetBal.FiscalPeriod AS FiscalPeriod,
  AssetBal.FinancialStatementVariant AS FinancialStatementVariant,
  AssetBal.ControllingArea AS ControllingArea,
  AssetBal.AssetPlant AS AssetPlant,
  AssetBal.CostCenter AS CostCenter,
  AssetBal.ProfitCenter AS ProfitCenter,
  AssetBal.Segment AS Segment,
  AssetBal.FundsCenter AS FundsCenter,
  AssetBal.BusinessArea AS BusinessArea,
  AssetBal.MasterFixedAsset AS MasterFixedAsset,
  AssetBal.FixedAsset AS FixedAsset,
  AssetBal.PersonnelNumber AS PersonnelNumber,
  AssetBal.AssetPersonnelNumber AS AssetPersonnelNumber,
  AssetBal.FinancialManagementArea AS FinancialManagementArea,
  AssetBal.Fund AS Fund,
  AssetBal.GrantID AS GrantID,
  AssetBal.FunctionalArea AS FunctionalArea,
  AssetBal.BudgetPeriod AS BudgetPeriod,
  AssetBal.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
  AssetBal.AssetTransactionType AS AssetTransactionType,
  AssetBal.AssetAcctTransClassfctn AS AssetAcctTransClassfctn,
  AssetBal.FinancialAccountType AS FinancialAccountType,
  AssetBal.AccountingDocumentCreationDate AS AccountingDocumentCreationDate,
  AssetBal.CreationTime AS CreationTime,
  AssetBal.JointVentureCostRecoveryCode AS JointVentureCostRecoveryCode,
  AssetBal.AccountingPrinciple AS AccountingPrinciple,
  AssetBal.FiscalYearVariant AS FiscalYearVariant,
  AssetBal.CountryChartOfAccounts AS CountryChartOfAccounts,
  AssetBal.GLAccount AS GLAccount,
  AssetBal.AssetBusinessArea AS AssetBusinessArea,
  AssetBal.AssetCostCenter AS AssetCostCenter,
  AssetBal.AssetProfitCenter AS AssetProfitCenter,
  AssetBal.AssetSegment AS AssetSegment,
  AssetBal.AssetFunctionalArea AS AssetFunctionalArea,
  AssetBal.AssetBudgetPeriod AS AssetBudgetPeriod,
  AssetBal.AssetGrant AS AssetGrant,
  AssetBal.AssetFund AS AssetFund,
  AssetBal.AssetLocation AS AssetLocation,
  AssetBal.AssetFundsCenter AS AssetFundsCenter,
  AssetBal.REInternalFinNumber AS REInternalFinNumber,
  AssetBal.RealEstateObject AS RealEstateObject,
  AssetBal.AssetCostCtrActivityType AS AssetCostCtrActivityType,
  AssetBal.FirstAcquisitionFiscalYear AS FirstAcquisitionFiscalYear,
  AssetBal.FirstAcquisitionFiscalPeriod AS FirstAcquisitionFiscalPeriod,
  AssetBal.AssetCapitalizationDate AS AssetCapitalizationDate,
  AssetBal.AssetDeactivationDate AS AssetDeactivationDate,
  AssetBal.FixedAssetGroup AS FixedAssetGroup,
  AssetBal.Supplier AS Supplier,
  AssetBal.AssetSupplierName AS AssetSupplierName,
  AssetBal.InvestmentOrder AS InvestmentOrder,
  AssetBal.InventoryIsCounted AS InventoryIsCounted,
  AssetBal.LastInventoryDate AS LastInventoryDate,
  AssetBal.Inventory AS Inventory,
  AssetBal.Group1AssetEvaluationKey AS Group1AssetEvaluationKey,
  AssetBal.Group2AssetEvaluationKey AS Group2AssetEvaluationKey,
  AssetBal.Group3AssetEvaluationKey AS Group3AssetEvaluationKey,
  AssetBal.Group4AssetEvaluationKey AS Group4AssetEvaluationKey,
  AssetBal.Group5AssetEvaluationKey AS Group5AssetEvaluationKey,
  AssetBal.AssetSerialNumber AS AssetSerialNumber
FROM I_AssetBalanceCube
;