C_Trialbalanceq0001

DDL: C_TRIALBALANCEQ0001 Type: view CONSUMPTION Package: FINS_FIS_FICO_APPS

Trial Balance

C_Trialbalanceq0001 (Consumption)

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

Accounting and Financial Close

C_Trialbalanceq0001 is a Consumption CDS View that provides data about "Trial Balance" in SAP S/4HANA. It reads from 1 data source (I_GLAcctBalanceCube) and exposes 310 fields. Part of development package FINS_FIS_FICO_APPS.

SAP API Hub

CategoryConsumption
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-GL-2CL
CapabilitiesAnalytical Query
Extensible (Key User)Yes
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view can form 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 G/L account balances and G/L account ending balances of a specific time frame?</p></li> <li><p>What is the balance of a cost center for a specific time frame?</p></li> <li><p>What are balances within the G/L account hierarchy?</p></li> <li><p>What is the revenue drilled down by profit center?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_GLAcctBalanceCube I_GLAcctBalanceCube from

Parameters (4)

NameTypeDefault
P_Language sylangu
P_KeyDate sydate
P_FromPostingDate fis_budat_from
P_ToPostingDate fis_budat_to

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CFITRIALBALQ0001 view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #NOT_ALLOWED view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Analytics.query true view
Analytics.settings.maxProcessingEffort #HIGH view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Trial Balance view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.modelingPattern #ANALYTICAL_QUERY view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
OData.publish true view
VDM.viewType #CONSUMPTION view
Analytics.variableCheck.implementedBy ABAP:CL_FINS_TRIALBAL_VARIABLECHECK view

Fields (310)

