I_AstUndrConstructionAgingOvw

DDL: I_ASTUNDRCONSTRUCTIONAGINGOVW SQL: IAUCAGINGOV Type: view COMPOSITE

Asset Under Construction Aging Overview

I_AstUndrConstructionAgingOvw is a Composite CDS View that provides data about "Asset Under Construction Aging Overview" in SAP S/4HANA. It reads from 1 data source (P_AstUndrConstructionAgingOvw) and exposes 25 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, Ledger. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_AstUndrConstructionAgingOvw P_AstUndrConstructionAgingOvw from

Parameters (1)

NameTypeDefault
P_KeyDate fagl_keydate

Associations (1)

CardinalityTargetAliasCondition
[1] I_AssetRedesignSwitchStatus _AssetRedesignSwitchStatus _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = '' or _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = 'X'

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IAUCAGINGOV 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 Under Construction Aging Overview view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (25)

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 CurrencyRole CurrencyRole Curr./Val. Type
KEY SetIdentificationItem SetIdentificationItem
AssetClass AssetClass Asset Class
AssetAccountDetermination AssetAccountDetermination Account Determ.
AssetDeactivationDate AssetDeactivationDate
AssetCountryOfOrigin
AssetSupplier AssetSupplier
SupplierAccountGroup SupplierAccountGroup Account group
SupplierBasicAuthorizationGrp SupplierBasicAuthorizationGrp
AssetCostCenter AssetCostCenter
AssetPlant AssetPlant
AssetProfitCenter AssetProfitCenter
AssetSegment AssetSegment
CompanyCodeName CompanyCodeName Company Name
FixedAssetDescription FixedAssetDescription Description
SelectedCurrencyBranch SelectedCurrencyBranch
PostingDate PostingDate Posting Date for GR
DifferenceInDays
PeriodType
_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_AstUndrConstructionAgingOvw.
-- 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: IAUCAGINGOV
-- Parameters: P_KeyDate : fagl_keydate

CREATE VIEW I_AstUndrConstructionAgingOvw AS
SELECT
  CompanyCode,
  AssetDepreciationArea,
  MasterFixedAsset,
  FixedAsset,
  Ledger,
  CurrencyRole,
  SetIdentificationItem,
  AssetClass,
  AssetAccountDetermination,
  AssetDeactivationDate,
  cast(AssetCountryOfOrigin as faa_asset_cntry_of_origin) AS AssetCountryOfOrigin,
  AssetSupplier,
  SupplierAccountGroup,
  SupplierBasicAuthorizationGrp,
  AssetCostCenter,
  AssetPlant,
  AssetProfitCenter,
  AssetSegment,
  CompanyCodeName,
  FixedAssetDescription,
  SelectedCurrencyBranch,
  PostingDate,
  dats_days_between(PostingDate, :P_KeyDate) AS DifferenceInDays,
  cast('DA' as faa_period_type) AS PeriodType
FROM P_AstUndrConstructionAgingOvw
LEFT OUTER JOIN I_AssetRedesignSwitchStatus AS _AssetRedesignSwitchStatus ON _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = '' OR _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = 'X'  -- association [1]
;