I_FxdAstStatisticalLineItem

DDL: I_FXDASTSTATISTICALLINEITEM Type: view BASIC

Statistical Line Items of Fixed Asset

I_FxdAstStatisticalLineItem is a Basic CDS View that provides data about "Statistical Line Items of Fixed Asset" in SAP S/4HANA. It reads from 1 data source (faat_doc_it) and exposes 88 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, FiscalYear, ReferenceDocumentType. It has 29 associations to related views.

Data Sources (1)

SourceAliasJoin Type
faat_doc_it docit from

Associations (29)

CardinalityTargetAliasCondition
[0..1] I_ReferenceDocumentType _ReferenceDocumentType $projection.ReferenceDocumentType = _ReferenceDocumentType.ReferenceDocumentType
[0..1] I_LogicalSystem _LogicalSystem $projection.LogicalSystem = _LogicalSystem.LogicalSystem
[0..1] I_DepreciationAreaForLedger _DepreciationArea $projection.CompanyCode = _DepreciationArea.CompanyCode and $projection.Ledger = _DepreciationArea.Ledger and $projection.AssetDepreciationArea = _DepreciationArea.AssetDepreciationArea
[0..1] I_ChartOfDepreciation _ChartOfDepreciation $projection.chartofdepreciation = _ChartOfDepreciation.ChartOfDepreciation
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_FiscalYearForCompanyCode _FiscalYear $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode
[0..1] I_FiscalYearPeriodForCmpnyCode _FiscalPeriod $projection.FiscalYear = _FiscalPeriod.FiscalYear and $projection.FiscalPeriod = _FiscalPeriod.FiscalPeriod and $projection.CompanyCode = _FiscalPeriod.CompanyCode
[0..1] I_MasterFixedAsset _MasterFixedAsset $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
[0..1] I_FixedAsset _FixedAsset $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset
[0..1] I_MasterFixedAsset _PartnerMasterFixedAsset $projection.CompanyCode = _PartnerMasterFixedAsset.CompanyCode and $projection.PartnerMasterFixedAsset = _PartnerMasterFixedAsset.MasterFixedAsset
[0..1] I_FixedAsset _PartnerFixedAsset $projection.CompanyCode = _PartnerFixedAsset.CompanyCode and $projection.PartnerMasterFixedAsset = _PartnerFixedAsset.MasterFixedAsset and $projection.PartnerFixedAsset = _PartnerFixedAsset.FixedAsset
[0..1] I_SubLedgerAccLineItemType _SubLedgerAccLineItemType $projection.SubLedgerAcctLineItemType = _SubLedgerAccLineItemType.SubLedgerAcctLineItemType
[0..1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger
[0..1] I_LedgerGroup _LedgerGroup $projection.LedgerGroup = _LedgerGroup.LedgerGroup
[0..1] I_MovementCategory _AssetAcctTransClassfctn $projection.AssetAcctTransClassfctn = _AssetAcctTransClassfctn.AssetAcctTransClassfctn
[0..1] I_AssetTransactionType _AssetTransactionType $projection.AssetTransactionType = _AssetTransactionType.AssetTransactionType
[1] I_DebitCreditCode _DebitCreditCode $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode
[0..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
[0..1] I_Currency _GlobalCurrency $projection.GlobalCurrency = _GlobalCurrency.Currency
[0..1] I_Currency _FreeDefinedCurrency1 $projection.FreeDefinedCurrency1 = _FreeDefinedCurrency1.Currency
[0..1] I_Currency _FreeDefinedCurrency2 $projection.FreeDefinedCurrency2 = _FreeDefinedCurrency2.Currency
[0..1] I_Currency _FreeDefinedCurrency3 $projection.FreeDefinedCurrency3 = _FreeDefinedCurrency3.Currency
[0..1] I_Currency _FreeDefinedCurrency4 $projection.FreeDefinedCurrency4 = _FreeDefinedCurrency4.Currency
[0..1] I_Currency _FreeDefinedCurrency5 $projection.FreeDefinedCurrency5 = _FreeDefinedCurrency5.Currency
[0..1] I_Currency _FreeDefinedCurrency6 $projection.FreeDefinedCurrency6 = _FreeDefinedCurrency6.Currency
[0..1] I_Currency _FreeDefinedCurrency7 $projection.FreeDefinedCurrency7 = _FreeDefinedCurrency7.Currency
[0..1] I_Currency _FreeDefinedCurrency8 $projection.FreeDefinedCurrency8 = _FreeDefinedCurrency8.Currency
[1] I_AccountingPrinciple _AccountingPrinciple $projection.AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple
[0..1] I_ChartOfDeprForAcctgPrinciple _ChartOfDeprForAcctgPrinciple $projection.AccountingPrinciple = _ChartOfDeprForAcctgPrinciple.AccountingPrinciple and $projection.CompanyCode = _ChartOfDeprForAcctgPrinciple.CompanyCode

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IFASSETSTATLIT view
AbapCatalog.preserveKey true view
EndUserText.label Statistical Line Items of Fixed Asset view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (88)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode faat_doc_it bukrs Value
KEY MasterFixedAsset faat_doc_it anln1 Asset
KEY FixedAsset faat_doc_it anln2 Sub-number
KEY FiscalYear faat_doc_it gjahr Settlement Year
KEY ReferenceDocumentType
KEY ReferenceDocument
KEY ReferenceDocumentContext faat_doc_it aworg Refer. Org.Unit
KEY LogicalSystem faat_doc_it awsys Logical System
KEY TransactionSubitem faat_doc_it subta Sub Transaction
KEY AssetDepreciationArea faat_doc_it afabe Deprec. Area
KEY SubLedgerAcctLineItemType
KEY DebitCreditCode
LedgerFiscalYear
AccountingPrinciple I_LedgerCompanyCodeCrcyRoles AccountingPrinciple AP Ledger/CoCode
Ledger faat_doc_it rldnr Ledger (Compat.)
LedgerGroup
FiscalPeriod faat_doc_it poper Posting periods
GLAccount
AssetAcctTransClassfctn faat_doc_it movcat Trans.Type Cat.
GroupMasterFixedAsset faat_doc_it anlgr Group Asset
GroupFixedAsset faat_doc_it anlgr2 Subnumber
ChartOfDepreciation _ChartOfDeprForAcctgPrinciple ChartOfDepreciation
ReferenceDocumentItem faat_doc_it awitem Ref. Doc. Line Item
ReversalReferenceDocument faat_doc_it awref_rev Reversal Ref.
ReversalReferenceDocumentCntxt faat_doc_it aworg_rev Reversal Org.
IsReversal faat_doc_it xreversing Reversal doc.
IsReversed faat_doc_it xreversed Reversed
DocumentDate faat_doc_it bldat Journal Entry Date
PostingDate faat_doc_it budat Posting Date
AssetTransactionType faat_doc_it bwasl Trans. Type
AssetValueDate faat_doc_it bzdat Reference date
AccountingDocumentCreationDate
CreationTime
DocumentItemText faat_doc_it sgtxt Text
AccountingDocCreatedByUser
GLBusinessTransactionType faat_doc_it vorgn Transaction
AssignmentReference faat_doc_it zuonr Finance Project
JointVentureCostRecoveryCode faat_doc_it recid Statistical Key Figure Item
PartnerMasterFixedAsset faat_doc_it panl1 Partner Asset
PartnerFixedAsset faat_doc_it panl2 Partner Sub-No.
CompanyCodeCurrency faat_doc_it rhcur Local Currency
AmountInCompanyCodeCurrency faat_doc_it hsl Local Crcy Amt
GlobalCurrency faat_doc_it rkcur Ledger curr.
AmountInGlobalCurrency faat_doc_it ksl GrpCurr
FreeDefinedCurrency1 faat_doc_it rocur Free Defined Crcy 1
AmountInFreeDefinedCurrency1 faat_doc_it osl Other Crcy Amnt
FreeDefinedCurrency2 faat_doc_it rvcur Free Defined Crcy 4
AmountInFreeDefinedCurrency2 faat_doc_it vsl Amount in Currency 2
FreeDefinedCurrency3 faat_doc_it rbcur Free Defined Crcy 3
AmountInFreeDefinedCurrency3 faat_doc_it bsl Exchange Key
FreeDefinedCurrency4 faat_doc_it rccur Third Currency
AmountInFreeDefinedCurrency4 faat_doc_it csl Amount in Currency 4
FreeDefinedCurrency5 faat_doc_it rdcur Free Defined Crcy 5
AmountInFreeDefinedCurrency5 faat_doc_it dsl Amount in Currency 5
FreeDefinedCurrency6 faat_doc_it recur Free Defined Crcy 6
AmountInFreeDefinedCurrency6 faat_doc_it esl Amount in Currency 6
FreeDefinedCurrency7 faat_doc_it rfcur Free Defined Crcy 7
AmountInFreeDefinedCurrency7 faat_doc_it fsl Amount in Currency 7
FreeDefinedCurrency8 faat_doc_it rgcur Free Defined Crcy 8
AmountInFreeDefinedCurrency8 faat_doc_it gsl Amount in Currency 8
_ReferenceDocumentType _ReferenceDocumentType
_LogicalSystem _LogicalSystem
_DepreciationArea _DepreciationArea
_CompanyCode _CompanyCode
_FiscalYear _FiscalYear
_FiscalPeriod _FiscalPeriod
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_SubLedgerAccLineItemType _SubLedgerAccLineItemType
_Ledger _Ledger
_LedgerGroup _LedgerGroup
_AssetAcctTransClassfctn _AssetAcctTransClassfctn
_ChartOfDepreciation _ChartOfDepreciation
_AssetTransactionType _AssetTransactionType
_DebitCreditCode _DebitCreditCode
_CompanyCodeCurrency _CompanyCodeCurrency
_GlobalCurrency _GlobalCurrency
_FreeDefinedCurrency1 _FreeDefinedCurrency1
_FreeDefinedCurrency2 _FreeDefinedCurrency2
_FreeDefinedCurrency3 _FreeDefinedCurrency3
_FreeDefinedCurrency4 _FreeDefinedCurrency4
_FreeDefinedCurrency5 _FreeDefinedCurrency5
_FreeDefinedCurrency6 _FreeDefinedCurrency6
_FreeDefinedCurrency7 _FreeDefinedCurrency7
_FreeDefinedCurrency8 _FreeDefinedCurrency8
_AccountingPrinciple _AccountingPrinciple
_PartnerMasterFixedAsset _PartnerMasterFixedAsset
_PartnerFixedAsset _PartnerFixedAsset

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_FxdAstStatisticalLineItem.
-- 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 I_FxdAstStatisticalLineItem AS
SELECT
  docit.bukrs AS CompanyCode,
  docit.anln1 AS MasterFixedAsset,
  docit.anln2 AS FixedAsset,
  docit.gjahr AS FiscalYear,
  cast(docit.awtyp as fis_awtyp) AS ReferenceDocumentType,
  cast(docit.awref as fis_awref) AS ReferenceDocument,
  docit.aworg AS ReferenceDocumentContext,
  docit.awsys AS LogicalSystem,
  docit.subta AS TransactionSubitem,
  docit.afabe AS AssetDepreciationArea,
  cast(docit.slalittype as fis_slalittype preserving type) AS SubLedgerAcctLineItemType,
  cast(docit.drcrk as fis_shkzg) AS DebitCreditCode,
  cast(docit.gjahr as gjahr_pos) AS LedgerFiscalYear,
  I_LedgerCompanyCodeCrcyRoles.AccountingPrinciple AS AccountingPrinciple,
  docit.rldnr AS Ledger,
  cast('' as faa_deprecated_target_ldgrp) AS LedgerGroup,
  docit.poper AS FiscalPeriod,
  cast(' ' as fagl_hkont preserving type) AS GLAccount,
  docit.movcat AS AssetAcctTransClassfctn,
  docit.anlgr AS GroupMasterFixedAsset,
  docit.anlgr2 AS GroupFixedAsset,
  _ChartOfDeprForAcctgPrinciple.ChartOfDepreciation AS ChartOfDepreciation,
  docit.awitem AS ReferenceDocumentItem,
  docit.awref_rev AS ReversalReferenceDocument,
  docit.aworg_rev AS ReversalReferenceDocumentCntxt,
  docit.xreversing AS IsReversal,
  docit.xreversed AS IsReversed,
  docit.bldat AS DocumentDate,
  docit.budat AS PostingDate,
  docit.bwasl AS AssetTransactionType,
  docit.bzdat AS AssetValueDate,
  cast(docit.cpudt as fis_cpudt) AS AccountingDocumentCreationDate,
  cast(docit.cputm as fis_cputm) AS CreationTime,
  docit.sgtxt AS DocumentItemText,
  cast(docit.usnam as fis_usnam) AS AccountingDocCreatedByUser,
  docit.vorgn AS GLBusinessTransactionType,
  docit.zuonr AS AssignmentReference,
  docit.recid AS JointVentureCostRecoveryCode,
  docit.panl1 AS PartnerMasterFixedAsset,
  docit.panl2 AS PartnerFixedAsset,
  docit.rhcur AS CompanyCodeCurrency,
  docit.hsl AS AmountInCompanyCodeCurrency,
  docit.rkcur AS GlobalCurrency,
  docit.ksl AS AmountInGlobalCurrency,
  docit.rocur AS FreeDefinedCurrency1,
  docit.osl AS AmountInFreeDefinedCurrency1,
  docit.rvcur AS FreeDefinedCurrency2,
  docit.vsl AS AmountInFreeDefinedCurrency2,
  docit.rbcur AS FreeDefinedCurrency3,
  docit.bsl AS AmountInFreeDefinedCurrency3,
  docit.rccur AS FreeDefinedCurrency4,
  docit.csl AS AmountInFreeDefinedCurrency4,
  docit.rdcur AS FreeDefinedCurrency5,
  docit.dsl AS AmountInFreeDefinedCurrency5,
  docit.recur AS FreeDefinedCurrency6,
  docit.esl AS AmountInFreeDefinedCurrency6,
  docit.rfcur AS FreeDefinedCurrency7,
  docit.fsl AS AmountInFreeDefinedCurrency7,
  docit.rgcur AS FreeDefinedCurrency8,
  docit.gsl AS AmountInFreeDefinedCurrency8
FROM faat_doc_it AS docit
LEFT OUTER JOIN I_ReferenceDocumentType AS _ReferenceDocumentType ON ReferenceDocumentType = _ReferenceDocumentType.ReferenceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_LogicalSystem AS _LogicalSystem ON LogicalSystem = _LogicalSystem.LogicalSystem  -- association [0..1]
LEFT OUTER JOIN I_DepreciationAreaForLedger AS _DepreciationArea ON CompanyCode = _DepreciationArea.CompanyCode AND Ledger = _DepreciationArea.Ledger AND AssetDepreciationArea = _DepreciationArea.AssetDepreciationArea  -- association [0..1]
LEFT OUTER JOIN I_ChartOfDepreciation AS _ChartOfDepreciation ON chartofdepreciation = _ChartOfDepreciation.ChartOfDepreciation  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_FiscalYearPeriodForCmpnyCode AS _FiscalPeriod ON FiscalYear = _FiscalPeriod.FiscalYear AND FiscalPeriod = _FiscalPeriod.FiscalPeriod AND CompanyCode = _FiscalPeriod.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_MasterFixedAsset AS _MasterFixedAsset ON CompanyCode = _MasterFixedAsset.CompanyCode AND MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset  -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON CompanyCode = _FixedAsset.CompanyCode AND MasterFixedAsset = _FixedAsset.MasterFixedAsset AND FixedAsset = _FixedAsset.FixedAsset  -- association [0..1]
LEFT OUTER JOIN I_MasterFixedAsset AS _PartnerMasterFixedAsset ON CompanyCode = _PartnerMasterFixedAsset.CompanyCode AND PartnerMasterFixedAsset = _PartnerMasterFixedAsset.MasterFixedAsset  -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _PartnerFixedAsset ON CompanyCode = _PartnerFixedAsset.CompanyCode AND PartnerMasterFixedAsset = _PartnerFixedAsset.MasterFixedAsset AND PartnerFixedAsset = _PartnerFixedAsset.FixedAsset  -- association [0..1]
LEFT OUTER JOIN I_SubLedgerAccLineItemType AS _SubLedgerAccLineItemType ON SubLedgerAcctLineItemType = _SubLedgerAccLineItemType.SubLedgerAcctLineItemType  -- association [0..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger  -- association [0..1]
LEFT OUTER JOIN I_LedgerGroup AS _LedgerGroup ON LedgerGroup = _LedgerGroup.LedgerGroup  -- association [0..1]
LEFT OUTER JOIN I_MovementCategory AS _AssetAcctTransClassfctn ON AssetAcctTransClassfctn = _AssetAcctTransClassfctn.AssetAcctTransClassfctn  -- association [0..1]
LEFT OUTER JOIN I_AssetTransactionType AS _AssetTransactionType ON AssetTransactionType = _AssetTransactionType.AssetTransactionType  -- association [0..1]
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode  -- association [1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _GlobalCurrency ON GlobalCurrency = _GlobalCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency1 ON FreeDefinedCurrency1 = _FreeDefinedCurrency1.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency2 ON FreeDefinedCurrency2 = _FreeDefinedCurrency2.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency3 ON FreeDefinedCurrency3 = _FreeDefinedCurrency3.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency4 ON FreeDefinedCurrency4 = _FreeDefinedCurrency4.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency5 ON FreeDefinedCurrency5 = _FreeDefinedCurrency5.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency6 ON FreeDefinedCurrency6 = _FreeDefinedCurrency6.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency7 ON FreeDefinedCurrency7 = _FreeDefinedCurrency7.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency8 ON FreeDefinedCurrency8 = _FreeDefinedCurrency8.Currency  -- association [0..1]
LEFT OUTER JOIN I_AccountingPrinciple AS _AccountingPrinciple ON AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple  -- association [1]
LEFT OUTER JOIN I_ChartOfDeprForAcctgPrinciple AS _ChartOfDeprForAcctgPrinciple ON AccountingPrinciple = _ChartOfDeprForAcctgPrinciple.AccountingPrinciple AND CompanyCode = _ChartOfDeprForAcctgPrinciple.CompanyCode  -- association [0..1]
;