C_GLAccountFlow

DDL: C_GLACCOUNTFLOW SQL: CFIGLACCTFLOW Type: view CONSUMPTION

G/L Account Balance with Flow-Measure

C_GLAccountFlow (Consumption)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

C_GLAccountFlow is a Consumption CDS View that provides data about "G/L Account Balance with Flow-Measure" in SAP S/4HANA. It reads from 1 data source (I_GLAccountBalance) and exposes 247 fields.

SAP Help Documentation

CategoryRetrieve Balances for G/L Accounts in Fiscal Period
Data CategoryQuery
StatusReleased
Purpose
This CDS view provides balances of various dimensions of the journal entry including the most important business entities, such as G/L account, company code, cost center or profit center. Other attributes and hierarchies can be reached via associations. The CDS view also contains all balance carry forward postings. This CDS view provides the prerequisites for answering the following business questions: What are the ending balances of G/L accounts which are balance sheet accounts for specific fiscal periods in the fiscal year in question? What are the changing balances of G/L accounts which are Profit and Loss (P&L) accounts for specific fiscal periods in the fiscal year in question? What are the opening and changing balances of G/L accounts which are balance sheet accounts? What are the opening, changing and ending balances of G/L accounts of all account types for specific fiscal periods in the fiscal year in question? What are balances for other organizational entities, such as cost center, profit center, controlling area and more for specific fiscal periods in the fiscal year in question? Note If you want to import data into the SAP Analytics Cloud (SAC) , we recommend that you rather use the Retrieve Balances for G/L Accounts in Fiscal Periods successor service. Note This CDS view is not designed for usage in the Custom CDS Views and Custom Analytical Queries apps. Note This CDS view provides access to opening and ending balances. If you want to create a report for only year-to-date (moving) balances, it is recommended to use the G/L Account Line Item Cube CDS view. Note The G/L account flow type is most essential for this CDS view. You have to include it in each query. The G/L account flow type describes whether the balances are opening, changing or ending balances: The opening balance is the amount total from the start date of the fiscal year (with balance carryforward) to a selected from date in the range filter. The changing balance totals changes within the selected time range (credit and debit). The ending balance is the result of adding up opening and changing balance amounts.

Structure
Object types This view is built on the following object types: Journal entry Main CDS parameters and filters The main filters are: Ledger CompanyCode LedgerFiscalYear or FiscalYearPeriod GLAccount ProfitCenter Measures and attributes Some important measures and attributes are: CompanyCode GLAccount GLAccountFlowType GLAccountTypeFlowType (differentiates between balance sheet account, Profit and Loss account and G/L account flow type) Flow amount in a distinct currency type, such as company code currency, transaction currency, global currency or a free-defined currency

Example Request
OData Request /sap/opu/odata/sap/C_GLACCOUNTFLOW_CDS/C_GLACCOUNTFLOW?$filter=Ledger eq '0L' and FiscalYearPeriod ge '0012018' and FiscalYearPeriod le '0032018' and CompanyCode eq 'F001'&$select=Ledger,CompanyCode,GLAccount,GLAccountFlowType,FiscalYearPeriod,FlowAmountInCoCodeCrcy Back-End Request If you want to retrieve data using back-end transactions you can use the corresponding 2cCFIGLACCTFLOW analytical query via transaction RSRT . This CDS view does not allow SQL select statements in ABAP coding. (This is valid both for the DDL view and the corresponding SQL view.)

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-GL
CapabilitiesAnalytical Query
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides balances of various dimensions of the journal entry including the most important business entities, such as G/L account, company code, cost center or profit center. Other attributes and hierarchies can be reached via associations. The CDS view also contains all balance carry forward postings.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>What are the ending balances of G/L accounts which are balance sheet accounts for specific fiscal periods in the fiscal year in question?</p></li> <li><p>What are the changing balances of G/L accounts which are Profit and Loss (P&amp;L) accounts for specific fiscal periods in the fiscal year in question?</p></li> <li><p>What are the opening and changing balances of G/L accounts which are balance sheet accounts?</p></li> <li><p>What are the opening, changing and ending balances of G/L accounts of all account types for specific fiscal periods in the fiscal year in question?</p></li> <li><p>What are balances for other organizational entities, such as cost center, profit center, controlling area and more for specific fiscal periods in the fiscal year in question?</p></li> </ul> <p>The G/L account flow type describes whether the balances are opening, changing or ending balances:</p> <ul> <li><p>The opening balance is the amount total from the start date of the fiscal year (with balance carryforward) to a selected from date in the range filter.</p></li> <li><p>The changing balance totals changes within the selected time range (credit and debit).</p></li> <li><p>The ending balance is the result of adding up opening and changing balance amounts.</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_GLAccountBalance I_GLAccountBalance from

Annotations (16)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName CFIGLACCTFLOW view
EndUserText.label G/L Account Balance with Flow-Measure view
VDM.viewType #CONSUMPTION view
Analytics.query true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Analytics.settings.maxProcessingEffort #HIGH view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
OData.publish true view
ObjectModel.modelingPattern #ANALYTICAL_QUERY view

Fields (247)

KeyFieldSource TableSource FieldDescription
SourceLedger SourceLedger Source Ledger
FREELedger
CompanyCode CompanyCode Receiver Company Code
GLAccount GLAccount General Ledger
LedgerFiscalYear LedgerFiscalYear Fiscal Year of Ledger
FiscalYearPeriod FiscalYearPeriod Fiscal Year Period
PostingDate PostingDate Posting Date for GR
GLAccountTypeFlowType GLAccountTypeFlowType G/L Account Flow Type For G/L Account Type
GLAccountFlowType GLAccountFlowType G/L Account Flow Type
IsBalanceSheetAccount IsBalanceSheetAccount Indicator: Account is a balance sheet account?
AccountingDocument AccountingDocument Journal Entry
LedgerGLLineItem LedgerGLLineItem General Ledger Journal Entry Line Item
FiscalYear FiscalYear G/L Fiscal Year
ChartOfAccounts ChartOfAccounts Chart of Accounts
ControllingArea ControllingArea Controlling Area
FinancialTransactionType FinancialTransactionType Financial Transaction Type
BusinessTransactionType BusinessTransactionType Business Transaction Type
ReferenceDocumentType ReferenceDocumentType Reference Document Type
LogicalSystem LogicalSystem Logical System
ReferenceDocumentItemGroup ReferenceDocumentItemGroup Reference Document Item Group
IsReversal IsReversal Indicator: Item is Reversing Another Item
IsReversed IsReversed Indicator: Item is Reversed
IsSettlement IsSettlement Indicator: Item is Settling or Transferring Another Item
IsSettled IsSettled Indicator: Line Item is Settled or Transferred
PredecessorReferenceDocType PredecessorReferenceDocType Predecessor Reference Document Type
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
Segment Segment Segment for Segmental Reporting
PartnerCostCenter PartnerCostCenter Partner Cost Center
PartnerProfitCenter PartnerProfitCenter Partner Profit Center
PartnerFunctionalArea PartnerFunctionalArea Partner Functional Area
PartnerBusinessArea PartnerBusinessArea Partner Business Area
PartnerCompany PartnerCompany Company ID of Trading Partner
PartnerSegment PartnerSegment Partner Segment for Segmental Reporting
DebitCreditCode DebitCreditCode Single-Character Flag
FiscalPeriod FiscalPeriod Fiscal Period
FiscalYearVariant FiscalYearVariant Fiscal Year Variant
AccountingDocumentType AccountingDocumentType Journal Entry Type
AssignmentReference AssignmentReference Assignment Reference
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
PostingKey PostingKey Posting Key
MEASURESBalanceTransactionCurrency
AmountInBalanceTransacCrcy AmountInBalanceTransacCrcy Amount in Balance Transaction Currency
FlowAmountInBalanceTransCrcy FlowAmountInBalanceTransCrcy Flow Amount in Balance Transaction Currency
DebitAmountInBalanceTransCrcy DebitAmountInBalanceTransCrcy Debit Amount in Balance Transaction Currency
CreditAmountInBalanceTransCrcy CreditAmountInBalanceTransCrcy Credit Amount in Balance Transaction Currency
TransactionCurrency TransactionCurrency Transaction Currency
AmountInTransactionCurrency AmountInTransactionCurrency Amount in Transaction Currency
FlowAmountInTransCrcy FlowAmountInTransCrcy Flow Amount in Transaction Currency
DebitAmountInTransCrcy DebitAmountInTransCrcy Debit Amount in Transaction Currency
CreditAmountInTransCrcy CreditAmountInTransCrcy Credit Amount in Transaction Currency
CompanyCodeCurrency CompanyCodeCurrency Company Code Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Amount in Company Code Currency
FlowAmountInCoCodeCrcy FlowAmountInCoCodeCrcy Flow Amount in Company Code Currency
DebitAmountInCoCodeCrcy DebitAmountInCoCodeCrcy Debit Amount in Company Code Currency
CreditAmountInCoCodeCrcy CreditAmountInCoCodeCrcy Credit Amount in Company Code Currency
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
AmountInGlobalCurrency AmountInGlobalCurrency Amount in Global Currency
FlowAmountInGlobalCrcy FlowAmountInGlobalCrcy Flow Amount in Global Currency
DebitAmountInGlobalCrcy DebitAmountInGlobalCrcy Debit Amount in Global Currency
CreditAmountInGlobalCrcy CreditAmountInGlobalCrcy Credit Amount in Global Currency
FreeDefinedCurrency1 FreeDefinedCurrency1 Freely Defined Currency 1
AmountInFreeDefinedCurrency1 AmountInFreeDefinedCurrency1 Amount in Freely Defined Currency 1
FlowAmountInFreeDfndCrcy1 FlowAmountInFreeDfndCrcy1 Flow Amount in Free Defined Currency 1
DebitAmountInFreeDfndCrcy1 DebitAmountInFreeDfndCrcy1 Debit Amount in Free Defined Currency 1
CreditAmountInFreeDfndCrcy1 CreditAmountInFreeDfndCrcy1 Credit Amount in Free Defined Currency 1
FreeDefinedCurrency2 FreeDefinedCurrency2 Freely Defined Currency 2
AmountInFreeDefinedCurrency2 AmountInFreeDefinedCurrency2 Amount in Freely Defined Currency 2
FlowAmountInFreeDfndCrcy2 FlowAmountInFreeDfndCrcy2 Flow Amount in Free Defined Currency 2
DebitAmountInFreeDfndCrcy2 DebitAmountInFreeDfndCrcy2 Debit Amount in Free Defined Currency 2
CreditAmountInFreeDfndCrcy2 CreditAmountInFreeDfndCrcy2 Credit Amount in Free Defined Currency 2
FreeDefinedCurrency3 FreeDefinedCurrency3 Freely Defined Currency 3
AmountInFreeDefinedCurrency3 AmountInFreeDefinedCurrency3 Amount in Freely Defined Currency 3
FlowAmountInFreeDfndCrcy3 FlowAmountInFreeDfndCrcy3 Flow Amount in Free Defined Currency 3
DebitAmountInFreeDfndCrcy3 DebitAmountInFreeDfndCrcy3 Debit Amount in Free Defined Currency 3
CreditAmountInFreeDfndCrcy3 CreditAmountInFreeDfndCrcy3 Credit Amount in Free Defined Currency 3
FreeDefinedCurrency4 FreeDefinedCurrency4 Freely Defined Currency 4
AmountInFreeDefinedCurrency4 AmountInFreeDefinedCurrency4 Amount in Freely Defined Currency 4
FlowAmountInFreeDfndCrcy4 FlowAmountInFreeDfndCrcy4 Flow Amount in Free Defined Currency 4
DebitAmountInFreeDfndCrcy4 DebitAmountInFreeDfndCrcy4 Debit Amount in Free Defined Currency 4
CreditAmountInFreeDfndCrcy4 CreditAmountInFreeDfndCrcy4 Credit Amount in Free Defined Currency 4
FreeDefinedCurrency5 FreeDefinedCurrency5 Freely Defined Currency 5
AmountInFreeDefinedCurrency5 AmountInFreeDefinedCurrency5 Amount in Freely Defined Currency 5
FlowAmountInFreeDfndCrcy5 FlowAmountInFreeDfndCrcy5 Flow Amount in Free Defined Currency 5
DebitAmountInFreeDfndCrcy5 DebitAmountInFreeDfndCrcy5 Debit Amount in Free Defined Currency 5
CreditAmountInFreeDfndCrcy5 CreditAmountInFreeDfndCrcy5 Credit Amount in Free Defined Currency 5
FreeDefinedCurrency6 FreeDefinedCurrency6 Freely Defined Currency 6
AmountInFreeDefinedCurrency6 AmountInFreeDefinedCurrency6 Amount in Freely Defined Currency 6
FlowAmountInFreeDfndCrcy6 FlowAmountInFreeDfndCrcy6 Flow Amount in Free Defined Currency 6
DebitAmountInFreeDfndCrcy6 DebitAmountInFreeDfndCrcy6 Debit Amount in Free Defined Currency 6
CreditAmountInFreeDfndCrcy6 CreditAmountInFreeDfndCrcy6 Credit Amount in Free Defined Currency 6
FreeDefinedCurrency7 FreeDefinedCurrency7 Freely Defined Currency 7
AmountInFreeDefinedCurrency7 AmountInFreeDefinedCurrency7 Amount in Freely Defined Currency 7
FlowAmountInFreeDfndCrcy7 FlowAmountInFreeDfndCrcy7 Flow Amount in Free Defined Currency 7
DebitAmountInFreeDfndCrcy7 DebitAmountInFreeDfndCrcy7 Debit Amount in Free Defined Currency 7
CreditAmountInFreeDfndCrcy7 CreditAmountInFreeDfndCrcy7 Credit Amount in Free Defined Currency 7
FreeDefinedCurrency8 FreeDefinedCurrency8 Freely Defined Currency 8
AmountInFreeDefinedCurrency8 AmountInFreeDefinedCurrency8 Amount in Freely Defined Currency 8
FlowAmountInFreeDfndCrcy8 FlowAmountInFreeDfndCrcy8 Flow Amount in Free Defined Currency 8
DebitAmountInFreeDfndCrcy8 DebitAmountInFreeDfndCrcy8 Debit Amount in Free Defined Currency 8
CreditAmountInFreeDfndCrcy8 CreditAmountInFreeDfndCrcy8 Credit Amount in Free Defined Currency 8
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
EliminationProfitCenter EliminationProfitCenter Elimination Profit Center
OriginObjectType OriginObjectType Type of Origin Object
GLAccountType GLAccountType Type of a General Ledger Account
AlternativeGLAccount AlternativeGLAccount Alternative G/L Account Number In Company Code
CountryChartOfAccounts CountryChartOfAccounts Alternative Chart of Accounts for Country/Region
PurchasingDocument PurchasingDocument Purchasing Document
PurchasingDocumentItem PurchasingDocumentItem Purchasing Document Item
AccountAssignmentNumber AccountAssignmentNumber Account Assignment Number
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
SalesDocument SalesDocument Sales Document
SalesDocumentItem SalesDocumentItem Sales Document Item
Material Material Number
Product Product Product Number
Plant Plant Valuation Area
Supplier Supplier Supplier
Customer Customer Customer Number
FinancialAccountType FinancialAccountType Fin. Account Type
SpecialGLCode SpecialGLCode Special G/L Indicator
TaxCode TaxCode Tax on Sales/Purchases Code
HouseBank HouseBank House Bank Key
HouseBankAccount HouseBankAccount House Bank Account
IsOpenItemManaged IsOpenItemManaged Managed on an Open Item Basis
ClearingAccountingDocument ClearingAccountingDocument Clearing Journal Entry (Deprecated)
ClearingDocFiscalYear ClearingDocFiscalYear Fiscal Year of Clearing Journal Entry (Deprecated)
ClearingJournalEntry ClearingJournalEntry Clearing Journal Entry
ClearingJournalEntryFiscalYear ClearingJournalEntryFiscalYear Fiscal Year of Clearing Journal Entry
AssetDepreciationArea AssetDepreciationArea Asset Depreciation Area (Real or Derived)
MasterFixedAsset MasterFixedAsset Fixed Asset
FixedAsset FixedAsset Asset Subnumber
AssetValueDate AssetValueDate Asset Value Date
AssetTransactionType AssetTransactionType Asset Transaction Type
GroupMasterFixedAsset GroupMasterFixedAsset Group Asset
GroupFixedAsset GroupFixedAsset Group Asset Subnumber
InventorySpecialStockValnType InventorySpecialStockValnType Inventory Special Stock Valuation Type (Deprecated)
InvtrySpecialStockValnType_2 InvtrySpecialStockValnType_2 Inventory Special Stock Valuation Type
InventorySpecialStockType InventorySpecialStockType Inventory Special Stock Type
InventorySpclStkSalesDocument InventorySpclStkSalesDocument Inventory Special Stock Sales Document
InventorySpclStkSalesDocItm InventorySpclStkSalesDocItm Inventory Special Stock Sales Document Item
InvtrySpclStockWBSElmntIntID InvtrySpclStockWBSElmntIntID Inventory Special Stock WBS Element Internal ID
InventorySpclStockWBSElement _InvtrySpclStkWBSElmntBscData WBSElement Work Breakdown Structure Element (WBS Element)
InvtrySpclStockWBSElmntExtID Inventory Special Stock WBS Element External ID
InventorySpecialStockSupplier InventorySpecialStockSupplier Supplier of Inventory Special Stock
InventoryValuationType InventoryValuationType Inventory Valuation Type
ValuationArea ValuationArea Valuation Area
SenderGLAccount SenderGLAccount Sender G/L Account
SenderAccountAssignment SenderAccountAssignment Sender Account Assignment
SenderAccountAssignmentType SenderAccountAssignmentType Account Assignment Type in Sender System
ControllingObjectDebitType ControllingObjectDebitType Controlling Object Debit Type
QuantityIsIncomplete QuantityIsIncomplete Indicator: Quantity Is Incomplete
OffsettingAccount OffsettingAccount Offsetting Account
OffsettingAccountType OffsettingAccountType Offsetting Account Type
LineItemIsCompleted LineItemIsCompleted Indicator: Line Item is Completed
PersonnelNumber PersonnelNumber Personnel Number
ControllingObjectClass ControllingObjectClass Controlling Object Class
PartnerCompanyCode PartnerCompanyCode Partner Company Code
PartnerControllingObjectClass PartnerControllingObjectClass Partner Controlling Object Class
OriginCostCenter OriginCostCenter Origin Cost Center
OriginProfitCenter OriginProfitCenter Origin Profit Center
OriginCostCtrActivityType OriginCostCtrActivityType Origin Cost Center Activity Type
AccountAssignment AccountAssignment Sender Acct Assgmt
AccountAssignmentType AccountAssignmentType Account Assignment Type
CostCtrActivityType CostCtrActivityType Activity Type
OrderID OrderID Order ID
OrderCategory OrderCategory Order Category
WBSElementInternalID WBSElementInternalID WBS Element Internal ID
WBSElement WBS Internal ID
WBSElementExternalID WBS Element External ID
ProjectInternalID ProjectInternalID Project Internal ID
Project WBS Element
ProjectExternalID Project External ID
OperatingConcern OperatingConcern Operating concern
ProjectNetwork ProjectNetwork Network Number for Account Assignment
RelatedNetworkActivity RelatedNetworkActivity Related Network Activity
BusinessProcess BusinessProcess Business Process
CostObject CostObject Cost Object
CustomerServiceNotification CustomerServiceNotification Customer Service Notification
PartnerAccountAssignment PartnerAccountAssignment Partner Account Assignment
PartnerAccountAssignmentType PartnerAccountAssignmentType Partner Account Assignment Type
WorkPackage WorkPackage Plan Item
WorkItem WorkItem Work Item ID
ServiceDocumentType ServiceDocumentType Service Document Type
ServiceDocument ServiceDocument Service Document ID
ServiceDocumentItem ServiceDocumentItem Service Document Item ID
ServiceContractType ServiceContractType Service Contract Type
ServiceContract ServiceContract Service Contract ID
ServiceContractItem ServiceContractItem Service Contract Item ID
TimeSheetOvertimeCategory TimeSheetOvertimeCategory Overtime Category
PartnerCostCtrActivityType PartnerCostCtrActivityType Partner Cost Center Activity Type
PartnerOrder PartnerOrder Partner Order (Deprecated)
PartnerOrder_2 PartnerOrder_2 Partner Order
PartnerOrderCategory PartnerOrderCategory Partner Order Category
PartnerWBSElement Partner WBS Element
PartnerWBSElementExternalID Partner WBS Element External ID
PartnerProject Partner Project
PartnerProjectExternalID Partner Project External ID
PartnerSalesDocument PartnerSalesDocument Partner Sales Document
PartnerSalesDocumentItem PartnerSalesDocumentItem Partner Sales Document Item
PartnerProjectNetwork PartnerProjectNetwork Partner Project Network
PartnerProjectNetworkActivity PartnerProjectNetworkActivity Partner Project Network Activity
PartnerBusinessProcess PartnerBusinessProcess Partner Business Process
PartnerCostObject PartnerCostObject Partner Cost Object
BillingDocumentType BillingDocumentType Billing Type
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel Distribution Channel
OrganizationDivision OrganizationDivision Org. Division
SoldMaterial Sold Material
SoldProduct SoldProduct Product Sold
MaterialGroup Product Sold Group
ProductGroup ProductGroup Product Sold Group
SoldProductGroup SoldProductGroup Product Sold Group
CustomerGroup CustomerGroup Customer Group
FinancialManagementArea FinancialManagementArea Financial Management Area
Fund Fund Sender Fund
GrantID GrantID Sender Grant
BudgetPeriod BudgetPeriod Budget Period
PartnerFund PartnerFund Receiver Fund
PartnerGrant PartnerGrant Receiver Grant
PartnerBudgetPeriod PartnerBudgetPeriod FM: Partner Budget Period
FundsCenter FundsCenter Funds Management Center
FundedProgram FundedProgram Funded Program
JointVenture JointVenture Joint venture
JointVentureEquityGroup JointVentureEquityGroup Joint Venture Equity Group
JointVentureCostRecoveryCode JointVentureCostRecoveryCode Joint Venture Cost Recovery Code
JointVentureEquityType JointVentureEquityType Joint Venture Equity Type
SettlementReferenceDate SettlementReferenceDate Settlement Reference Date
CalendarYear CalendarYear Calendar Year
CalendarQuarter CalendarQuarter Calendar Quarter
CalendarYearQuarter CalendarYearQuarter Year Quarter
CalendarMonth CalendarMonth Calendar Month
CalendarYearMonth CalendarYearMonth Year Month
CalendarWeek CalendarWeek Calendar Week
CalendarYearWeek CalendarYearWeek Year Week
FiscalQuarter FiscalQuarter Fiscal Quarter
FiscalWeek FiscalWeek Fiscal Week
FiscalYearQuarter FiscalYearQuarter Fiscal Year + Fiscal Quarter
FiscalYearWeek FiscalYearWeek Fiscal Year + Fiscal Week
AccrualObjectType AccrualObjectType Type of the Accrual Object
AccrualObject AccrualObject External Reference of Accrual Object
AccrualSubobject AccrualSubobject External Reference of Accrual Subobject
AccrualItemType AccrualItemType Type of the Item of the Accrual Subobject
AssetClass AssetClass Asset Class

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 C_GLAccountFlow.
-- 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: CFIGLACCTFLOW