KeyFieldSource TableSource FieldDescription
lookupEntityI_CalendarDate
resultElementFirstDayofMonthDate
resultElementUserLocalDate
P_FromPostingDate
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Name of Company Code or Company
GLAccount GLAccount General Ledger
GLAccountHierarchy GLAccountHierarchy G/L Account Hierarchy Node
GLAccountHierarchyName G/L Account Hierarchy Node Description
PostingDate PostingDate End Date of Fiscal Period
FiscalYear FiscalYear G/L Fiscal Year
LedgerFiscalYear LedgerFiscalYear Fiscal Year of Ledger
SourceLedger SourceLedger Source Ledger
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
ProfitCenter ProfitCenter Profit Center
ProfitCenterName Description of Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
FunctionalAreaName Name of the Functional Area
BusinessArea BusinessArea Business Area
BusinessAreaName Business Area Name
ControllingArea ControllingArea Controlling Area
ControllingAreaName _ControllingArea ControllingAreaName Controlling Area Name
Segment Segment Segment for Segmental Reporting
SegmentName Segment Name
PartnerCostCenter PartnerCostCenter Partner Cost Center
CostCenterNameasSenderCostCenterName
PartnerProfitCenter PartnerProfitCenter Partner Profit Center
PartnerFunctionalArea PartnerFunctionalArea Partner Functional Area
PartnerFunctionalAreaName Name of the Functional Area
PartnerBusinessArea PartnerBusinessArea Partner Business Area
PartnerBusinessAreaName Business Area Name
PartnerCompany PartnerCompany Company ID of Trading Partner
PartnerSegment PartnerSegment Partner Segment for Segmental Reporting
PartnerSegmentName Segment Name
DebitCreditCode DebitCreditCode Single-Character Flag
DebitCreditCodeName Debit/Credit Code Name
FiscalYearVariant FiscalYearVariant Fiscal Year Variant
FiscalYearPeriod FiscalYearPeriod Fiscal Year Period
AccountingDocumentType AccountingDocumentType Journal Entry Type
AccountingDocumentTypeName Document Type Name
AssignmentReference AssignmentReference Assignment Reference
PostingKey PostingKey Posting Key
PostingKeyName Posting Key Name
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
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
ChartOfAccounts ChartOfAccounts Chart of Accounts
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
Material Material Product (Deprecated)
Product Product Product Sold
MaterialName Product Description
Plant Plant Valuation Area
PlantName _Plant PlantName Plant Name
Supplier Supplier Supplier
SupplierName _Supplier SupplierName Name of Supplier
Customer Customer Customer Number
CustomerName _Customer CustomerName Name of Customer
FinancialAccountType FinancialAccountType Fin. Account Type
FinancialAccountTypeName Financial Account Type Name
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 (Main Asset Number)
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
InventorySpclStockWBSElement InventorySpclStockWBSElement WBS Element (external) of Valuated Special Inventory
InvtrySpclStockWBSElmntExtID InvtrySpclStockWBSElmntExtID Inventory Special Stock WBS Element External ID
InventorySpecialStockSupplier InventorySpecialStockSupplier Supplier of Inventory Special Stock
InvtrySpecialStockSupplierName _InventorySpecialStockSupplier SupplierName Name of Supplier
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
OriginCostCtrActivityType OriginCostCtrActivityType Origin Cost Center Activity Type
AccountAssignment AccountAssignment Sender Acct Assgmt
AccountAssignmentType AccountAssignmentType Account Assignment Type
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
OperatingConcern OperatingConcern Operating concern
PartnerAccountAssignment PartnerAccountAssignment Partner Account Assignment
PartnerAccountAssignmentType PartnerAccountAssignmentType Partner Account Assignment Type
PartnerCostCtrActivityType PartnerCostCtrActivityType Partner Cost Center Activity Type
PartnerOrder PartnerOrder Partner Order
PartnerOrderCategory PartnerOrderCategory Partner Order Category
PartnerWBSElement PartnerWBSElement Partner WBS Element
PartnerWBSElementExternalID PartnerWBSElementExternalID Partner WBS Element External ID
PartnerProject PartnerProject Partner Project
PartnerProjectExternalID 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
ServiceDocumentType ServiceDocumentType Service Document Type
ServiceDocument ServiceDocument Service Document ID
ServiceDocumentItem ServiceDocumentItem Service Document Item ID
PartnerServiceDocumentType PartnerServiceDocumentType Partner Service Document Type
PartnerServiceDocument PartnerServiceDocument Partner Service Document
PartnerServiceDocumentItem PartnerServiceDocumentItem Partner Service Document Item
ServiceContract ServiceContract Service Contract ID
ServiceContractType ServiceContractType Service Contract Type
ServiceContractItem ServiceContractItem Service Contract Item ID
TimeSheetOvertimeCategory TimeSheetOvertimeCategory Overtime Category
BillingDocumentType BillingDocumentType Billing Type
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel Distribution Channel
OrganizationDivision OrganizationDivision Org. Division
SoldMaterial SoldMaterial Product Sold (Deprecated)
SoldProduct SoldProduct Product Sold
MaterialGroup MaterialGroup Product Sold Group (Deprecated)
SoldProductGroup SoldProductGroup Product Sold Group
ProductGroup ProductGroup Product Sold Group
MaterialGroupName Product Group Description
CustomerGroup CustomerGroup Customer Group
CustomerGroupName Description
FinancialManagementArea FinancialManagementArea Financial Management Area
Fund Fund Sender Fund
FundsCenter FundsCenter Funds Management Center
GrantID GrantID Sender Grant
BudgetPeriod BudgetPeriod Budget Period
PartnerFund PartnerFund Receiver Fund
PartnerGrant PartnerGrant Receiver Grant
PartnerBudgetPeriod PartnerBudgetPeriod FM: Partner Budget Period
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
CostCenter CostCenter Cost Center
CostCenterName Cost Center Name
CostCtrActivityType CostCtrActivityType Activity Type
OrderID OrderID Order ID
OrderCategory OrderCategory Order Category
WBSElement WBSElement WBS Internal ID
WBSElementExternalID WBSElementExternalID WBS Element External ID
Project Project WBS Element
ProjectExternalID ProjectExternalID Project External ID
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
SalesDocument SalesDocument Sales Document
SalesDocumentItem SalesDocumentItem Sales Document Item
ClearingDate ClearingDate Clearing Date
CompanyCodeCurrency CompanyCodeCurrency Company Code Currency
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
FunctionalCurrency FunctionalCurrency Functional Currency
FreeDefinedCurrency1 FreeDefinedCurrency1 Freely Defined Currency 1
FreeDefinedCurrency2 FreeDefinedCurrency2 Freely Defined Currency 2
FreeDefinedCurrency3 FreeDefinedCurrency3 Freely Defined Currency 3
FreeDefinedCurrency4 FreeDefinedCurrency4 Freely Defined Currency 4
FreeDefinedCurrency5 FreeDefinedCurrency5 Freely Defined Currency 5
FreeDefinedCurrency6 FreeDefinedCurrency6 Freely Defined Currency 6
FreeDefinedCurrency7 FreeDefinedCurrency7 Freely Defined Currency 7
FreeDefinedCurrency8 FreeDefinedCurrency8 Freely Defined Currency 8
BalanceTransactionCurrency BalanceTransactionCurrency Balance Transaction Currency
TransactionCurrency TransactionCurrency Transaction Currency
FiscalPeriodDate FiscalPeriodDate Fiscal Period 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
CorporateGroupAccount CorporateGroupAccount Group Account Number
CorporateGroupChartOfAccounts CorporateGroupChartOfAccounts Group Chart of Accts
IsBalanceSheetAccount IsBalanceSheetAccount Is Balance Sheet Account
FlowOfFundsLedgerFiscalYear FlowOfFundsLedgerFiscalYear Funds of Flow Ledger Fiscal Year
CustomerSupplierCountry CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierIndustry CustomerSupplierIndustry Customer Supplier Industry
StartingBalanceAmtInCoCodeCrcy Starting Balance Amount In Company Code Currency
DebitAmountInCoCodeCrcy Debit Balance in Company Code Currency
CreditAmountInCoCodeCrcy Credit Balance in Company Code Currency
EndingBalanceAmtInCoCodeCrcy Ending Balance in Company Code Currency
IntmdEndingBalAmtInCoCodeCrcy EndingBalanceAmtInCoCodeCrcy Ending Balance in Company Code Currency
GLAcctDebitAmtInCoCodeCrcy DebitAmountInCoCodeCrcy Debit Amount in Company Code Currency
GLAcctCreditAmtInCoCodeCrcy CreditAmountInCoCodeCrcy Credit Amount in Company Code Currency
StartingBalanceAmtInGlobalCrcy Starting Balance Amount In Global Currency
DebitAmountInGlobalCrcy Debit Balance in Global Currency
CreditAmountInGlobalCrcy Credit Balance in Global Currency
EndingBalanceAmtInGlobalCrcy Ending Balance in Global Currency
IntmdEndingBalAmtInGlobalCrcy EndingBalanceAmtInGlobalCrcy Ending Balance in Global Currency
IntmdDebitAmountInGlobalCrcy DebitAmountInGlobalCrcy Debit Amount in Global Currency
IntmdCreditAmountInGlobalCrcy CreditAmountInGlobalCrcy Credit Amount in Global Currency
StartingBalanceAmtInFuncnlCrcy Starting Balance Amount In Functional Currency
DebitAmountInFunctionalCrcy Debit Amount in Functional Currency
CreditAmountInFunctionalCrcy Credit Amount in Functional Currency
EndingBalanceAmtInFuncnlCrcy Ending Balance in Functional Currency
IntmdEndingBalAmtInFuncnlCrcy EndingBalanceAmtInFuncnlCrcy Ending Balance in Functional Currency
IntmdDebitAmountInFuncnlCrcy DebitAmountInFunctionalCrcy Debit Amount in Functional Currency
IntmdCreditAmountInFuncnlCrcy CreditAmountInFunctionalCrcy Credit Amount in Functional Currency
StartingBalAmtInFreeDfndCrcy1 Starting Balance Amount In Freely Defined Currency 1
DebitAmountInFreeDefinedCrcy1 Debit Balance in Freely Defined Currency 1
CreditAmountInFreeDefinedCrcy1 Credit Balance in Freely Defined Currency 1
EndingBalAmtInFreeDfndCrcy1 Ending Balance in Freely Defined Currency 1
IntmdEndingBalInFreeDfndCrcy1 EndingBalAmtInFreeDfndCrcy1 Ending Balance in Free Defined Currency 1
IntmdDebitAmtInFreeDfndCrcy1 DebitAmountInFreeDefinedCrcy1 Debit Amount in Free Defined Currency 1
IntmdCreditAmtInFreeDfndCrcy1 CreditAmountInFreeDefinedCrcy1 Credit Amount in Free Defined Currency 1
StartingBalAmtInFreeDfndCrcy2 Starting Balance Amount In Freely Defined Currency 2
DebitAmountInFreeDefinedCrcy2 Debit Balance in Freely Defined Currency 2
CreditAmountInFreeDefinedCrcy2 Credit Balance in Freely Defined Currency 2
EndingBalAmtInFreeDfndCrcy2 Ending Balance in Freely Defined Currency 2
IntmdEndingBalInFreeDfndCrcy2 EndingBalAmtInFreeDfndCrcy2 Ending Balance in Free Defined Currency 2
IntmdDebitAmtInFreeDfndCrcy2 DebitAmountInFreeDefinedCrcy2 Debit Amount in Free Defined Currency 2
IntmdCreditAmtInFreeDfndCrcy2 CreditAmountInFreeDefinedCrcy2 Credit Amount in Free Defined Currency 2
StartingBalAmtInFreeDfndCrcy3 Starting Balance Amount In Freely Defined Currency 3
DebitAmountInFreeDefinedCrcy3 Debit Balance in Freely Defined Currency 3
CreditAmountInFreeDefinedCrcy3 Credit Balance in Freely Defined Currency 3
EndingBalAmtInFreeDfndCrcy3 Ending Balance in Freely Defined Currency 3
IntmdEndingBalInFreeDfndCrcy3 EndingBalAmtInFreeDfndCrcy3 Ending Balance in Free Defined Currency 3
IntmdDebitAmtInFreeDfndCrcy3 DebitAmountInFreeDefinedCrcy3 Debit Amount in Free Defined Currency 3
IntmdCreditAmtInFreeDfndCrcy3 CreditAmountInFreeDefinedCrcy3 Credit Amount in Free Defined Currency 3
StartingBalAmtInFreeDfndCrcy4 Starting Balance Amount In Freely Defined Currency 4
DebitAmountInFreeDefinedCrcy4 Debit Balance in Freely Defined Currency 4
CreditAmountInFreeDefinedCrcy4 Credit Balance in Freely Defined Currency 4
EndingBalAmtInFreeDfndCrcy4 Ending Balance in Freely Defined Currency 4
IntmdEndingBalInFreeDfndCrcy4 EndingBalAmtInFreeDfndCrcy4 Ending Balance in Free Defined Currency 4
IntmdDebitAmtInFreeDfndCrcy4 DebitAmountInFreeDefinedCrcy4 Debit Amount in Free Defined Currency 4
IntmdCreditAmtInFreeDfndCrcy4 CreditAmountInFreeDefinedCrcy4 Credit Amount in Free Defined Currency 4
StartingBalAmtInFreeDfndCrcy5 Starting Balance Amount In Freely Defined Currency 5
DebitAmountInFreeDefinedCrcy5 Debit Balance in Freely Defined Currency 5
CreditAmountInFreeDefinedCrcy5 Credit Balance in Freely Defined Currency 5
EndingBalAmtInFreeDfndCrcy5 Ending Balance in Freely Defined Currency 5
IntmdEndingBalInFreeDfndCrcy5 EndingBalAmtInFreeDfndCrcy5 Ending Balance in Free Defined Currency 5
IntmdDebitAmtInFreeDfndCrcy5 DebitAmountInFreeDefinedCrcy5 Debit Amount in Free Defined Currency 5
IntmdCreditAmtInFreeDfndCrcy5 CreditAmountInFreeDefinedCrcy5 Credit Amount in Free Defined Currency 5
StartingBalAmtInFreeDfndCrcy6 Starting Balance Amount In Freely Defined Currency 6
DebitAmountInFreeDefinedCrcy6 Debit Balance in Freely Defined Currency 6
CreditAmountInFreeDefinedCrcy6 Credit Balance in Freely Defined Currency 6
EndingBalAmtInFreeDfndCrcy6 Ending Balance in Freely Defined Currency 6
IntmdEndingBalInFreeDfndCrcy6 EndingBalAmtInFreeDfndCrcy6 Ending Balance in Free Defined Currency 6
IntmdDebitAmtInFreeDfndCrcy6 DebitAmountInFreeDefinedCrcy6 Debit Amount in Free Defined Currency 6
IntmdCreditAmtInFreeDfndCrcy6 CreditAmountInFreeDefinedCrcy6 Credit Amount in Free Defined Currency 6
StartingBalAmtInFreeDfndCrcy7 Starting Balance Amount In Freely Defined Currency 7
DebitAmountInFreeDefinedCrcy7 Debit Balance in Freely Defined Currency 7
CreditAmountInFreeDefinedCrcy7 Credit Balance in Freely Defined Currency 7
EndingBalAmtInFreeDfndCrcy7 Ending Balance in Freely Defined Currency 7
IntmdEndingBalInFreeDfndCrcy7 EndingBalAmtInFreeDfndCrcy7 Ending Balance in Free Defined Currency 7
IntmdDebitAmtInFreeDfndCrcy7 DebitAmountInFreeDefinedCrcy7 Debit Amount in Free Defined Currency 7
IntmdCreditAmtInFreeDfndCrcy7 CreditAmountInFreeDefinedCrcy7 Credit Amount in Free Defined Currency 7
StartingBalAmtInFreeDfndCrcy8 Starting Balance Amount In Freely Defined Currency 8
DebitAmountInFreeDefinedCrcy8 Debit Balance in Freely Defined Currency 8
CreditAmountInFreeDefinedCrcy8 Credit Balance in Freely Defined Currency 8
EndingBalAmtInFreeDfndCrcy8 Ending Balance in Freely Defined Currency 8
IntmdEndingBalInFreeDfndCrcy8 EndingBalAmtInFreeDfndCrcy8 Ending Balance in Free Defined Currency 8
IntmdDebitAmtInFreeDfndCrcy8 DebitAmountInFreeDefinedCrcy8 Debit Amount in Free Defined Currency 8
IntmdCreditAmtInFreeDfndCrcy8 CreditAmountInFreeDefinedCrcy8 Credit Amount in Free Defined Currency 8
StartingBalAmtInBalTransCrcy Starting Balance Amount In Balance Transaction Currency
DebitAmountInBalanceTransCrcy Debit Balance in Balance Transaction Currency
CreditAmountInBalanceTransCrcy Credit Balance in Balance Transaction Currency
EndingBalanceAmtInBalTransCrcy Ending Balance in Balance Transaction Currency
IntmdEndingBalInBalTransCrcy EndingBalanceAmtInBalTransCrcy Ending Balance in Balance Transaction Currency
IntmdDebitAmtInBalTransCrcy DebitAmountInBalanceTransCrcy Debit Amount in Balance Transaction Currency
IntmdCreditAmtInBalTransCrcy CreditAmountInBalanceTransCrcy Credit Amount in Balance Transaction Currency
StartingBalanceAmtInTransCrcy Starting Balance Amount In Transaction Currency
DebitAmountInTransCrcy Debit Balance in Transaction Currency
CreditAmountInTransCrcy Credit Balance in Transaction Currency
EndingBalanceAmtInTransCrcy Ending Balance in Transaction Currency
IntmdEndingBalanceInTransCrcy EndingBalanceAmtInTransCrcy Ending Balance in Transaction Currency
IntmdDebitAmtInTransCrcy DebitAmountInTransCrcy Debit Amount in Transaction Currency
IntmdCreditAmountInTransCrcy CreditAmountInTransCrcy Credit Amount in Transaction Currency

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_Trialbalanceq0001.
-- 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_Language : sylangu, P_KeyDate : sydate, P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to

