C_AstAcqnAndRtrmtOverview

DDL: C_ASTACQNANDRTRMTOVERVIEW SQL: CASTACQRETOV Type: view CONSUMPTION

Asset Acquisitions and Retirements Overview

C_AstAcqnAndRtrmtOverview is a Consumption CDS View that provides data about "Asset Acquisitions and Retirements Overview" in SAP S/4HANA. It reads from 1 data source (I_AstAcqnAndRtrmtOverview) and exposes 36 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, Ledger.

Data Sources (1)

SourceAliasJoin Type
I_AstAcqnAndRtrmtOverview I_AstAcqnAndRtrmtOverview from

Parameters (6)

NameTypeDefault
P_KeyDate fagl_keydate
P_CompanyCode fis_bukrs
P_Ledger fis_rldnr
P_FiscalYear fis_ryear
P_CurrencyRole fis_curtp
P_AssetAccountingKeyFigureSet faa_key_figure_set

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CASTACQRETOV view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Asset Acquisitions and Retirements Overview view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
UI.textArrangement #TEXT_LAST view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AssetDepreciationArea AssetDepreciationArea Deprec. Area
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY Ledger Ledger Ledger
KEY LedgerFiscalYear LedgerFiscalYear
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY PostingFiscalPeriod FiscalPeriod Tax period
KEY SubLedgerAcctLineItemType SubLedgerAcctLineItemType SLALineItemType
KEY AssetAcctTransClassfctn AssetAcctTransClassfctn Trans.Type Cat.
KEY AssetAccountingKeyFigure AssetAccountingKeyFigure
KEY AssetAccountingKeyFigureSet AssetAccountingKeyFigureSet
KEY AccountingDocument AccountingDocument Journal Entry
KEY TransactionSubitem TransactionSubitem Sub Transaction
KEY DebitCreditCode DebitCreditCode Single-Character Flag
KEY CurrencyRole CurrencyRole Curr./Val. Type
AssetClass AssetClass Asset Class
AssetAccountDetermination AssetAccountDetermination Account Determ.
AssetCapitalizationDate AssetCapitalizationDate Asset Capitalization
AssetDeactivationDate AssetDeactivationDate
AssetCountryOfOrigin AssetCountryOfOrigin
AssetSupplier AssetSupplier Supplier
SupplierAccountGroup SupplierAccountGroup Account group
SupplierBasicAuthorizationGrp SupplierBasicAuthorizationGrp
AssetCostCenter AssetCostCenter
AssetPlant AssetPlant
AssetProfitCenter AssetProfitCenter
AssetSegment AssetSegment
CompanyCodeName CompanyCodeName Company Name
FixedAssetDescription FixedAssetDescription Description
AssetClassName
DisplayCurrency DisplayCurrency Display Currency
AcqnProdnAmtInDspCrcy AcqnProdnAmtInDspCrcy
RtrmtNetBookValueAmtInDspCrcy RtrmtNetBookValueAmtInDspCrcy
SelectedCurrencyBranch SelectedCurrencyBranch
_AssetRedesignSwitchStatus _AssetRedesignSwitchStatus

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_AstAcqnAndRtrmtOverview.
-- 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.
-- SQL view name: CASTACQRETOV
-- Parameters: P_KeyDate : fagl_keydate, P_CompanyCode : fis_bukrs, P_Ledger : fis_rldnr, P_FiscalYear : fis_ryear, P_CurrencyRole : fis_curtp, P_AssetAccountingKeyFigureSet : faa_key_figure_set

CREATE VIEW C_AstAcqnAndRtrmtOverview AS
SELECT
  CompanyCode,
  AssetDepreciationArea,
  MasterFixedAsset,
  FixedAsset,
  Ledger,
  LedgerFiscalYear,
  FiscalYear,
  FiscalPeriod AS PostingFiscalPeriod,
  SubLedgerAcctLineItemType,
  AssetAcctTransClassfctn,
  AssetAccountingKeyFigure,
  AssetAccountingKeyFigureSet,
  AccountingDocument,
  TransactionSubitem,
  DebitCreditCode,
  CurrencyRole,
  AssetClass,
  AssetAccountDetermination,
  AssetCapitalizationDate,
  AssetDeactivationDate,
  AssetCountryOfOrigin,
  AssetSupplier,
  SupplierAccountGroup,
  SupplierBasicAuthorizationGrp,
  AssetCostCenter,
  AssetPlant,
  AssetProfitCenter,
  AssetSegment,
  CompanyCodeName,
  FixedAssetDescription,
  _AssetClassText[1: Language = $session.system_language ].AssetClassName AS AssetClassName,
  DisplayCurrency,
  AcqnProdnAmtInDspCrcy,
  RtrmtNetBookValueAmtInDspCrcy,
  SelectedCurrencyBranch
FROM I_AstAcqnAndRtrmtOverview
;