FAA_UPA_MIG_DI_BALANCE02
DOC_IT line items
FAA_UPA_MIG_DI_BALANCE02 is a CDS View that provides data about "DOC_IT line items" in SAP S/4HANA. It reads from 5 data sources (faac_cmp_da0, faat_doc_it, faat_doc_it, FAA_UPA_MIG_DA_MATH_FMLA, faac_valview1a) and exposes 75 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, FiscalYear, AccountingDocument.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| faac_cmp_da0 | cmp_da0 | inner |
| faat_doc_it | docit | from |
| faat_doc_it | docit | union_all |
| FAA_UPA_MIG_DA_MATH_FMLA | math_fmla | inner |
| faac_valview1a | valview1a | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | DOC_IT line items | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (75)
| 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 | ||||
| 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 | |
| bukrsasCompanyCode | ||||
| 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 | ||||
| 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 |
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_UPA_MIG_DI_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.
CREATE VIEW FAA_UPA_MIG_DI_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 preserving type ) AS ReferenceDocumentType,
docit.awref AS ReferenceDocument,
docit.aworg AS ReferenceDocumentContext,
docit.awsys AS LogicalSystem,
docit.movcat AS AssetAcctTransClassfctn,
cast( '000' as fis_peraf preserving type ) AS DepreciationFiscalPeriod,
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 AS bukrsasCompanyCode,
docit.gsl AS AmountInFreeDefinedCurrency8
FROM faat_doc_it AS docit
INNER JOIN faac_cmp_da0 AS cmp_da0 ON /* join condition not captured in parsed metadata */
INNER JOIN FAA_UPA_MIG_DA_MATH_FMLA AS math_fmla ON /* join condition not captured in parsed metadata */
INNER JOIN faac_valview1a AS valview1a ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): faat_doc_it
;
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