CREATE VIEW C_Trialbalanceq0001 AS
SELECT
  lookupEntity: 'I_CalendarDate' AS lookupEntityI_CalendarDate,
  resultElement: 'FirstDayofMonthDate' AS resultElementFirstDayofMonthDate,
  resultElement: 'UserLocalDate' AS resultElementUserLocalDate,
  binding: [ { targetElement : 'UserID' , type : #SYSTEM_FIELD, value : '#USER' AS P_FromPostingDate,
  CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  GLAccount,
  GLAccountHierarchy,
  cast( _GLAccountInChartOfAccounts._Text[1: Language = $parameters.P_Language].GLAccountName as fis_racct_hierarchy_name preserving type ) AS GLAccountHierarchyName,
  PostingDate,
  FiscalYear,
  LedgerFiscalYear,
  SourceLedger,
  FinancialTransactionType,
  BusinessTransactionType,
  ReferenceDocumentType,
  LogicalSystem,
  ReferenceDocumentItemGroup,
  IsReversal,
  IsReversed,
  IsSettlement,
  IsSettled,
  PredecessorReferenceDocType,
  ProfitCenter,
  _ProfitCenter[1:ValidityEndDate >= $parameters.P_KeyDate and ValidityStartDate <= $parameters.P_KeyDate]._Text[1:Language = $parameters.P_Language].ProfitCenterName AS ProfitCenterName,
  FunctionalArea,
  _FunctionalArea._Text[1:Language = $parameters.P_Language].FunctionalAreaName AS FunctionalAreaName,
  BusinessArea,
  _BusinessArea._Text[1:Language = $parameters.P_Language].BusinessAreaName AS BusinessAreaName,
  ControllingArea,
  _ControllingArea.ControllingAreaName AS ControllingAreaName,
  Segment,
  _Segment._Text[1:Language = $parameters.P_Language].SegmentName AS SegmentName,
  PartnerCostCenter,
  _PartnerCostCenter[1:ValidityEndDate >= $parameters.P_KeyDate and ValidityStartDate <= $parameters.P_KeyDate]._Text[1:Language = $parameters.P_Language].CostCenterName as SenderCostCenterName AS CostCenterNameasSenderCostCenterName,
  PartnerProfitCenter,
  PartnerFunctionalArea,
  _PartnerFunctionalArea._Text[1:Language = $parameters.P_Language].FunctionalAreaName AS PartnerFunctionalAreaName,
  PartnerBusinessArea,
  _PartnerBusinessArea._Text[1:Language = $parameters.P_Language].BusinessAreaName AS PartnerBusinessAreaName,
  PartnerCompany,
  PartnerSegment,
  _PartnerSegment._Text[1:Language = $parameters.P_Language].SegmentName AS PartnerSegmentName,
  DebitCreditCode,
  _DebitCreditCode._Text[1:Language = $parameters.P_Language].DebitCreditCodeName AS DebitCreditCodeName,
  FiscalYearVariant,
  FiscalYearPeriod,
  AccountingDocumentType,
  _AccountingDocumentType._Text[1:Language = $parameters.P_Language].AccountingDocumentTypeName AS AccountingDocumentTypeName,
  AssignmentReference,
  PostingKey,
  _PostingKey._PostingKeyText[1:Language = $parameters.P_Language].PostingKeyName AS PostingKeyName,
  AccountingDocumentCategory,
  TransactionTypeDetermination,
  AccountingDocCreatedByUser,
  EliminationProfitCenter,
  OriginObjectType,
  GLAccountType,
  ChartOfAccounts,
  AlternativeGLAccount,
  CountryChartOfAccounts,
  PurchasingDocument,
  PurchasingDocumentItem,
  AccountAssignmentNumber,
  Material,
  Product,
  _Product._Text[1:Language = $parameters.P_Language].ProductName AS MaterialName,
  Plant,
  _Plant.PlantName AS PlantName,
  Supplier,
  _Supplier.SupplierName AS SupplierName,
  Customer,
  _Customer.CustomerName AS CustomerName,
  FinancialAccountType,
  _FinancialAccountType._Text[1:Language = $parameters.P_Language].FinancialAccountTypeName AS FinancialAccountTypeName,
  SpecialGLCode,
  TaxCode,
  HouseBank,
  HouseBankAccount,
  IsOpenItemManaged,
  ClearingAccountingDocument,
  ClearingDocFiscalYear,
  ClearingJournalEntry,
  ClearingJournalEntryFiscalYear,
  AssetDepreciationArea,
  MasterFixedAsset,
  FixedAsset,
  AssetValueDate,
  AssetTransactionType,
  GroupMasterFixedAsset,
  GroupFixedAsset,
  InventorySpecialStockValnType,
  InvtrySpecialStockValnType_2,
  InventorySpecialStockType,
  InventorySpclStkSalesDocument,
  InventorySpclStkSalesDocItm,
  InventorySpclStockWBSElement,
  InvtrySpclStockWBSElmntExtID,
  InventorySpecialStockSupplier,
  _InventorySpecialStockSupplier.SupplierName AS InvtrySpecialStockSupplierName,
  InventoryValuationType,
  ValuationArea,
  SenderGLAccount,
  SenderAccountAssignment,
  SenderAccountAssignmentType,
  ControllingObjectDebitType,
  QuantityIsIncomplete,
  OffsettingAccount,
  OffsettingAccountType,
  LineItemIsCompleted,
  PersonnelNumber,
  ControllingObjectClass,
  PartnerCompanyCode,
  PartnerControllingObjectClass,
  OriginCostCenter,
  OriginCostCtrActivityType,
  AccountAssignment,
  AccountAssignmentType,
  ProjectNetwork,
  RelatedNetworkActivity,
  BusinessProcess,
  CostObject,
  CustomerServiceNotification,
  OperatingConcern,
  PartnerAccountAssignment,
  PartnerAccountAssignmentType,
  PartnerCostCtrActivityType,
  PartnerOrder,
  PartnerOrderCategory,
  PartnerWBSElement,
  PartnerWBSElementExternalID,
  PartnerProject,
  PartnerProjectExternalID,
  PartnerSalesDocument,
  PartnerSalesDocumentItem,
  PartnerProjectNetwork,
  PartnerProjectNetworkActivity,
  PartnerBusinessProcess,
  PartnerCostObject,
  ServiceDocumentType,
  ServiceDocument,
  ServiceDocumentItem,
  PartnerServiceDocumentType,
  PartnerServiceDocument,
  PartnerServiceDocumentItem,
  ServiceContract,
  ServiceContractType,
  ServiceContractItem,
  TimeSheetOvertimeCategory,
  BillingDocumentType,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  SoldMaterial,
  SoldProduct,
  MaterialGroup,
  SoldProductGroup,
  ProductGroup,
  _SoldProductGroup_2._ProductGroupText[1:Language = $parameters.P_Language].ProductGroupName AS MaterialGroupName,
  CustomerGroup,
  _CustomerGroup._Text[1:Language = $parameters.P_Language].CustomerGroupName AS CustomerGroupName,
  FinancialManagementArea,
  Fund,
  FundsCenter,
  GrantID,
  BudgetPeriod,
  PartnerFund,
  PartnerGrant,
  PartnerBudgetPeriod,
  JointVenture,
  JointVentureEquityGroup,
  JointVentureCostRecoveryCode,
  JointVentureEquityType,
  SettlementReferenceDate,
  CostCenter,
  _CostCenter[1:ValidityEndDate >= $parameters.P_KeyDate and ValidityStartDate <= $parameters.P_KeyDate]._Text[1:Language = $parameters.P_Language].CostCenterName AS CostCenterName,
  CostCtrActivityType,
  OrderID,
  OrderCategory,
  WBSElement,
  WBSElementExternalID,
  Project,
  ProjectExternalID,
  SalesOrder,
  SalesOrderItem,
  SalesDocument,
  SalesDocumentItem,
  ClearingDate,
  CompanyCodeCurrency,
  GlobalCurrency,
  FunctionalCurrency,
  FreeDefinedCurrency1,
  FreeDefinedCurrency2,
  FreeDefinedCurrency3,
  FreeDefinedCurrency4,
  FreeDefinedCurrency5,
  FreeDefinedCurrency6,
  FreeDefinedCurrency7,
  FreeDefinedCurrency8,
  BalanceTransactionCurrency,
  TransactionCurrency,
  FiscalPeriodDate,
  CalendarYear,
  CalendarQuarter,
  CalendarYearQuarter,
  CalendarMonth,
  CalendarYearMonth,
  CalendarWeek,
  CalendarYearWeek,
  FiscalQuarter,
  FiscalWeek,
  FiscalYearQuarter,
  FiscalYearWeek,
  CorporateGroupAccount,
  CorporateGroupChartOfAccounts,
  IsBalanceSheetAccount,
  FlowOfFundsLedgerFiscalYear,
  CustomerSupplierCountry,
  CustomerSupplierIndustry,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_hsl_ui ) AS StartingBalanceAmtInCoCodeCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_hsl ) AS DebitAmountInCoCodeCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_hsl ) AS CreditAmountInCoCodeCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_hsl_ui ) AS EndingBalanceAmtInCoCodeCrcy,
  EndingBalanceAmtInCoCodeCrcy AS IntmdEndingBalAmtInCoCodeCrcy,
  DebitAmountInCoCodeCrcy AS GLAcctDebitAmtInCoCodeCrcy,
  CreditAmountInCoCodeCrcy AS GLAcctCreditAmtInCoCodeCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_ksl_ui ) AS StartingBalanceAmtInGlobalCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_ksl ) AS DebitAmountInGlobalCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_ksl ) AS CreditAmountInGlobalCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_ksl_ui ) AS EndingBalanceAmtInGlobalCrcy,
  EndingBalanceAmtInGlobalCrcy AS IntmdEndingBalAmtInGlobalCrcy,
  DebitAmountInGlobalCrcy AS IntmdDebitAmountInGlobalCrcy,
  CreditAmountInGlobalCrcy AS IntmdCreditAmountInGlobalCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_fcsl_ui ) AS StartingBalanceAmtInFuncnlCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_amt_funccrcy ) AS DebitAmountInFunctionalCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_amt_funccrcy ) AS CreditAmountInFunctionalCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_fcsl_ui ) AS EndingBalanceAmtInFuncnlCrcy,
  EndingBalanceAmtInFuncnlCrcy AS IntmdEndingBalAmtInFuncnlCrcy,
  DebitAmountInFunctionalCrcy AS IntmdDebitAmountInFuncnlCrcy,
  CreditAmountInFunctionalCrcy AS IntmdCreditAmountInFuncnlCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_osl_ui ) AS StartingBalAmtInFreeDfndCrcy1,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_osl ) AS DebitAmountInFreeDefinedCrcy1,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_osl ) AS CreditAmountInFreeDefinedCrcy1,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_osl_ui ) AS EndingBalAmtInFreeDfndCrcy1,
  EndingBalAmtInFreeDfndCrcy1 AS IntmdEndingBalInFreeDfndCrcy1,
  DebitAmountInFreeDefinedCrcy1 AS IntmdDebitAmtInFreeDfndCrcy1,
  CreditAmountInFreeDefinedCrcy1 AS IntmdCreditAmtInFreeDfndCrcy1,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_vsl_ui ) AS StartingBalAmtInFreeDfndCrcy2,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_vsl ) AS DebitAmountInFreeDefinedCrcy2,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_vsl ) AS CreditAmountInFreeDefinedCrcy2,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_vsl_ui ) AS EndingBalAmtInFreeDfndCrcy2,
  EndingBalAmtInFreeDfndCrcy2 AS IntmdEndingBalInFreeDfndCrcy2,
  DebitAmountInFreeDefinedCrcy2 AS IntmdDebitAmtInFreeDfndCrcy2,
  CreditAmountInFreeDefinedCrcy2 AS IntmdCreditAmtInFreeDfndCrcy2,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_bsl_ui ) AS StartingBalAmtInFreeDfndCrcy3,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_bsl ) AS DebitAmountInFreeDefinedCrcy3,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_bsl ) AS CreditAmountInFreeDefinedCrcy3,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_bsl_ui ) AS EndingBalAmtInFreeDfndCrcy3,
  EndingBalAmtInFreeDfndCrcy3 AS IntmdEndingBalInFreeDfndCrcy3,
  DebitAmountInFreeDefinedCrcy3 AS IntmdDebitAmtInFreeDfndCrcy3,
  CreditAmountInFreeDefinedCrcy3 AS IntmdCreditAmtInFreeDfndCrcy3,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_csl ) AS StartingBalAmtInFreeDfndCrcy4,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_csl ) AS DebitAmountInFreeDefinedCrcy4,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_csl ) AS CreditAmountInFreeDefinedCrcy4,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_csl_ui ) AS EndingBalAmtInFreeDfndCrcy4,
  EndingBalAmtInFreeDfndCrcy4 AS IntmdEndingBalInFreeDfndCrcy4,
  DebitAmountInFreeDefinedCrcy4 AS IntmdDebitAmtInFreeDfndCrcy4,
  CreditAmountInFreeDefinedCrcy4 AS IntmdCreditAmtInFreeDfndCrcy4,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_dsl ) AS StartingBalAmtInFreeDfndCrcy5,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_dsl ) AS DebitAmountInFreeDefinedCrcy5,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_dsl ) AS CreditAmountInFreeDefinedCrcy5,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_dsl_ui ) AS EndingBalAmtInFreeDfndCrcy5,
  EndingBalAmtInFreeDfndCrcy5 AS IntmdEndingBalInFreeDfndCrcy5,
  DebitAmountInFreeDefinedCrcy5 AS IntmdDebitAmtInFreeDfndCrcy5,
  CreditAmountInFreeDefinedCrcy5 AS IntmdCreditAmtInFreeDfndCrcy5,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_esl ) AS StartingBalAmtInFreeDfndCrcy6,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_esl ) AS DebitAmountInFreeDefinedCrcy6,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_esl ) AS CreditAmountInFreeDefinedCrcy6,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_esl_ui ) AS EndingBalAmtInFreeDfndCrcy6,
  EndingBalAmtInFreeDfndCrcy6 AS IntmdEndingBalInFreeDfndCrcy6,
  DebitAmountInFreeDefinedCrcy6 AS IntmdDebitAmtInFreeDfndCrcy6,
  CreditAmountInFreeDefinedCrcy6 AS IntmdCreditAmtInFreeDfndCrcy6,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_fsl_ui ) AS StartingBalAmtInFreeDfndCrcy7,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_fsl ) AS DebitAmountInFreeDefinedCrcy7,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_fsl ) AS CreditAmountInFreeDefinedCrcy7,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_fsl_ui ) AS EndingBalAmtInFreeDfndCrcy7,
  EndingBalAmtInFreeDfndCrcy7 AS IntmdEndingBalInFreeDfndCrcy7,
  DebitAmountInFreeDefinedCrcy7 AS IntmdDebitAmtInFreeDfndCrcy7,
  CreditAmountInFreeDefinedCrcy7 AS IntmdCreditAmtInFreeDfndCrcy7,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_gsl ) AS StartingBalAmtInFreeDfndCrcy8,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_gsl ) AS DebitAmountInFreeDefinedCrcy8,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_gsl ) AS CreditAmountInFreeDefinedCrcy8,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_gsl_ui ) AS EndingBalAmtInFreeDfndCrcy8,
  EndingBalAmtInFreeDfndCrcy8 AS IntmdEndingBalInFreeDfndCrcy8,
  DebitAmountInFreeDefinedCrcy8 AS IntmdDebitAmtInFreeDfndCrcy8,
  CreditAmountInFreeDefinedCrcy8 AS IntmdCreditAmtInFreeDfndCrcy8,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_tsl_ui ) AS StartingBalAmtInBalTransCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_tsl ) AS DebitAmountInBalanceTransCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_tsl ) AS CreditAmountInBalanceTransCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_tsl_ui ) AS EndingBalanceAmtInBalTransCrcy,
  EndingBalanceAmtInBalTransCrcy AS IntmdEndingBalInBalTransCrcy,
  DebitAmountInBalanceTransCrcy AS IntmdDebitAmtInBalTransCrcy,
  CreditAmountInBalanceTransCrcy AS IntmdCreditAmtInBalTransCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_start_bal_wsl_ui ) AS StartingBalanceAmtInTransCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_dr_bal_wsl ) AS DebitAmountInTransCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_cr_bal_wsl ) AS CreditAmountInTransCrcy,
  cast( cast( 1 as abap.dec(23,2)) as fis_end_bal_wsl_ui ) AS EndingBalanceAmtInTransCrcy,
  EndingBalanceAmtInTransCrcy AS IntmdEndingBalanceInTransCrcy,
  DebitAmountInTransCrcy AS IntmdDebitAmtInTransCrcy,
  CreditAmountInTransCrcy AS IntmdCreditAmountInTransCrcy
FROM I_GLAcctBalanceCube
;