C_GLAccountYTDBalanceQ

DDL: C_GLACCOUNTYTDBALANCEQ Type: view CONSUMPTION

Year-to-Date Balances

C_GLAccountYTDBalanceQ (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_GLAccountYTDBalanceQ is a Consumption CDS View that provides data about "Year-to-Date Balances" in SAP S/4HANA. It reads from 1 data source (I_GLAccountYearToDateBalanceC) and exposes 86 fields.

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

Documentation

Data Sources (1)

SourceAliasJoin Type
I_GLAccountYearToDateBalanceC I_GLAccountYearToDateBalanceC from

Parameters (4)

NameTypeDefault
P_BusinessUser syuname
P_ControllingArea fis_kokrs
P_FiscalYearVariant fins_periv
P_KeyDate vdm_v_key_date

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CFIGLACCTYTDBALQ view
AbapCatalog.buffering.status #NOT_ALLOWED view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.modelingPattern #ANALYTICAL_QUERY view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Year-to-Date Balances view
Analytics.query true view
Analytics.settings.maxProcessingEffort #HIGH view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view

Fields (86)

KeyFieldSource TableSource FieldDescription
resultElementControllingArea
resultElementFiscalYearVariant
resultElementUserLocalDate
CompanyCode CompanyCode Receiver Company Code
LedgerFiscalYear LedgerFiscalYear Fiscal Year of Ledger
FiscalYearPeriod FiscalYearPeriod Fiscal Year Period
FiscalPeriod FiscalPeriod Fiscal Period
FiscalYearVariant FiscalYearVariant Fiscal Year Variant
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
ControllingArea ControllingArea Controlling Area
WBSElementExternalID WBSElementExternalID WBS Element External ID
ProjectExternalID ProjectExternalID Project External ID
OrderID OrderID Order ID
OrderCategory OrderCategory Order Category
CostCtrActivityType CostCtrActivityType Activity Type
ProjectNetwork ProjectNetwork Network Number for Account Assignment
BusinessArea BusinessArea Business Area
FunctionalArea FunctionalArea Sendr Fctl Area
AccountAssignmentNumber AccountAssignmentNumber Account Assignment Number
GLAccountType GLAccountType Type of a General Ledger Account
Segment Segment Segment for Segmental Reporting
ChartOfAccounts ChartOfAccounts Chart of Accounts
GLAccount GLAccount General Ledger
SalesOrganization SalesOrganization Sales Organization
BusinessTransactionType BusinessTransactionType Business Transaction Type
Plant Plant Valuation Area
Customer Customer Customer Number
Supplier Supplier Supplier
CustomerGroup CustomerGroup Customer Group
OrganizationDivision OrganizationDivision Org. Division
PostingDate PostingDate Posting Date for GR
FiscalQuarter FiscalQuarter Fiscal Quarter
PostingKey PostingKey Posting Key
CompanyCodeCurrency CompanyCodeCurrency Company Code Currency
DebitAmountInCoCodeCrcy DebitAmountInCoCodeCrcy Debit Amount in Company Code Currency
CreditAmountInCoCodeCrcy CreditAmountInCoCodeCrcy Credit Amount in Company Code Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Amount in Company Code Currency
DebitAmountInGlobalCrcy DebitAmountInGlobalCrcy Debit Amount in Global Currency
CreditAmountInGlobalCrcy CreditAmountInGlobalCrcy Credit Amount in Global Currency
AmountInGlobalCurrency AmountInGlobalCurrency Amount in Global Currency
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
DebitAmountInFunctionalCrcy DebitAmountInFunctionalCrcy Debit Amount in Functional Currency
CreditAmountInFunctionalCrcy CreditAmountInFunctionalCrcy Credit Amount in Functional Currency
AmountInFunctionalCurrency AmountInFunctionalCurrency Amount in Functional Currency
FunctionalCurrency FunctionalCurrency Functional Currency
BalanceTransactionCurrency BalanceTransactionCurrency Balance Transaction Currency
DebitAmountInBalanceTransCrcy DebitAmountInBalanceTransCrcy Debit Amount in Balance Transaction Currency
CreditAmountInBalanceTransCrcy CreditAmountInBalanceTransCrcy Credit Amount in Balance Transaction Currency
AmountInBalanceTransacCrcy AmountInBalanceTransacCrcy Amount in Balance Transaction Currency
TransactionCurrency TransactionCurrency Transaction Currency
DebitAmountInTransCrcy DebitAmountInTransCrcy Debit Amount in Transaction Currency
CreditAmountInTransCrcy CreditAmountInTransCrcy Credit Amount in Transaction Currency
AmountInTransactionCurrency AmountInTransactionCurrency Amount in Transaction Currency
FreeDefinedCurrency1 FreeDefinedCurrency1 Freely Defined Currency 1
DebitAmountInFreeDfndCrcy1 DebitAmountInFreeDfndCrcy1 Debit Amount in Free Defined Currency 1
CreditAmountInFreeDfndCrcy1 CreditAmountInFreeDfndCrcy1 Credit Amount in Free Defined Currency 1
AmountInFreeDefinedCurrency1 AmountInFreeDefinedCurrency1 Amount in Freely Defined Currency 1
FreeDefinedCurrency2 FreeDefinedCurrency2 Freely Defined Currency 2
DebitAmountInFreeDfndCrcy2 DebitAmountInFreeDfndCrcy2 Debit Amount in Free Defined Currency 2
CreditAmountInFreeDfndCrcy2 CreditAmountInFreeDfndCrcy2 Credit Amount in Free Defined Currency 2
AmountInFreeDefinedCurrency2 AmountInFreeDefinedCurrency2 Amount in Freely Defined Currency 2
FreeDefinedCurrency3 FreeDefinedCurrency3 Freely Defined Currency 3
DebitAmountInFreeDfndCrcy3 DebitAmountInFreeDfndCrcy3 Debit Amount in Free Defined Currency 3
CreditAmountInFreeDfndCrcy3 CreditAmountInFreeDfndCrcy3 Credit Amount in Free Defined Currency 3
AmountInFreeDefinedCurrency3 AmountInFreeDefinedCurrency3 Amount in Freely Defined Currency 3
FreeDefinedCurrency4 FreeDefinedCurrency4 Freely Defined Currency 4
DebitAmountInFreeDfndCrcy4 DebitAmountInFreeDfndCrcy4 Debit Amount in Free Defined Currency 4
CreditAmountInFreeDfndCrcy4 CreditAmountInFreeDfndCrcy4 Credit Amount in Free Defined Currency 4
AmountInFreeDefinedCurrency4 AmountInFreeDefinedCurrency4 Amount in Freely Defined Currency 4
FreeDefinedCurrency5 FreeDefinedCurrency5 Freely Defined Currency 5
DebitAmountInFreeDfndCrcy5 DebitAmountInFreeDfndCrcy5 Debit Amount in Free Defined Currency 5
CreditAmountInFreeDfndCrcy5 CreditAmountInFreeDfndCrcy5 Credit Amount in Free Defined Currency 5
AmountInFreeDefinedCurrency5 AmountInFreeDefinedCurrency5 Amount in Freely Defined Currency 5
FreeDefinedCurrency6 FreeDefinedCurrency6 Freely Defined Currency 6
DebitAmountInFreeDfndCrcy6 DebitAmountInFreeDfndCrcy6 Debit Amount in Free Defined Currency 6
CreditAmountInFreeDfndCrcy6 CreditAmountInFreeDfndCrcy6 Credit Amount in Free Defined Currency 6
AmountInFreeDefinedCurrency6 AmountInFreeDefinedCurrency6 Amount in Freely Defined Currency 6
FreeDefinedCurrency7 FreeDefinedCurrency7 Freely Defined Currency 7
DebitAmountInFreeDfndCrcy7 DebitAmountInFreeDfndCrcy7 Debit Amount in Free Defined Currency 7
CreditAmountInFreeDfndCrcy7 CreditAmountInFreeDfndCrcy7 Credit Amount in Free Defined Currency 7
AmountInFreeDefinedCurrency7 AmountInFreeDefinedCurrency7 Amount in Freely Defined Currency 7
FreeDefinedCurrency8 FreeDefinedCurrency8 Freely Defined Currency 8
DebitAmountInFreeDfndCrcy8 DebitAmountInFreeDfndCrcy8 Debit Amount in Free Defined Currency 8
CreditAmountInFreeDfndCrcy8 CreditAmountInFreeDfndCrcy8 Credit Amount in Free Defined Currency 8
AmountInFreeDefinedCurrency8 AmountInFreeDefinedCurrency8 Amount in Freely Defined 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 C_GLAccountYTDBalanceQ.
-- 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.
-- Parameters: P_BusinessUser : syuname, P_ControllingArea : fis_kokrs, P_FiscalYearVariant : fins_periv, P_KeyDate : vdm_v_key_date

CREATE VIEW C_GLAccountYTDBalanceQ AS
SELECT
  resultElement: 'ControllingArea' AS resultElementControllingArea,
  resultElement: 'FiscalYearVariant' AS resultElementFiscalYearVariant,
  resultElement: 'UserLocalDate' AS resultElementUserLocalDate,
  CompanyCode,
  LedgerFiscalYear,
  FiscalYearPeriod,
  FiscalPeriod,
  FiscalYearVariant,
  CostCenter,
  ProfitCenter,
  ControllingArea,
  WBSElementExternalID,
  ProjectExternalID,
  OrderID,
  OrderCategory,
  CostCtrActivityType,
  ProjectNetwork,
  BusinessArea,
  FunctionalArea,
  AccountAssignmentNumber,
  GLAccountType,
  Segment,
  ChartOfAccounts,
  GLAccount,
  SalesOrganization,
  BusinessTransactionType,
  Plant,
  Customer,
  Supplier,
  CustomerGroup,
  OrganizationDivision,
  PostingDate,
  FiscalQuarter,
  PostingKey,
  CompanyCodeCurrency,
  DebitAmountInCoCodeCrcy,
  CreditAmountInCoCodeCrcy,
  AmountInCompanyCodeCurrency,
  DebitAmountInGlobalCrcy,
  CreditAmountInGlobalCrcy,
  AmountInGlobalCurrency,
  GlobalCurrency,
  DebitAmountInFunctionalCrcy,
  CreditAmountInFunctionalCrcy,
  AmountInFunctionalCurrency,
  FunctionalCurrency,
  BalanceTransactionCurrency,
  DebitAmountInBalanceTransCrcy,
  CreditAmountInBalanceTransCrcy,
  AmountInBalanceTransacCrcy,
  TransactionCurrency,
  DebitAmountInTransCrcy,
  CreditAmountInTransCrcy,
  AmountInTransactionCurrency,
  FreeDefinedCurrency1,
  DebitAmountInFreeDfndCrcy1,
  CreditAmountInFreeDfndCrcy1,
  AmountInFreeDefinedCurrency1,
  FreeDefinedCurrency2,
  DebitAmountInFreeDfndCrcy2,
  CreditAmountInFreeDfndCrcy2,
  AmountInFreeDefinedCurrency2,
  FreeDefinedCurrency3,
  DebitAmountInFreeDfndCrcy3,
  CreditAmountInFreeDfndCrcy3,
  AmountInFreeDefinedCurrency3,
  FreeDefinedCurrency4,
  DebitAmountInFreeDfndCrcy4,
  CreditAmountInFreeDfndCrcy4,
  AmountInFreeDefinedCurrency4,
  FreeDefinedCurrency5,
  DebitAmountInFreeDfndCrcy5,
  CreditAmountInFreeDfndCrcy5,
  AmountInFreeDefinedCurrency5,
  FreeDefinedCurrency6,
  DebitAmountInFreeDfndCrcy6,
  CreditAmountInFreeDfndCrcy6,
  AmountInFreeDefinedCurrency6,
  FreeDefinedCurrency7,
  DebitAmountInFreeDfndCrcy7,
  CreditAmountInFreeDfndCrcy7,
  AmountInFreeDefinedCurrency7,
  FreeDefinedCurrency8,
  DebitAmountInFreeDfndCrcy8,
  CreditAmountInFreeDfndCrcy8,
  AmountInFreeDefinedCurrency8
FROM I_GLAccountYearToDateBalanceC
;