P_ActualPlanGLAcctBalance2

DDL: P_ACTUALPLANGLACCTBALANCE2 Type: view_entity COMPOSITE Package: FINS_FIS_FICO

Actual Plan G/L Account Balances

P_ActualPlanGLAcctBalance2 is a Composite CDS View that provides data about "Actual Plan G/L Account Balances" in SAP S/4HANA. It reads from 3 data sources (I_FinancialPlanningEntryItem, I_FiscalCalendarDate, I_GLAccountLineItem) and exposes 212 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, FinancialPlanningReqTransSqnc. It has 9 associations to related views. Part of development package FINS_FIS_FICO.

Data Sources (3)

SourceAliasJoin Type
I_FinancialPlanningEntryItem I_FinancialPlanningEntryItem union_all
I_FiscalCalendarDate I_FiscalCalendarDate left_outer
I_GLAccountLineItem I_GLAccountLineItem from

Associations (9)

CardinalityTargetAliasCondition
[0..1] I_GLAccountFlowType _GLAccountFlowType $projection.GLAccountFlowType = _GLAccountFlowType.GLAccountFlowType
[0..*] I_GLAccountFlowTypeText _GLAccountFlowTypeText $projection.GLAccountFlowType = _GLAccountFlowTypeText.GLAccountFlowType
[0..1] I_GLAccountTypeFlowType _GLAccountTypeFlowType $projection.GLAccountTypeFlowType = _GLAccountTypeFlowType.GLAccountTypeFlowType
[0..*] I_GLAccountTypeFlowTypeTxt _GLAccountTypeFlowTypeTxt $projection.GLAccountTypeFlowType = _GLAccountTypeFlowTypeTxt.GLAccountTypeFlowType
[0..1] I_DebitCreditCode _DebitCreditCode $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode
[0..1] I_Currency _BalanceTransactionCurrency $projection.BalanceTransactionCurrency = _BalanceTransactionCurrency.Currency
[0..1] I_Ledger _SourceLedger $projection.SourceLedger = _SourceLedger.Ledger
[0..1] I_GLAccountType _GLAccountType $projection.GLAccountType = _GLAccountType.GLAccountType
[0..1] I_JournalEntry _JournalEntry $projection.CompanyCode = _JournalEntry.CompanyCode and $projection.FiscalYear = _JournalEntry.FiscalYear and $projection.AccountingDocument = _JournalEntry.AccountingDocument

Annotations (5)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed false view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (212)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger I_GLAccountLineItem SourceLedger Source Ledger
KEY CompanyCode I_GLAccountLineItem CompanyCode Receiver Company Code
KEY FiscalYear I_GLAccountLineItem FiscalYear G/L Fiscal Year
KEY AccountingDocument I_GLAccountLineItem AccountingDocument Journal Entry
KEY FinancialPlanningReqTransSqnc Request TSN
KEY FinancialPlanningDataPacket Data packet number
KEY ActualPlanJournalEntryItem
LedgerGLLineItem I_GLAccountLineItem LedgerGLLineItem Journal Entry Item
FinancialPlanningEntryItem Object GUID
Ledger I_GLAccountLineItem Ledger Ledger
LedgerFiscalYear I_GLAccountLineItem LedgerFiscalYear Ref. Year1
ActualPlanCode
PlanningCategory Plan Category
AccountingDocumentCategory I_GLAccountLineItem AccountingDocumentCategory Journal Entry Category
ChartOfAccounts I_GLAccountLineItem ChartOfAccounts Node Class
ControllingArea I_GLAccountLineItem ControllingArea Controlling Area
GLAccount I_GLAccountLineItem GLAccount General Ledger
CostCenter I_GLAccountLineItem CostCenter Cost Center
ProfitCenter I_GLAccountLineItem ProfitCenter Profit Center
BusinessArea I_GLAccountLineItem BusinessArea Business Area
FunctionalArea I_GLAccountLineItem FunctionalArea Sendr Fctl Area
Segment I_GLAccountLineItem Segment Segment number
Product I_GLAccountLineItem Product Product Sold
BalanceTransactionCurrency I_GLAccountLineItem BalanceTransactionCurrency Transaction Currency
AmountInBalanceTransacCrcy I_GLAccountLineItem AmountInBalanceTransacCrcy Pt Crcy Amt
TransactionCurrency I_GLAccountLineItem TransactionCurrency Transaction Currency
AmountInTransactionCurrency I_GLAccountLineItem AmountInTransactionCurrency Pt Crcy Amt
CompanyCodeCurrency I_GLAccountLineItem CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency I_GLAccountLineItem AmountInCompanyCodeCurrency Local Crcy Amt
GlobalCurrency I_GLAccountLineItem GlobalCurrency GM Billing Element: Global Currency
AmountInGlobalCurrency I_GLAccountLineItem AmountInGlobalCurrency Amount in Global Currency
FixedAmountInGlobalCrcy I_GLAccountLineItem FixedAmountInGlobalCrcy Fixed Amnt in GC
CostSourceUnit I_GLAccountLineItem CostSourceUnit Valuation UoM
ValuationQuantity I_GLAccountLineItem ValuationQuantity Val. quantity
GLAccountFlowType
GLAccountTypeFlowType
IsBalanceSheetAccount
DebitCreditCode I_GLAccountLineItem DebitCreditCode Single-Character Flag
FiscalPeriodendasFiscalPeriod
FiscalYearVariant I_GLAccountLineItem FiscalYearVariant FY Variant
FiscalYearPeriodendasFiscalYearPeriod
PostingDate I_GLAccountLineItem PostingDate Posting Date for GR
GLAccountType I_GLAccountLineItem GLAccountType G/L Account Type
Supplier I_GLAccountLineItem Supplier Supplier
Customer I_GLAccountLineItem Customer Sold-to Party
CalendarYear I_GLAccountLineItem CalendarYear Year
CalendarQuarter I_GLAccountLineItem CalendarQuarter Calendar Quarter
CalendarYearQuarter I_GLAccountLineItem CalendarYearQuarter
CalendarMonth I_GLAccountLineItem CalendarMonth Calendar Month
CalendarYearMonth I_GLAccountLineItem CalendarYearMonth
CalendarWeek I_GLAccountLineItem CalendarWeek Calendar Week
CalendarYearWeek I_GLAccountLineItem CalendarYearWeek
CalendarDate
FiscalQuarter
FiscalWeek
FiscalYearQuarter
FiscalYearWeek
FinancialManagementArea I_GLAccountLineItem FinancialManagementArea FM Area
Fund I_GLAccountLineItem Fund Sender Fund
GrantID I_GLAccountLineItem GrantID Sender Grant
BudgetPeriod I_GLAccountLineItem BudgetPeriod Budget Period
OrderType I_GLAccountLineItem OrderType Order Type
AssetClass I_GLAccountLineItem AssetClass Asset Class
FinancialAccountType I_GLAccountLineItem FinancialAccountType Fin. Account Type
SalesOrganization I_GLAccountLineItem SalesOrganization Sales Organization
DistributionChannel I_GLAccountLineItem DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision I_GLAccountLineItem OrganizationDivision Org. Division
ServiceDocumentType I_GLAccountLineItem ServiceDocumentType Transaction Type
Plant I_GLAccountLineItem Plant Valuation Area
ValuationArea I_GLAccountLineItem ValuationArea Valuation Area
ServiceDocument I_GLAccountLineItem ServiceDocument Transaction ID
ServiceDocumentItem I_GLAccountLineItem ServiceDocumentItem Service Document
SalesDocument I_GLAccountLineItem SalesDocument SD Document
MasterFixedAsset I_GLAccountLineItem MasterFixedAsset Fixed Asset
FixedAsset I_GLAccountLineItem FixedAsset Sub-number
AccountingDocumentType I_GLAccountLineItem AccountingDocumentType Journal Entry Type
OrderID I_GLAccountLineItem OrderID Order ID
_BalanceTransactionCurrency I_GLAccountLineItem _BalanceTransactionCurrency
_BusinessArea I_GLAccountLineItem _BusinessArea
_ChartOfAccounts I_GLAccountLineItem _ChartOfAccounts
_CompanyCode I_GLAccountLineItem _CompanyCode
_CompanyCodeCurrency I_GLAccountLineItem _CompanyCodeCurrency
_ControllingArea I_GLAccountLineItem _ControllingArea
_CostCenter I_GLAccountLineItem _CostCenter
_CostSourceUnit I_GLAccountLineItem _CostSourceUnit
_CurrentCostCenter I_GLAccountLineItem _CurrentCostCenter
_CurrentProfitCenter I_GLAccountLineItem _CurrentProfitCenter
_DebitCreditCode I_GLAccountLineItem _DebitCreditCode
_FiscalCalendarDate I_GLAccountLineItem _FiscalCalendarDate
_FiscalYear I_GLAccountLineItem _FiscalYear
_FiscalYearVariant I_GLAccountLineItem _FiscalYearVariant
_FunctionalArea I_GLAccountLineItem _FunctionalArea
_GLAccountFlowType _GLAccountFlowType
_GLAccountFlowTypeText _GLAccountFlowTypeText
_GLAccountInChartOfAccounts I_GLAccountLineItem _GLAccountInChartOfAccounts
_GLAccountInCompanyCode I_GLAccountLineItem _GLAccountInCompanyCode
_GLAccountType I_GLAccountLineItem _GLAccountType
_GLAccountTypeFlowType _GLAccountTypeFlowType
_GLAccountTypeFlowTypeTxt _GLAccountTypeFlowTypeTxt
_GlobalCurrency I_GLAccountLineItem _GlobalCurrency
_JournalEntry I_GLAccountLineItem _JournalEntry
_Ledger I_GLAccountLineItem _Ledger
_LedgerFiscalYearForVariant I_GLAccountLineItem _LedgerFiscalYearForVariant
_ProfitCenter I_GLAccountLineItem _ProfitCenter
_Segment I_GLAccountLineItem _Segment
_SourceLedger I_GLAccountLineItem _SourceLedger
Ledgerasfins_ledger_persasSourceLedger
KEY CompanyCode I_FinancialPlanningEntryItem CompanyCode Receiver Company Code
KEY FiscalYear I_FinancialPlanningEntryItem FiscalYear G/L Fiscal Year
KEY AccountingDocument Journal Entry
KEY FinancialPlanningReqTransSqnc I_FinancialPlanningEntryItem FinancialPlanningReqTransSqnc Request TSN
KEY FinancialPlanningDataPacket I_FinancialPlanningEntryItem FinancialPlanningDataPacket Data packet number
KEY ActualPlanJournalEntryItem
LedgerGLLineItem Journal Entry Item
FinancialPlanningEntryItem I_FinancialPlanningEntryItem FinancialPlanningEntryItem Object GUID
Ledger I_FinancialPlanningEntryItem Ledger Ledger
LedgerFiscalYear I_FinancialPlanningEntryItem LedgerFiscalYear Ref. Year1
ActualPlanCode
PlanningCategory I_FinancialPlanningEntryItem PlanningCategory Plan Category
AccountingDocumentCategory Journal Entry Category
ChartOfAccounts I_FinancialPlanningEntryItem ChartOfAccounts Node Class
ControllingArea I_FinancialPlanningEntryItem ControllingArea Controlling Area
GLAccount I_FinancialPlanningEntryItem GLAccount General Ledger
CostCenter I_FinancialPlanningEntryItem CostCenter Cost Center
ProfitCenter I_FinancialPlanningEntryItem ProfitCenter Profit Center
BusinessArea I_FinancialPlanningEntryItem BusinessArea Business Area
FunctionalArea I_FinancialPlanningEntryItem FunctionalArea Sendr Fctl Area
Segment I_FinancialPlanningEntryItem Segment Segment number
Product I_FinancialPlanningEntryItem Product Product Sold
BalanceTransactionCurrency Transaction Currency
AmountInBalanceTransacCrcy Pt Crcy Amt
TransactionCurrency I_FinancialPlanningEntryItem TransactionCurrency Transaction Currency
AmountInTransactionCurrency I_FinancialPlanningEntryItem AmountInTransactionCurrency Pt Crcy Amt
CompanyCodeCurrency I_FinancialPlanningEntryItem CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency I_FinancialPlanningEntryItem AmountInCompanyCodeCurrency Local Crcy Amt
GlobalCurrency I_FinancialPlanningEntryItem GlobalCurrency GM Billing Element: Global Currency
AmountInGlobalCurrency I_FinancialPlanningEntryItem AmountInGlobalCurrency Amount in Global Currency
FixedAmountInGlobalCrcy I_FinancialPlanningEntryItem FixedAmountInGlobalCrcy Fixed Amnt in GC
CostSourceUnit I_FinancialPlanningEntryItem CostSourceUnit Valuation UoM
ValuationQuantity I_FinancialPlanningEntryItem ValuationQuantity Val. quantity
GLAccountFlowType
GLAccountTypeFlowType
IsBalanceSheetAccount
FiscalPeriodendasFiscalPeriod
FiscalYearVariant I_FinancialPlanningEntryItem FiscalYearVariant FY Variant
FiscalYearPeriodendasFiscalYearPeriod
PostingDate I_FinancialPlanningEntryItem PostingDate Posting Date for GR
GLAccountType G/L Account Type
Supplier Supplier
Customer I_FinancialPlanningEntryItem Customer Sold-to Party
CalendarYear Year
CalendarQuarter Calendar Quarter
CalendarYearQuarter
CalendarMonth Calendar Month
CalendarYearMonth
CalendarWeek Calendar Week
CalendarYearWeek
CalendarDate
FiscalQuarter
FiscalWeek
FiscalYearQuarter
FiscalYearWeek
FinancialManagementArea I_FinancialPlanningEntryItem FinancialManagementArea FM Area
Fund I_FinancialPlanningEntryItem Fund Sender Fund
GrantID I_FinancialPlanningEntryItem GrantID Sender Grant
BudgetPeriod I_FinancialPlanningEntryItem BudgetPeriod Budget Period
OrderType I_FinancialPlanningEntryItem OrderType Order Type
AssetClass I_FinancialPlanningEntryItem AssetClass Asset Class
FinancialAccountType Fin. Account Type
SalesOrganization I_FinancialPlanningEntryItem SalesOrganization Sales Organization
DistributionChannel I_FinancialPlanningEntryItem DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision I_FinancialPlanningEntryItem OrganizationDivision Org. Division
ServiceDocumentType Transaction Type
Plant I_FinancialPlanningEntryItem Plant Valuation Area
ValuationArea Valuation Area
ServiceDocument Transaction ID
ServiceDocumentItem Service Document
SalesDocument I_FinancialPlanningEntryItem SalesDocument SD Document
MasterFixedAsset I_FinancialPlanningEntryItem MasterFixedAsset Fixed Asset
FixedAsset I_FinancialPlanningEntryItem FixedAsset Sub-number
AccountingDocumentType Journal Entry Type
OrderID I_FinancialPlanningEntryItem OrderID Order ID
_BalanceTransactionCurrency _BalanceTransactionCurrency
_BusinessArea I_FinancialPlanningEntryItem _BusinessArea
_ChartOfAccounts I_FinancialPlanningEntryItem _ChartOfAccounts
_CompanyCode I_FinancialPlanningEntryItem _CompanyCode
_CompanyCodeCurrency I_FinancialPlanningEntryItem _CompanyCodeCurrency
_ControllingArea I_FinancialPlanningEntryItem _ControllingArea
_CostCenter I_FinancialPlanningEntryItem _CostCenter
_CostSourceUnit I_FinancialPlanningEntryItem _CostSourceUnit
_CurrentCostCenter I_FinancialPlanningEntryItem _CurrentCostCenter
_CurrentProfitCenter I_FinancialPlanningEntryItem _CurrentProfitCenter
_DebitCreditCode _DebitCreditCode
_FiscalCalendarDate I_FinancialPlanningEntryItem _FiscalCalendarDate
_FiscalYear I_FinancialPlanningEntryItem _FiscalYear
_FiscalYearVariant I_FinancialPlanningEntryItem _FiscalYearVariant
_FunctionalArea I_FinancialPlanningEntryItem _FunctionalArea
_GLAccountFlowType _GLAccountFlowType
_GLAccountFlowTypeText _GLAccountFlowTypeText
_GLAccountInChartOfAccounts I_FinancialPlanningEntryItem _GLAccountInChartOfAccounts
_GLAccountInCompanyCode I_FinancialPlanningEntryItem _GLAccountInCompanyCode
_GLAccountType _GLAccountType
_GLAccountTypeFlowType _GLAccountTypeFlowType
_GLAccountTypeFlowTypeTxt _GLAccountTypeFlowTypeTxt
_GlobalCurrency I_FinancialPlanningEntryItem _GlobalCurrency
_JournalEntry _JournalEntry
_Ledger I_FinancialPlanningEntryItem _Ledger
_LedgerFiscalYearForVariant I_FinancialPlanningEntryItem _LedgerFiscalYearForVariant
_ProfitCenter I_FinancialPlanningEntryItem _ProfitCenter
_Segment I_FinancialPlanningEntryItem _Segment
_SourceLedger _SourceLedger
_TransactionCurrency I_FinancialPlanningEntryItem _TransactionCurrency

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 P_ActualPlanGLAcctBalance2.
-- 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 P_ActualPlanGLAcctBalance2 AS
SELECT
  I_GLAccountLineItem.SourceLedger AS SourceLedger,
  I_GLAccountLineItem.CompanyCode AS CompanyCode,
  I_GLAccountLineItem.FiscalYear AS FiscalYear,
  I_GLAccountLineItem.AccountingDocument AS AccountingDocument,
  cast(cast( '00000000000000000000000' as abap.numc (23)) as fis_fp_request_tsn ) AS FinancialPlanningReqTransSqnc,
  cast(cast( '000000' as abap.numc (6)) as fis_fp_data_packet ) AS FinancialPlanningDataPacket,
  cast( I_GLAccountLineItem.LedgerGLLineItem as fis_act_pln_docln) AS ActualPlanJournalEntryItem,
  I_GLAccountLineItem.LedgerGLLineItem AS LedgerGLLineItem,
  cast(cast( 0 as abap.int4 ) as fis_fp_entry_item ) AS FinancialPlanningEntryItem,
  I_GLAccountLineItem.Ledger AS Ledger,
  I_GLAccountLineItem.LedgerFiscalYear AS LedgerFiscalYear,
  cast(cast( 'A' as abap.char (1)) as fis_actual_plan_code) AS ActualPlanCode,
  cast( 'ACT01 ' as fcom_category preserving type ) AS PlanningCategory,
  I_GLAccountLineItem.AccountingDocumentCategory AS AccountingDocumentCategory,
  I_GLAccountLineItem.ChartOfAccounts AS ChartOfAccounts,
  I_GLAccountLineItem.ControllingArea AS ControllingArea,
  I_GLAccountLineItem.GLAccount AS GLAccount,
  I_GLAccountLineItem.CostCenter AS CostCenter,
  I_GLAccountLineItem.ProfitCenter AS ProfitCenter,
  I_GLAccountLineItem.BusinessArea AS BusinessArea,
  I_GLAccountLineItem.FunctionalArea AS FunctionalArea,
  I_GLAccountLineItem.Segment AS Segment,
  I_GLAccountLineItem.Product AS Product,
  I_GLAccountLineItem.BalanceTransactionCurrency AS BalanceTransactionCurrency,
  I_GLAccountLineItem.AmountInBalanceTransacCrcy AS AmountInBalanceTransacCrcy,
  I_GLAccountLineItem.TransactionCurrency AS TransactionCurrency,
  I_GLAccountLineItem.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  I_GLAccountLineItem.CompanyCodeCurrency AS CompanyCodeCurrency,
  I_GLAccountLineItem.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  I_GLAccountLineItem.GlobalCurrency AS GlobalCurrency,
  I_GLAccountLineItem.AmountInGlobalCurrency AS AmountInGlobalCurrency,
  I_GLAccountLineItem.FixedAmountInGlobalCrcy AS FixedAmountInGlobalCrcy,
  I_GLAccountLineItem.CostSourceUnit AS CostSourceUnit,
  I_GLAccountLineItem.ValuationQuantity AS ValuationQuantity,
  cast( ' ' as fis_glaccount_flow_type preserving type ) AS GLAccountFlowType,
  cast( ' ' as fis_glacct_type_flow_type preserving type ) AS GLAccountTypeFlowType,
  I_GLAccountLineItem._GLAccountInChartOfAccounts.IsBalanceSheetAccount AS IsBalanceSheetAccount,
  I_GLAccountLineItem.DebitCreditCode AS DebitCreditCode,
  case when I_GLAccountLineItem.FiscalPeriod > I_FiscalCalendarDate.FiscalPeriod then I_FiscalCalendarDate.FiscalPeriod else I_GLAccountLineItem.FiscalPeriod end as FiscalPeriod AS FiscalPeriodendasFiscalPeriod,
  I_GLAccountLineItem.FiscalYearVariant AS FiscalYearVariant,
  case when I_GLAccountLineItem.FiscalYearPeriod > I_FiscalCalendarDate.FiscalYearPeriod then I_FiscalCalendarDate.FiscalYearPeriod else I_GLAccountLineItem.FiscalYearPeriod end as FiscalYearPeriod AS FiscalYearPeriodendasFiscalYearPeriod,
  I_GLAccountLineItem.PostingDate AS PostingDate,
  I_GLAccountLineItem.GLAccountType AS GLAccountType,
  I_GLAccountLineItem.Supplier AS Supplier,
  I_GLAccountLineItem.Customer AS Customer,
  I_GLAccountLineItem.CalendarYear AS CalendarYear,
  I_GLAccountLineItem.CalendarQuarter AS CalendarQuarter,
  I_GLAccountLineItem.CalendarYearQuarter AS CalendarYearQuarter,
  I_GLAccountLineItem.CalendarMonth AS CalendarMonth,
  I_GLAccountLineItem.CalendarYearMonth AS CalendarYearMonth,
  I_GLAccountLineItem.CalendarWeek AS CalendarWeek,
  I_GLAccountLineItem.CalendarYearWeek AS CalendarYearWeek,
  I_GLAccountLineItem._FiscalCalendarDate.CalendarDate AS CalendarDate,
  I_GLAccountLineItem._FiscalCalendarDate.FiscalQuarter AS FiscalQuarter,
  I_GLAccountLineItem._FiscalCalendarDate.FiscalWeek AS FiscalWeek,
  I_GLAccountLineItem._FiscalCalendarDate.FiscalYearQuarter AS FiscalYearQuarter,
  I_GLAccountLineItem._FiscalCalendarDate.FiscalYearWeek AS FiscalYearWeek,
  I_GLAccountLineItem.FinancialManagementArea AS FinancialManagementArea,
  I_GLAccountLineItem.Fund AS Fund,
  I_GLAccountLineItem.GrantID AS GrantID,
  I_GLAccountLineItem.BudgetPeriod AS BudgetPeriod,
  I_GLAccountLineItem.OrderType AS OrderType,
  I_GLAccountLineItem.AssetClass AS AssetClass,
  I_GLAccountLineItem.FinancialAccountType AS FinancialAccountType,
  I_GLAccountLineItem.SalesOrganization AS SalesOrganization,
  I_GLAccountLineItem.DistributionChannel AS DistributionChannel,
  I_GLAccountLineItem.OrganizationDivision AS OrganizationDivision,
  I_GLAccountLineItem.ServiceDocumentType AS ServiceDocumentType,
  I_GLAccountLineItem.Plant AS Plant,
  I_GLAccountLineItem.ValuationArea AS ValuationArea,
  I_GLAccountLineItem.ServiceDocument AS ServiceDocument,
  I_GLAccountLineItem.ServiceDocumentItem AS ServiceDocumentItem,
  I_GLAccountLineItem.SalesDocument AS SalesDocument,
  I_GLAccountLineItem.MasterFixedAsset AS MasterFixedAsset,
  I_GLAccountLineItem.FixedAsset AS FixedAsset,
  I_GLAccountLineItem.AccountingDocumentType AS AccountingDocumentType,
  I_GLAccountLineItem.OrderID AS OrderID,
  I_GLAccountLineItem._BalanceTransactionCurrency AS _BalanceTransactionCurrency,
  I_GLAccountLineItem._BusinessArea AS _BusinessArea,
  I_GLAccountLineItem._ChartOfAccounts AS _ChartOfAccounts,
  I_GLAccountLineItem._CompanyCode AS _CompanyCode,
  I_GLAccountLineItem._CompanyCodeCurrency AS _CompanyCodeCurrency,
  I_GLAccountLineItem._ControllingArea AS _ControllingArea,
  I_GLAccountLineItem._CostCenter AS _CostCenter,
  I_GLAccountLineItem._CostSourceUnit AS _CostSourceUnit,
  I_GLAccountLineItem._CurrentCostCenter AS _CurrentCostCenter,
  I_GLAccountLineItem._CurrentProfitCenter AS _CurrentProfitCenter,
  I_GLAccountLineItem._DebitCreditCode AS _DebitCreditCode,
  I_GLAccountLineItem._FiscalCalendarDate AS _FiscalCalendarDate,
  I_GLAccountLineItem._FiscalYear AS _FiscalYear,
  I_GLAccountLineItem._FiscalYearVariant AS _FiscalYearVariant,
  I_GLAccountLineItem._FunctionalArea AS _FunctionalArea,
  I_GLAccountLineItem._GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts,
  I_GLAccountLineItem._GLAccountInCompanyCode AS _GLAccountInCompanyCode,
  I_GLAccountLineItem._GLAccountType AS _GLAccountType,
  I_GLAccountLineItem._GlobalCurrency AS _GlobalCurrency,
  I_GLAccountLineItem._JournalEntry AS _JournalEntry,
  I_GLAccountLineItem._Ledger AS _Ledger,
  I_GLAccountLineItem._LedgerFiscalYearForVariant AS _LedgerFiscalYearForVariant,
  I_GLAccountLineItem._ProfitCenter AS _ProfitCenter,
  I_GLAccountLineItem._Segment AS _Segment,
  I_GLAccountLineItem._SourceLedger AS _SourceLedger,
  I_GLAccountLineItem._TransactionCurrency AS Ledgerasfins_ledger_persasSourceLedger,
  I_FinancialPlanningEntryItem._TransactionCurrency AS _TransactionCurrency
FROM I_GLAccountLineItem
LEFT OUTER JOIN I_FiscalCalendarDate ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_GLAccountFlowType AS _GLAccountFlowType ON GLAccountFlowType = _GLAccountFlowType.GLAccountFlowType  -- association [0..1]
LEFT OUTER JOIN I_GLAccountFlowTypeText AS _GLAccountFlowTypeText ON GLAccountFlowType = _GLAccountFlowTypeText.GLAccountFlowType  -- association [0..*]
LEFT OUTER JOIN I_GLAccountTypeFlowType AS _GLAccountTypeFlowType ON GLAccountTypeFlowType = _GLAccountTypeFlowType.GLAccountTypeFlowType  -- association [0..1]
LEFT OUTER JOIN I_GLAccountTypeFlowTypeTxt AS _GLAccountTypeFlowTypeTxt ON GLAccountTypeFlowType = _GLAccountTypeFlowTypeTxt.GLAccountTypeFlowType  -- association [0..*]
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _BalanceTransactionCurrency ON BalanceTransactionCurrency = _BalanceTransactionCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Ledger AS _SourceLedger ON SourceLedger = _SourceLedger.Ledger  -- association [0..1]
LEFT OUTER JOIN I_GLAccountType AS _GLAccountType ON GLAccountType = _GLAccountType.GLAccountType  -- association [0..1]
LEFT OUTER JOIN I_JournalEntry AS _JournalEntry ON CompanyCode = _JournalEntry.CompanyCode AND FiscalYear = _JournalEntry.FiscalYear AND AccountingDocument = _JournalEntry.AccountingDocument  -- association [0..1]
-- UNION ALL with additional select branch(es): I_FinancialPlanningEntryItem
;