CREATE VIEW C_GLAccountFlow AS
SELECT
  SourceLedger,
  CompanyCode,
  GLAccount,
  LedgerFiscalYear,
  FiscalYearPeriod,
  PostingDate,
  GLAccountTypeFlowType,
  GLAccountFlowType,
  IsBalanceSheetAccount,
  AccountingDocument,
  LedgerGLLineItem,
  FiscalYear,
  ChartOfAccounts,
  ControllingArea,
  FinancialTransactionType,
  BusinessTransactionType,
  ReferenceDocumentType,
  LogicalSystem,
  ReferenceDocumentItemGroup,
  IsReversal,
  IsReversed,
  IsSettlement,
  IsSettled,
  PredecessorReferenceDocType,
  CostCenter,
  ProfitCenter,
  FunctionalArea,
  BusinessArea,
  Segment,
  PartnerCostCenter,
  PartnerProfitCenter,
  PartnerFunctionalArea,
  PartnerBusinessArea,
  PartnerCompany,
  PartnerSegment,
  DebitCreditCode,
  FiscalPeriod,
  FiscalYearVariant,
  AccountingDocumentType,
  AssignmentReference,
  AccountingDocumentCategory,
  PostingKey,
  AmountInBalanceTransacCrcy,
  FlowAmountInBalanceTransCrcy,
  DebitAmountInBalanceTransCrcy,
  CreditAmountInBalanceTransCrcy,
  TransactionCurrency,
  AmountInTransactionCurrency,
  FlowAmountInTransCrcy,
  DebitAmountInTransCrcy,
  CreditAmountInTransCrcy,
  CompanyCodeCurrency,
  AmountInCompanyCodeCurrency,
  FlowAmountInCoCodeCrcy,
  DebitAmountInCoCodeCrcy,
  CreditAmountInCoCodeCrcy,
  GlobalCurrency,
  AmountInGlobalCurrency,
  FlowAmountInGlobalCrcy,
  DebitAmountInGlobalCrcy,
  CreditAmountInGlobalCrcy,
  FreeDefinedCurrency1,
  AmountInFreeDefinedCurrency1,
  FlowAmountInFreeDfndCrcy1,
  DebitAmountInFreeDfndCrcy1,
  CreditAmountInFreeDfndCrcy1,
  FreeDefinedCurrency2,
  AmountInFreeDefinedCurrency2,
  FlowAmountInFreeDfndCrcy2,
  DebitAmountInFreeDfndCrcy2,
  CreditAmountInFreeDfndCrcy2,
  FreeDefinedCurrency3,
  AmountInFreeDefinedCurrency3,
  FlowAmountInFreeDfndCrcy3,
  DebitAmountInFreeDfndCrcy3,
  CreditAmountInFreeDfndCrcy3,
  FreeDefinedCurrency4,
  AmountInFreeDefinedCurrency4,
  FlowAmountInFreeDfndCrcy4,
  DebitAmountInFreeDfndCrcy4,
  CreditAmountInFreeDfndCrcy4,
  FreeDefinedCurrency5,
  AmountInFreeDefinedCurrency5,
  FlowAmountInFreeDfndCrcy5,
  DebitAmountInFreeDfndCrcy5,
  CreditAmountInFreeDfndCrcy5,
  FreeDefinedCurrency6,
  AmountInFreeDefinedCurrency6,
  FlowAmountInFreeDfndCrcy6,
  DebitAmountInFreeDfndCrcy6,
  CreditAmountInFreeDfndCrcy6,
  FreeDefinedCurrency7,
  AmountInFreeDefinedCurrency7,
  FlowAmountInFreeDfndCrcy7,
  DebitAmountInFreeDfndCrcy7,
  CreditAmountInFreeDfndCrcy7,
  FreeDefinedCurrency8,
  AmountInFreeDefinedCurrency8,
  FlowAmountInFreeDfndCrcy8,
  DebitAmountInFreeDfndCrcy8,
  CreditAmountInFreeDfndCrcy8,
  TransactionTypeDetermination,
  AccountingDocCreatedByUser,
  EliminationProfitCenter,
  OriginObjectType,
  GLAccountType,
  AlternativeGLAccount,
  CountryChartOfAccounts,
  PurchasingDocument,
  PurchasingDocumentItem,
  AccountAssignmentNumber,
  SalesOrder,
  SalesOrderItem,
  SalesDocument,
  SalesDocumentItem,
  cast( Product as matnr preserving type ) AS Material,
  Product,
  Plant,
  Supplier,
  Customer,
  FinancialAccountType,
  SpecialGLCode,
  TaxCode,
  HouseBank,
  HouseBankAccount,
  IsOpenItemManaged,
  ClearingAccountingDocument,
  ClearingDocFiscalYear,
  ClearingJournalEntry,
  ClearingJournalEntryFiscalYear,
  AssetDepreciationArea,
  MasterFixedAsset,
  FixedAsset,
  AssetValueDate,
  AssetTransactionType,
  GroupMasterFixedAsset,
  GroupFixedAsset,
  InventorySpecialStockValnType,
  InvtrySpecialStockValnType_2,
  InventorySpecialStockType,
  InventorySpclStkSalesDocument,
  InventorySpclStkSalesDocItm,
  InvtrySpclStockWBSElmntIntID,
  _InvtrySpclStkWBSElmntBscData.WBSElement AS InventorySpclStockWBSElement,
  cast(_InvtrySpclStkWBSElmntBscData.WBSElementExternalID as fis_invspstock_wbsext_no_conv ) AS InvtrySpclStockWBSElmntExtID,
  InventorySpecialStockSupplier,
  InventoryValuationType,
  ValuationArea,
  SenderGLAccount,
  SenderAccountAssignment,
  SenderAccountAssignmentType,
  ControllingObjectDebitType,
  QuantityIsIncomplete,
  OffsettingAccount,
  OffsettingAccountType,
  LineItemIsCompleted,
  PersonnelNumber,
  ControllingObjectClass,
  PartnerCompanyCode,
  PartnerControllingObjectClass,
  OriginCostCenter,
  OriginProfitCenter,
  OriginCostCtrActivityType,
  AccountAssignment,
  AccountAssignmentType,
  CostCtrActivityType,
  OrderID,
  OrderCategory,
  WBSElementInternalID,
  cast( WBSElement as fis_wbs preserving type ) AS WBSElement,
  cast( _WBSElementBasicData.WBSElementExternalID as fis_wbsext_no_conv ) AS WBSElementExternalID,
  ProjectInternalID,
  cast( Project as fis_project preserving type ) AS Project,
  cast( _ProjectBasicData.ProjectExternalID as fis_projectext_no_conv ) AS ProjectExternalID,
  OperatingConcern,
  ProjectNetwork,
  RelatedNetworkActivity,
  BusinessProcess,
  CostObject,
  CustomerServiceNotification,
  PartnerAccountAssignment,
  PartnerAccountAssignmentType,
  WorkPackage,
  WorkItem,
  ServiceDocumentType,
  ServiceDocument,
  ServiceDocumentItem,
  ServiceContractType,
  ServiceContract,
  ServiceContractItem,
  TimeSheetOvertimeCategory,
  PartnerCostCtrActivityType,
  PartnerOrder,
  PartnerOrder_2,
  PartnerOrderCategory,
  cast( PartnerWBSElement as fis_partner_wbs preserving type ) AS PartnerWBSElement,
  cast( _PartnerWBSElementBasicData.WBSElementExternalID as fis_partner_wbsext_no_conv ) AS PartnerWBSElementExternalID,
  cast( PartnerProject as fis_part_project preserving type ) AS PartnerProject,
  cast( _PartnerProjectBasicData.ProjectExternalID as fis_part_projectext_no_conv ) AS PartnerProjectExternalID,
  PartnerSalesDocument,
  PartnerSalesDocumentItem,
  PartnerProjectNetwork,
  PartnerProjectNetworkActivity,
  PartnerBusinessProcess,
  PartnerCostObject,
  BillingDocumentType,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  cast( SoldProduct as fis_sold_material preserving type ) AS SoldMaterial,
  SoldProduct,
  cast( SoldProductGroup as fins_matkl_pa preserving type ) AS MaterialGroup,
  ProductGroup,
  SoldProductGroup,
  CustomerGroup,
  FinancialManagementArea,
  Fund,
  GrantID,
  BudgetPeriod,
  PartnerFund,
  PartnerGrant,
  PartnerBudgetPeriod,
  FundsCenter,
  FundedProgram,
  JointVenture,
  JointVentureEquityGroup,
  JointVentureCostRecoveryCode,
  JointVentureEquityType,
  SettlementReferenceDate,
  CalendarYear,
  CalendarQuarter,
  CalendarYearQuarter,
  CalendarMonth,
  CalendarYearMonth,
  CalendarWeek,
  CalendarYearWeek,
  FiscalQuarter,
  FiscalWeek,
  FiscalYearQuarter,
  FiscalYearWeek,
  AccrualObjectType,
  AccrualObject,
  AccrualSubobject,
  AccrualItemType,
  AssetClass
FROM I_GLAccountBalance
;