FAA_UPA_MIG_DI_BALANCE02

DDL: FAA_UPA_MIG_DI_BALANCE02 Type: view_entity

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)

SourceAliasJoin 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)

NameValueLevelField
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)

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
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
;