P_AstBalDeprOvrDeprComprn
Analytical Query for Asset Balances Review Booklet DoD Comp
P_AstBalDeprOvrDeprComprn is a Composite CDS View that provides data about "Analytical Query for Asset Balances Review Booklet DoD Comp" in SAP S/4HANA. It reads from 1 data source (I_AssetBalanceCube) and exposes 109 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, Ledger. Part of development package UI_FIN_AA_RBOOKLET_A1.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AssetBalanceCube | I_AssetBalanceCube | from |
Parameters (7)
| Name | Type | Default |
|---|---|---|
| P_AssetAccountingKeyFigureSet | faa_key_figure_set | |
| P_FiscalYear | fis_ryear | |
| P_FiscalPeriod | fis_period_to | |
| P_FiscalYearEndDate | fagl_keydate | |
| P_FiscalPeriodEndDate | fagl_keydate | |
| P_AssetDepreciationArea | fis_afabe_d | |
| P_ComparisonDepreciationArea | fis_afabe_d |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (109)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | AssetBal | CompanyCode | Receiver Company Code |
| KEY | AssetDepreciationArea | AssetBal | AssetDepreciationArea | Deprec. Area |
| KEY | MasterFixedAsset | AssetBal | MasterFixedAsset | Fixed Asset |
| KEY | FixedAsset | AssetBal | FixedAsset | Sub-number |
| KEY | Ledger | AssetBal | Ledger | Ledger |
| KEY | FiscalYear | AssetBal | FiscalYear | G/L Fiscal Year |
| KEY | FiscalPeriod | AssetBal | FiscalPeriod | Tax period |
| KEY | SubLedgerAcctLineItemType | AssetBal | SubLedgerAcctLineItemType | SLALineItemType |
| KEY | AssetAcctTransClassfctn | AssetBal | AssetAcctTransClassfctn | Trans.Type Cat. |
| KEY | AssetAccountingKeyFigure | AssetBal | AssetAccountingKeyFigure | |
| KEY | AssetAccountingKeyFigureSet | AssetBal | AssetAccountingKeyFigureSet | |
| KEY | AccountingDocument | AssetBal | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | AssetBal | LedgerGLLineItem | Journal Entry Item |
| KEY | TransactionSubitem | AssetBal | TransactionSubitem | Sub Transaction |
| KEY | DebitCreditCode | AssetBal | DebitCreditCode | Single-Character Flag |
| KEY | CurrencyRole | AssetBal | CurrencyRole | Curr./Val. Type |
| AssetAccountDetermination | AssetBal | AssetAccountDetermination | Account Determ. | |
| AssetClass | AssetBal | AssetClass | Asset Class | |
| AssetAccountingSortedKeyFigure | AssetBal | AssetAccountingSortedKeyFigure | ||
| Quantity | AssetBal | Quantity | Value | |
| AcqnProdnCostGLAccount | AssetBal | AcqnProdnCostGLAccount | ||
| ChartOfAccounts | AssetBal | ChartOfAccounts | Node Class | |
| AssetPlant | AssetBal | AssetPlant | ||
| CostCenter | AssetBal | CostCenter | Cost Center | |
| ProfitCenter | AssetBal | ProfitCenter | Profit Center | |
| Segment | AssetBal | Segment | Segment number | |
| FundsCenter | AssetBal | FundsCenter | Funds Center | |
| FunctionalArea | AssetBal | FunctionalArea | Sendr Fctl Area | |
| AssetTransactionType | AssetBal | AssetTransactionType | Trans.Type | |
| BusinessTransactionCategory | AssetBal | BusinessTransactionCategory | Business Transaction Category | |
| BusinessTransactionType | AssetBal | BusinessTransactionType | Bus.transaction | |
| FinancialClosingStep | AssetBal | FinancialClosingStep | Closing Step | |
| AccountingDocumentCreationDate | AssetBal | AccountingDocumentCreationDate | Journal Entry Date | |
| PostingDate | AssetBal | PostingDate | Posting Date for GR | |
| CreationTime | AssetBal | CreationTime | Time of Change | |
| FiscalYearVariant | AssetBal | FiscalYearVariant | FY Variant | |
| GLAccount | AssetBal | GLAccount | General Ledger | |
| AlternativeGLAccount | AssetBal | AlternativeGLAccount | Group Account | |
| AssetCostCenter | AssetBal | AssetCostCenter | ||
| AssetWBSElementExternalID | AssetBal | AssetWBSElementExternalID | ||
| AssetProfitCenter | AssetBal | AssetProfitCenter | ||
| AssetSegment | AssetBal | AssetSegment | ||
| AssetFunctionalArea | AssetBal | AssetFunctionalArea | ||
| GrantID | AssetBal | GrantID | Sender Grant | |
| AssetGrant | AssetBal | AssetGrant | Grant | |
| Fund | AssetBal | Fund | Sender Fund | |
| AssetFund | AssetBal | AssetFund | ||
| AssetLocation | AssetBal | AssetLocation | Location | |
| AssetFundsCenter | AssetBal | AssetFundsCenter | ||
| FirstAcquisitionFiscalYear | AssetBal | FirstAcquisitionFiscalYear | Acquisition Yr | |
| FirstAcquisitionFiscalPeriod | AssetBal | FirstAcquisitionFiscalPeriod | ||
| AssetCapitalizationDate | AssetBal | AssetCapitalizationDate | Asset Capitalization | |
| AssetDeactivationDate | AssetBal | AssetDeactivationDate | ||
| Supplier | AssetBal | Supplier | Supplier | |
| AssetSupplierName | AssetBal | AssetSupplierName | ||
| LastInventoryDate | AssetBal | LastInventoryDate | ||
| Inventory | AssetBal | Inventory | Ci Inventory | |
| AssetSerialNumber | AssetBal | AssetSerialNumber | ||
| DepreciationStartDate | AssetBal | DepreciationStartDate | ||
| SpecialDeprStartDate | AssetBal | SpecialDeprStartDate | ||
| DepreciationKey | AssetBal | DepreciationKey | ||
| PlannedUsefulLifeInYears | AssetBal | PlannedUsefulLifeInYears | Planned Use Life Yr. | |
| PlannedUsefulLifeInPeriods | AssetBal | PlannedUsefulLifeInPeriods | ||
| FixedAssetUsageObject | AssetBal | FixedAssetUsageObject | ||
| AssetRevaluationIndex | AssetBal | AssetRevaluationIndex | ||
| Country | AssetBal | Country | Venue: Ctry/Reg | |
| Room | AssetBal | Room | Room Number | |
| VehicleLicensePlateNumber | AssetBal | VehicleLicensePlateNumber | ||
| TaxJurisdiction | AssetBal | TaxJurisdiction | Tax Jurisdiction | |
| WBSElementExternalID | AssetBal | WBSElementExternalID | WBS Element External ID | |
| SelectedCurrencyBranch | AssetBal | SelectedCurrencyBranch | ||
| AmountInDisplayCurrency | AssetBal | AmountInDisplayCurrency | ||
| DisplayCurrency | AssetBal | DisplayCurrency | Display Currency | |
| BaseUnit | AssetBal | BaseUnit | Unit of Measure | |
| _AssetKeyFigure | _AssetKeyFigure | |||
| _AssetKeyFigureSet | _AssetKeyFigureSet | |||
| _AssetSortedKeyFigureSetSpec | _AssetSortedKeyFigureSetSpec | |||
| _CompanyCode | _CompanyCode | |||
| _DepreciationArea | _DepreciationArea | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _FixedAsset | _FixedAsset | |||
| _AssetAccountDetermination | _AssetAccountDetermination | |||
| _AssetClass | _AssetClass | |||
| _Ledger | _Ledger | |||
| _FiscalYear | _FiscalYear | |||
| _JournalEntry | _JournalEntry | |||
| _SubLedgerAccLineItemType | _SubLedgerAccLineItemType | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _AssetAcctTransClassfctn | _AssetAcctTransClassfctn | |||
| _Segment | _Segment | |||
| _FunctionalArea | _FunctionalArea | |||
| _AssetTransactionType | _AssetTransactionType | |||
| _BusinessTransactionCategory | _BusinessTransactionCategory | |||
| _BusinessTransactionType | _BusinessTransactionType | |||
| _AssetSegment | _AssetSegment | |||
| _AssetPlant | _AssetPlant | |||
| _AssetFunctionalArea | _AssetFunctionalArea | |||
| _AssetLocation | _AssetLocation | |||
| _Currency | _Currency | |||
| _CurrencyRole | _CurrencyRole | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _FixedAssetUsageObject | _FixedAssetUsageObject | |||
| _AssetRevaluationIndex | _AssetRevaluationIndex | |||
| _AcqnProdnCostGLAccount | _AcqnProdnCostGLAccount | |||
| _FiscalYearVariant | _FiscalYearVariant | |||
| _Country | _Country | |||
| _Supplier | _Supplier | |||
| _SelectedCurrencyBranch | _SelectedCurrencyBranch |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_AstBalDeprOvrDeprComprn.
-- 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_AssetAccountingKeyFigureSet : faa_key_figure_set, P_FiscalYear : fis_ryear, P_FiscalPeriod : fis_period_to, P_FiscalYearEndDate : fagl_keydate, P_FiscalPeriodEndDate : fagl_keydate, P_AssetDepreciationArea : fis_afabe_d, P_ComparisonDepreciationArea : fis_afabe_d
CREATE VIEW P_AstBalDeprOvrDeprComprn AS
SELECT
AssetBal.CompanyCode AS CompanyCode,
AssetBal.AssetDepreciationArea AS AssetDepreciationArea,
AssetBal.MasterFixedAsset AS MasterFixedAsset,
AssetBal.FixedAsset AS FixedAsset,
AssetBal.Ledger AS Ledger,
AssetBal.FiscalYear AS FiscalYear,
AssetBal.FiscalPeriod AS FiscalPeriod,
AssetBal.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
AssetBal.AssetAcctTransClassfctn AS AssetAcctTransClassfctn,
AssetBal.AssetAccountingKeyFigure AS AssetAccountingKeyFigure,
AssetBal.AssetAccountingKeyFigureSet AS AssetAccountingKeyFigureSet,
AssetBal.AccountingDocument AS AccountingDocument,
AssetBal.LedgerGLLineItem AS LedgerGLLineItem,
AssetBal.TransactionSubitem AS TransactionSubitem,
AssetBal.DebitCreditCode AS DebitCreditCode,
AssetBal.CurrencyRole AS CurrencyRole,
AssetBal.AssetAccountDetermination AS AssetAccountDetermination,
AssetBal.AssetClass AS AssetClass,
AssetBal.AssetAccountingSortedKeyFigure AS AssetAccountingSortedKeyFigure,
AssetBal.Quantity AS Quantity,
AssetBal.AcqnProdnCostGLAccount AS AcqnProdnCostGLAccount,
AssetBal.ChartOfAccounts AS ChartOfAccounts,
AssetBal.AssetPlant AS AssetPlant,
AssetBal.CostCenter AS CostCenter,
AssetBal.ProfitCenter AS ProfitCenter,
AssetBal.Segment AS Segment,
AssetBal.FundsCenter AS FundsCenter,
AssetBal.FunctionalArea AS FunctionalArea,
AssetBal.AssetTransactionType AS AssetTransactionType,
AssetBal.BusinessTransactionCategory AS BusinessTransactionCategory,
AssetBal.BusinessTransactionType AS BusinessTransactionType,
AssetBal.FinancialClosingStep AS FinancialClosingStep,
AssetBal.AccountingDocumentCreationDate AS AccountingDocumentCreationDate,
AssetBal.PostingDate AS PostingDate,
AssetBal.CreationTime AS CreationTime,
AssetBal.FiscalYearVariant AS FiscalYearVariant,
AssetBal.GLAccount AS GLAccount,
AssetBal.AlternativeGLAccount AS AlternativeGLAccount,
AssetBal.AssetCostCenter AS AssetCostCenter,
AssetBal.AssetWBSElementExternalID AS AssetWBSElementExternalID,
AssetBal.AssetProfitCenter AS AssetProfitCenter,
AssetBal.AssetSegment AS AssetSegment,
AssetBal.AssetFunctionalArea AS AssetFunctionalArea,
AssetBal.GrantID AS GrantID,
AssetBal.AssetGrant AS AssetGrant,
AssetBal.Fund AS Fund,
AssetBal.AssetFund AS AssetFund,
AssetBal.AssetLocation AS AssetLocation,
AssetBal.AssetFundsCenter AS AssetFundsCenter,
AssetBal.FirstAcquisitionFiscalYear AS FirstAcquisitionFiscalYear,
AssetBal.FirstAcquisitionFiscalPeriod AS FirstAcquisitionFiscalPeriod,
AssetBal.AssetCapitalizationDate AS AssetCapitalizationDate,
AssetBal.AssetDeactivationDate AS AssetDeactivationDate,
AssetBal.Supplier AS Supplier,
AssetBal.AssetSupplierName AS AssetSupplierName,
AssetBal.LastInventoryDate AS LastInventoryDate,
AssetBal.Inventory AS Inventory,
AssetBal.AssetSerialNumber AS AssetSerialNumber,
AssetBal.DepreciationStartDate AS DepreciationStartDate,
AssetBal.SpecialDeprStartDate AS SpecialDeprStartDate,
AssetBal.DepreciationKey AS DepreciationKey,
AssetBal.PlannedUsefulLifeInYears AS PlannedUsefulLifeInYears,
AssetBal.PlannedUsefulLifeInPeriods AS PlannedUsefulLifeInPeriods,
AssetBal.FixedAssetUsageObject AS FixedAssetUsageObject,
AssetBal.AssetRevaluationIndex AS AssetRevaluationIndex,
AssetBal.Country AS Country,
AssetBal.Room AS Room,
AssetBal.VehicleLicensePlateNumber AS VehicleLicensePlateNumber,
AssetBal.TaxJurisdiction AS TaxJurisdiction,
AssetBal.WBSElementExternalID AS WBSElementExternalID,
AssetBal.SelectedCurrencyBranch AS SelectedCurrencyBranch,
AssetBal.AmountInDisplayCurrency AS AmountInDisplayCurrency,
AssetBal.DisplayCurrency AS DisplayCurrency,
AssetBal.BaseUnit AS BaseUnit
FROM I_AssetBalanceCube
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA