I_AstAcqnAndRtrmtOverview
Asset Acquisitions and Retirements Overview
I_AstAcqnAndRtrmtOverview is a Composite CDS View that provides data about "Asset Acquisitions and Retirements Overview" in SAP S/4HANA. It reads from 1 data source (I_FixedAssetTransaction) and exposes 38 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, Ledger. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_FixedAssetTransaction | I_FixedAssetTransaction | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | fagl_keydate | |
| P_AssetAccountingKeyFigureSet | faa_key_figure_set |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_FixedAssetForLedger | _FixedAssetForLedger | _FixedAssetForLedger.CompanyCode = $projection.CompanyCode and _FixedAssetForLedger.MasterFixedAsset = $projection.MasterFixedAsset and _FixedAssetForLedger.FixedAsset = $projection.FixedAsset and _FixedAssetForLedger.Ledger = $projection.Ledger |
| [1] | I_AssetRedesignSwitchStatus | _AssetRedesignSwitchStatus | _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = '' or _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = 'X' |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IASTACQRETOV | 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 | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | FiscalPeriod | 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 | |
| PostingDate | PostingDate | Posting Date for GR | ||
| AssetClass | AssetClass | Asset Class | ||
| AssetAccountDetermination | AssetAccountDetermination | Account Determ. | ||
| AssetCapitalizationDate | _FixedAssetForLedger | AssetCapitalizationDate | Asset Capitalization | |
| AssetDeactivationDate | _FixedAssetForLedger | AssetDeactivationDate | ||
| AssetCountryOfOrigin | ||||
| AssetSupplier | _FixedAsset | Supplier | Supplier | |
| SupplierAccountGroup | ||||
| SupplierBasicAuthorizationGrp | ||||
| AssetCostCenter | AssetCostCenter | |||
| AssetPlant | AssetPlant | |||
| AssetProfitCenter | AssetProfitCenter | |||
| AssetSegment | AssetSegment | |||
| CompanyCodeName | CompanyCodeName | Company Name | ||
| FixedAssetDescription | FixedAssetDescription | Description | ||
| SelectedCurrencyBranch | SelectedCurrencyBranch | |||
| DisplayCurrency | DisplayCurrency | Display Currency | ||
| AcqnProdnAmtInDspCrcy | AcqnProdnAmtInDspCrcy | |||
| RtrmtNetBookValueAmtInDspCrcy | RtrmtNetBookValueAmtInDspCrcy | |||
| _FixedAsset | _FixedAsset | |||
| _AssetClassText | _AssetClassText | |||
| _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 I_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: IASTACQRETOV
-- Parameters: P_KeyDate : fagl_keydate, P_AssetAccountingKeyFigureSet : faa_key_figure_set
CREATE VIEW I_AstAcqnAndRtrmtOverview AS
SELECT
CompanyCode,
AssetDepreciationArea,
MasterFixedAsset,
FixedAsset,
Ledger,
LedgerFiscalYear,
FiscalYear,
FiscalPeriod,
SubLedgerAcctLineItemType,
AssetAcctTransClassfctn,
AssetAccountingKeyFigure,
AssetAccountingKeyFigureSet,
AccountingDocument,
TransactionSubitem,
DebitCreditCode,
CurrencyRole,
PostingDate,
AssetClass,
AssetAccountDetermination,
_FixedAssetForLedger.AssetCapitalizationDate AS AssetCapitalizationDate,
_FixedAssetForLedger.AssetDeactivationDate AS AssetDeactivationDate,
cast(_FixedAsset.AssetCountryOfOrigin as faa_asset_cntry_of_origin) AS AssetCountryOfOrigin,
_FixedAsset.Supplier AS AssetSupplier,
_FixedAsset._Supplier.SupplierAccountGroup AS SupplierAccountGroup,
_FixedAsset._Supplier.AuthorizationGroup AS SupplierBasicAuthorizationGrp,
AssetCostCenter,
AssetPlant,
AssetProfitCenter,
AssetSegment,
CompanyCodeName,
FixedAssetDescription,
SelectedCurrencyBranch,
DisplayCurrency,
AcqnProdnAmtInDspCrcy,
RtrmtNetBookValueAmtInDspCrcy
FROM I_FixedAssetTransaction
LEFT OUTER JOIN I_FixedAssetForLedger AS _FixedAssetForLedger ON _FixedAssetForLedger.CompanyCode = CompanyCode AND _FixedAssetForLedger.MasterFixedAsset = MasterFixedAsset AND _FixedAssetForLedger.FixedAsset = FixedAsset AND _FixedAssetForLedger.Ledger = Ledger -- association [0..1]
LEFT OUTER JOIN I_AssetRedesignSwitchStatus AS _AssetRedesignSwitchStatus ON _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = '' OR _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = 'X' -- association [1]
;
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