P_FixedAssetPlanValue

DDL: P_FIXEDASSETPLANVALUE Type: view BASIC

P_FixedAssetPlanValue is a Basic CDS View in SAP S/4HANA. It reads from 6 data sources and exposes 106 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, FiscalYear, AssetDepreciationArea.

Data Sources (6)

SourceAliasJoin Type
I_AssetRedesignSwitchStatus I_AssetRedesignSwitchStatus inner
I_AssetRedesignSwitchStatus I_AssetRedesignSwitchStatus inner
P_TF_AssetRedesignSwitchStatus P_TF_AssetRedesignSwitchStatus inner
faat_plan_values Plan from
faat_plan_values Plan union_all
P_ACDOCP_COM Plan union_all

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PFASSETPLAN view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (106)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_ACDOCP_COM bukrs Value
KEY MasterFixedAsset P_ACDOCP_COM anln1 Asset
KEY FixedAsset P_ACDOCP_COM anln2 Sub-number
KEY FiscalYear P_ACDOCP_COM gjahr Settlement Year
KEY AssetDepreciationArea P_ACDOCP_COM afabe Deprec. Area
KEY FiscalPeriod P_ACDOCP_COM poper Posting periods
KEY SubLedgerAcctLineItemType
LedgerFiscalYear P_ACDOCP_COM gjahr Ref. Year1
PlannedValueIsInclusive
Ledger P_ACDOCP_COM rldnr Ledger (Compat.)
AssetAcctTransClassfctn P_ACDOCP_COM movcat Trans.Type Cat.
GroupMasterFixedAsset P_ACDOCP_COM anlgr Group Asset
GroupFixedAsset P_ACDOCP_COM anlgr2 Subnumber
FinancialAccountType
JointVentureCostRecoveryCode P_ACDOCP_COM recid Statistical Key Figure Item
DepreciationIsDue P_ACDOCP_COM xpost To Be Posted
CompanyCodeCurrency P_ACDOCP_COM rhcur Local Currency
AmountInCompanyCodeCurrency P_ACDOCP_COM hsl Local Crcy Amt
GlobalCurrency P_ACDOCP_COM rkcur Ledger curr.
AmountInGlobalCurrency P_ACDOCP_COM ksl GrpCurr
FreeDefinedCurrency1 P_ACDOCP_COM rocur Free Defined Crcy 1
AmountInFreeDefinedCurrency1 P_ACDOCP_COM osl Other Crcy Amnt
FreeDefinedCurrency2 P_ACDOCP_COM rvcur Free Defined Crcy 4
AmountInFreeDefinedCurrency2 P_ACDOCP_COM vsl Amount in Currency 2
FreeDefinedCurrency3 P_ACDOCP_COM rbcur Free Defined Crcy 3
AmountInFreeDefinedCurrency3 P_ACDOCP_COM bsl Exchange Key
FreeDefinedCurrency4 P_ACDOCP_COM rccur Third Currency
AmountInFreeDefinedCurrency4 P_ACDOCP_COM csl Amount in Currency 4
FreeDefinedCurrency5 P_ACDOCP_COM rdcur Free Defined Crcy 5
AmountInFreeDefinedCurrency5 P_ACDOCP_COM dsl Amount in Currency 5
FreeDefinedCurrency6 P_ACDOCP_COM recur Free Defined Crcy 6
AmountInFreeDefinedCurrency6 P_ACDOCP_COM esl Amount in Currency 6
FreeDefinedCurrency7 P_ACDOCP_COM rfcur Free Defined Crcy 7
AmountInFreeDefinedCurrency7 P_ACDOCP_COM fsl Amount in Currency 7
FreeDefinedCurrency8 P_ACDOCP_COM rgcur Free Defined Crcy 8
bukrsasCompanyCode
KEY MasterFixedAsset P_ACDOCP_COM anln1 Asset
KEY FixedAsset P_ACDOCP_COM anln2 Sub-number
KEY FiscalYear P_ACDOCP_COM gjahr Settlement Year
KEY AssetDepreciationArea P_ACDOCP_COM afabe Deprec. Area
KEY FiscalPeriod P_ACDOCP_COM poper Posting periods
KEY SubLedgerAcctLineItemType
LedgerFiscalYear P_ACDOCP_COM gjahr Ref. Year1
PlannedValueIsInclusive
Ledger P_ACDOCP_COM rldnr Ledger (Compat.)
AssetAcctTransClassfctn P_ACDOCP_COM movcat Trans.Type Cat.
GroupMasterFixedAsset P_ACDOCP_COM anlgr Group Asset
GroupFixedAsset P_ACDOCP_COM anlgr2 Subnumber
FinancialAccountType
JointVentureCostRecoveryCode P_ACDOCP_COM recid Statistical Key Figure Item
DepreciationIsDue P_ACDOCP_COM xpost To Be Posted
CompanyCodeCurrency P_ACDOCP_COM rhcur Local Currency
AmountInCompanyCodeCurrency P_ACDOCP_COM hsl Local Crcy Amt
GlobalCurrency P_ACDOCP_COM rkcur Ledger curr.
AmountInGlobalCurrency P_ACDOCP_COM ksl GrpCurr
FreeDefinedCurrency1 P_ACDOCP_COM rocur Free Defined Crcy 1
AmountInFreeDefinedCurrency1 P_ACDOCP_COM osl Other Crcy Amnt
FreeDefinedCurrency2 P_ACDOCP_COM rvcur Free Defined Crcy 4
AmountInFreeDefinedCurrency2 P_ACDOCP_COM vsl Amount in Currency 2
FreeDefinedCurrency3 P_ACDOCP_COM rbcur Free Defined Crcy 3
AmountInFreeDefinedCurrency3 P_ACDOCP_COM bsl Exchange Key
FreeDefinedCurrency4 P_ACDOCP_COM rccur Third Currency
AmountInFreeDefinedCurrency4 P_ACDOCP_COM csl Amount in Currency 4
FreeDefinedCurrency5 P_ACDOCP_COM rdcur Free Defined Crcy 5
AmountInFreeDefinedCurrency5 P_ACDOCP_COM dsl Amount in Currency 5
FreeDefinedCurrency6 P_ACDOCP_COM recur Free Defined Crcy 6
AmountInFreeDefinedCurrency6 P_ACDOCP_COM esl Amount in Currency 6
FreeDefinedCurrency7 P_ACDOCP_COM rfcur Free Defined Crcy 7
AmountInFreeDefinedCurrency7 P_ACDOCP_COM fsl Amount in Currency 7
FreeDefinedCurrency8 P_ACDOCP_COM rgcur Free Defined Crcy 8
rbukrsasCompanyCode
KEY MasterFixedAsset P_ACDOCP_COM anln1 Asset
KEY FixedAsset P_ACDOCP_COM anln2 Sub-number
KEY FiscalYear P_ACDOCP_COM gjahr Settlement Year
KEY AssetDepreciationArea P_ACDOCP_COM afabe Deprec. Area
KEY FiscalPeriod P_ACDOCP_COM poper Posting periods
KEY SubLedgerAcctLineItemType
LedgerFiscalYear P_ACDOCP_COM ryear Ref. Year1
PlannedValueIsInclusive
Ledger P_ACDOCP_COM rldnr Ledger (Compat.)
AssetAcctTransClassfctn P_ACDOCP_COM movcat Trans.Type Cat.
GroupMasterFixedAsset Group Asset
GroupFixedAsset Subnumber
FinancialAccountType
JointVentureCostRecoveryCode Statistical Key Figure Item
DepreciationIsDue To Be Posted
CompanyCodeCurrency P_ACDOCP_COM rhcur Local Currency
AmountInCompanyCodeCurrency P_ACDOCP_COM hsl Local Crcy Amt
GlobalCurrency P_ACDOCP_COM rkcur Ledger curr.
AmountInGlobalCurrency P_ACDOCP_COM ksl GrpCurr
FreeDefinedCurrency1 P_ACDOCP_COM rocur Free Defined Crcy 1
AmountInFreeDefinedCurrency1 P_ACDOCP_COM osl Other Crcy Amnt
FreeDefinedCurrency2 P_ACDOCP_COM rvcur Free Defined Crcy 4
AmountInFreeDefinedCurrency2 P_ACDOCP_COM vsl Amount in Currency 2
FreeDefinedCurrency3 P_ACDOCP_COM rbcur Free Defined Crcy 3
AmountInFreeDefinedCurrency3 P_ACDOCP_COM bsl Exchange Key
FreeDefinedCurrency4 P_ACDOCP_COM rccur Third Currency
AmountInFreeDefinedCurrency4 P_ACDOCP_COM csl Amount in Currency 4
FreeDefinedCurrency5 P_ACDOCP_COM rdcur Free Defined Crcy 5
AmountInFreeDefinedCurrency5 P_ACDOCP_COM dsl Amount in Currency 5
FreeDefinedCurrency6 P_ACDOCP_COM recur Free Defined Crcy 6
AmountInFreeDefinedCurrency6 P_ACDOCP_COM esl Amount in Currency 6
FreeDefinedCurrency7 P_ACDOCP_COM rfcur Free Defined Crcy 7
AmountInFreeDefinedCurrency7 P_ACDOCP_COM fsl Amount in Currency 7
FreeDefinedCurrency8 P_ACDOCP_COM rgcur Free Defined Crcy 8
AmountInFreeDefinedCurrency8 P_ACDOCP_COM gsl Amount in Currency 8

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_FixedAssetPlanValue.
-- 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.

