FAA_SDM_BALANCE02
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)
| Source | Alias | Join Type |
|---|---|---|
| faac_cmp_da0 | cmp_da0 | inner |
| faat_doc_it | docit | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA