I_AstPlndDeprInCurPeriod

DDL: I_ASTPLNDDEPRINCURPERIOD SQL: IASSETPLDPCP Type: view COMPOSITE

Asset Planned Depreciation In Current Period

I_AstPlndDeprInCurPeriod is a Composite CDS View that provides data about "Asset Planned Depreciation In Current Period" in SAP S/4HANA. It reads from 1 data source (I_AssetBalanceCube) and exposes 34 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, AssetDepreciationArea, Ledger. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_AssetBalanceCube I_AssetBalanceCube from

Parameters (5)

NameTypeDefault
P_TodayDate fagl_keydate
P_AssetAccountingKeyFigureSet faa_key_figure_set
P_FiscalYear fis_ryear
P_FiscalPeriod fis_poper
P_KeyDate fagl_keydate

Associations (1)

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

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IASSETPLDPCP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Asset Planned Depreciation In Current Period view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY AssetDepreciationArea AssetDepreciationArea Deprec. Area
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
SelectedCurrencyBranch SelectedCurrencyBranch
FiscalYearVariant FiscalYearVariant FY Variant
ChartOfDepreciation ChartOfDepreciation
AssetClass AssetClass Asset Class
AssetAccountDetermination AssetAccountDetermination Account Determ.
AssetDeactivationDate AssetDeactivationDate
AssetCapitalizationDate AssetCapitalizationDate Asset Capitalization
AssetCountryOfOrigin
AssetSupplier Supplier Supplier
SupplierAccountGroup
SupplierBasicAuthorizationGrp
AssetCostCenter AssetCostCenter
AssetPlant AssetPlant
AssetProfitCenter AssetProfitCenter
AssetSegment AssetSegment
DisplayCurrency DisplayCurrency Display Currency
TotalDepreciationAmount AmountInDisplayCurrency
_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_AstPlndDeprInCurPeriod.
-- 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: IASSETPLDPCP
-- Parameters: P_TodayDate : fagl_keydate, P_AssetAccountingKeyFigureSet : faa_key_figure_set, P_FiscalYear : fis_ryear, P_FiscalPeriod : fis_poper, P_KeyDate : fagl_keydate

CREATE VIEW I_AstPlndDeprInCurPeriod AS
SELECT
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  AssetDepreciationArea,
  Ledger,
  LedgerFiscalYear,
  FiscalYear,
  FiscalPeriod,
  SubLedgerAcctLineItemType,
  AssetAcctTransClassfctn,
  AssetAccountingKeyFigure,
  AssetAccountingKeyFigureSet,
  AccountingDocument,
  TransactionSubitem,
  DebitCreditCode,
  CurrencyRole,
  SelectedCurrencyBranch,
  FiscalYearVariant,
  ChartOfDepreciation,
  AssetClass,
  AssetAccountDetermination,
  AssetDeactivationDate,
  AssetCapitalizationDate,
  cast(_FixedAsset.AssetCountryOfOrigin as faa_asset_cntry_of_origin) AS AssetCountryOfOrigin,
  Supplier AS AssetSupplier,
  _FixedAsset._Supplier.SupplierAccountGroup AS SupplierAccountGroup,
  _FixedAsset._Supplier.AuthorizationGroup AS SupplierBasicAuthorizationGrp,
  AssetCostCenter,
  AssetPlant,
  AssetProfitCenter,
  AssetSegment,
  DisplayCurrency,
  AmountInDisplayCurrency AS TotalDepreciationAmount
FROM I_AssetBalanceCube
LEFT OUTER JOIN I_AssetRedesignSwitchStatus AS _AssetRedesignSwitchStatus ON _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = '' OR _AssetRedesignSwitchStatus.AssetRedesignSwitchIsActive = 'X'  -- association [1]
;