CREATE VIEW P_FixedAssetPlanValue AS
SELECT
  Plan.bukrs AS CompanyCode,
  Plan.anln1 AS MasterFixedAsset,
  Plan.anln2 AS FixedAsset,
  Plan.gjahr AS FiscalYear,
  Plan.afabe AS AssetDepreciationArea,
  Plan.poper AS FiscalPeriod,
  cast(Plan.slalittype as fis_slalittype preserving type) AS SubLedgerAcctLineItemType,
  Plan.gjahr AS LedgerFiscalYear,
  cast('2' as faa_use_val_ty) AS PlannedValueIsInclusive,
  Plan.rldnr AS Ledger,
  Plan.movcat AS AssetAcctTransClassfctn,
  Plan.anlgr AS GroupMasterFixedAsset,
  Plan.anlgr2 AS GroupFixedAsset,
  cast('A' as fis_koart) AS FinancialAccountType,
  Plan.recid AS JointVentureCostRecoveryCode,
  Plan.xpost AS DepreciationIsDue,
  Plan.rhcur AS CompanyCodeCurrency,
  Plan.hsl AS AmountInCompanyCodeCurrency,
  Plan.rkcur AS GlobalCurrency,
  Plan.ksl AS AmountInGlobalCurrency,
  Plan.rocur AS FreeDefinedCurrency1,
  Plan.osl AS AmountInFreeDefinedCurrency1,
  Plan.rvcur AS FreeDefinedCurrency2,
  Plan.vsl AS AmountInFreeDefinedCurrency2,
  Plan.rbcur AS FreeDefinedCurrency3,
  Plan.bsl AS AmountInFreeDefinedCurrency3,
  Plan.rccur AS FreeDefinedCurrency4,
  Plan.csl AS AmountInFreeDefinedCurrency4,
  Plan.rdcur AS FreeDefinedCurrency5,
  Plan.dsl AS AmountInFreeDefinedCurrency5,
  Plan.recur AS FreeDefinedCurrency6,
  Plan.esl AS AmountInFreeDefinedCurrency6,
  Plan.rfcur AS FreeDefinedCurrency7,
  Plan.fsl AS AmountInFreeDefinedCurrency7,
  Plan.rgcur AS FreeDefinedCurrency8,
  Plan.gsl as AmountInFreeDefinedCurrency8 AS bukrsasCompanyCode,
  Plan.gsl as AmountInFreeDefinedCurrency8 AS rbukrsasCompanyCode,
  Plan.gsl AS AmountInFreeDefinedCurrency8
FROM faat_plan_values AS Plan
INNER JOIN I_AssetRedesignSwitchStatus ON /* join condition not captured in parsed metadata */
INNER JOIN P_TF_AssetRedesignSwitchStatus ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): faat_plan_values, P_ACDOCP_COM
;