FAA_SDM_BALANCE02

DDL: FAA_SDM_BALANCE02 SQL: FAAVBALANCE02 Type: view

Asset line items

FAA_SDM_BALANCE02 is a CDS View that provides data about "Asset line items" in SAP S/4HANA. It reads from 2 data sources (faac_cmp_da0, faat_doc_it) and exposes 24 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, FiscalYear, AccountingDocument.

Data Sources (2)

SourceAliasJoin Type
faac_cmp_da0 cmp_da0 inner
faat_doc_it docit from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName FAAVBALANCE02 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Asset line items view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view

Fields (24)

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 AccountingDocument
KEY LedgerGLLineItem
KEY TransactionSubitem faat_doc_it subta Sub Transaction
KEY AssetDepreciationArea faat_doc_it afabe Deprec. Area
KEY SubLedgerAcctLineItemType
KEY FiscalPeriod faat_doc_it poper Posting periods
KEY Ledger LedgerGroupAssignment rldnr Ledger (Compat.)
KEY DebitCreditCode faat_doc_it drcrk Debit/Credit
ReferenceDocumentType
ReferenceDocument faat_doc_it awref Reference Doc.
ReferenceDocumentContext faat_doc_it aworg Refer. Org.Unit
LogicalSystem faat_doc_it awsys Logical System
AssetAcctTransClassfctn faat_doc_it movcat Trans.Type Cat.
DepreciationFiscalPeriod
rhcurasCompanyCodeCurrency
AmountInCompanyCodeCurrency faat_doc_it hsl Local Crcy Amt
rkcurasGlobalCurrency
AmountInGlobalCurrency faat_doc_it ksl GrpCurr
FreeDefinedCurrency1 faat_doc_it rocur Free Defined Crcy 1
AmountInFreeDefinedCurrency1 faat_doc_it osl Other Crcy Amnt

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 FAA_SDM_BALANCE02.
-- 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: FAAVBALANCE02

CREATE VIEW FAA_SDM_BALANCE02 AS
SELECT
  docit.bukrs AS CompanyCode,
  docit.anln1 AS MasterFixedAsset,
  docit.anln2 AS FixedAsset,
  docit.gjahr AS FiscalYear,
  cast('' as fis_belnr) AS AccountingDocument,
  cast('' as fis_docln) AS LedgerGLLineItem,
  docit.subta AS TransactionSubitem,
  docit.afabe AS AssetDepreciationArea,
  cast(docit.slalittype as fis_slalittype preserving type) AS SubLedgerAcctLineItemType,
  docit.poper AS FiscalPeriod,
  LedgerGroupAssignment.rldnr AS Ledger,
  docit.drcrk AS DebitCreditCode,
  cast(docit.awtyp as fis_awtyp) AS ReferenceDocumentType,
  docit.awref AS ReferenceDocument,
  docit.aworg AS ReferenceDocumentContext,
  docit.awsys AS LogicalSystem,
  docit.movcat AS AssetAcctTransClassfctn,
  cast('000' as fis_peraf) AS DepreciationFiscalPeriod,
  docit.hsl AS AmountInCompanyCodeCurrency,
  docit.ksl AS AmountInGlobalCurrency,
  docit.rocur AS FreeDefinedCurrency1,
  docit.osl AS AmountInFreeDefinedCurrency1
FROM faat_doc_it AS docit
INNER JOIN faac_cmp_da0 AS cmp_da0 ON /* join condition not captured in parsed metadata */
;