FAC_DART_Z3_TRIAL_BALANCE

DDL: FAC_DART_Z3_TRIAL_BALANCE SQL: FAC_DZGLTRIBAL Type: view

G/L Account-Trial Balance

FAC_DART_Z3_TRIAL_BALANCE is a CDS View that provides data about "G/L Account-Trial Balance" in SAP S/4HANA. It reads from 1 data source (FAC_DART_Z3_GLACCTBALANCE) and exposes 101 fields.

Data Sources (1)

SourceAliasJoin Type
FAC_DART_Z3_GLACCTBALANCE FAC_DART_Z3_GLACCTBALANCE from

Parameters (5)

NameTypeDefault
P_Language fac_audit_language
P_KeyDate sydate
P_Ledger fins_ledger
P_FromPostingDate fis_budat_from
P_ToPostingDate fis_budat_to

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName FAC_DZGLTRIBAL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Analytics.query true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label G/L Account-Trial Balance view
AbapCatalog.preserveKey true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
AbapCatalog.buffering.status #NOT_ALLOWED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.ignorePropagatedAnnotations true view

Fields (101)

KeyFieldSource TableSource FieldDescription
Ledger Ledger Ledger
CompanyCode CompanyCode Receiver Company Code
ReconciliationAccountType ReconciliationAccountType Reconciliation Account Type
CompanyCodeCurrency CompanyCodeCurrency Local Currency
CompanyCodeCurrencyforStart CompanyCodeCurrencyforStart Local Currency
CompanyCodeCurrencyforEnd CompanyCodeCurrencyforEnd Local Currency
CompanyCodeCurrencyforDebit CompanyCodeCurrencyforDebit Local Currency
CompanyCodeCurrencyforCredit CompanyCodeCurrencyforCredit Local Currency
GLAccount GLAccount General Ledger
StartingBalanceAmtInCoCodeCrcy Starting Bal. Amt in CoCode Currency
DebitAmountInCoCodeCrcy Debit Bal. Amt in CoCode Currency
CreditAmountInCoCodeCrcy
CreditAmountInCoCodeCrcyDis Credit Bal. Amt in CoCode Currency
EndingBalanceAmtInCoCodeCrcy Ending Bal. Amt in CoCode Currency
IntmdEndingBalAmtInCoCodeCrcy EndingBalanceAmtInCoCodeCrcy Dont look at this column
GLAcctDebitAmtInCoCodeCrcy DebitAmountInCoCodeCrcy Dont look at this column
GLAcctCreditAmtInCoCodeCrcy CreditAmountInCoCodeCrcy Dont look at this column
PostingDate PostingDate Posting Date for GR
FiscalYear FiscalYear G/L Fiscal Year
LedgerFiscalYear LedgerFiscalYear
SourceLedger SourceLedger Source Ledger
FinancialTransactionType FinancialTransactionType Transact. Type
BusinessTransactionType BusinessTransactionType Bus.transaction
ReferenceDocumentType ReferenceDocumentType Reference Document Type
LogicalSystem LogicalSystem Logical System
ReferenceDocumentItemGroup ReferenceDocumentItemGroup Reference Document Item Group
IsReversal IsReversal Reversal doc.
IsReversed IsReversed Reversed?
IsSettlement IsSettlement Is Settling
IsSettled IsSettled Is Settled
PredecessorReferenceDocType PredecessorReferenceDocType Predecessor Reference Document Type
ProfitCenter ProfitCenter Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
ControllingArea ControllingArea Controlling Area
Segment Segment Segment number
PartnerCostCenter PartnerCostCenter Sender Cost Ctr
PartnerProfitCenter PartnerProfitCenter Profit Center
PartnerFunctionalArea PartnerFunctionalArea Rec. Fntcl Area
PartnerBusinessArea PartnerBusinessArea Trdg Part.BA
PartnerCompany PartnerCompany Trading Partner
PartnerSegment PartnerSegment Partner Segment
DebitCreditCode DebitCreditCode Single-Character Flag
FiscalYearVariant FiscalYearVariant FY Variant
FiscalYearPeriod FiscalYearPeriod Period/Year
FiscalPeriod FiscalPeriod Tax period
AccountingDocumentType AccountingDocumentType Journal Entry Type
AssignmentReference AssignmentReference Assignment Reference
PostingKey PostingKey Posting Key
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
EliminationProfitCenter EliminationProfitCenter
OriginObjectType OriginObjectType Origin
GLAccountType GLAccountType G/L Account Type
ChartOfAccounts ChartOfAccounts Node Class
AlternativeGLAccount AlternativeGLAccount Group Account
CountryChartOfAccounts CountryChartOfAccounts Chart of Accts
PurchasingDocument PurchasingDocument Purchasing Document
PurchasingDocumentItem PurchasingDocumentItem Purchasing Doc. Item
AccountAssignmentNumber AccountAssignmentNumber Account Assgmt No.
Material Material Vehicle Model
MaterialName MaterialName Material Description
Plant Plant Valuation Area
Supplier Supplier Supplier
Customer Customer Sold-to Party
FinancialAccountType FinancialAccountType Fin. Account Type
SpecialGLCode SpecialGLCode Special G/L Ind
TaxCode TaxCode Tax Code
HouseBank HouseBank House Bank
HouseBankAccount HouseBankAccount House Bank Account
IsOpenItemManaged IsOpenItemManaged Open Item Management
ClearingAccountingDocument ClearingAccountingDocument Clearing Journal Entry
ClearingDocFiscalYear ClearingDocFiscalYear Fiscal Year of Clearing Journal Entry
AssetDepreciationArea AssetDepreciationArea Deprec. Area
MasterFixedAsset MasterFixedAsset Fixed Asset
FixedAsset FixedAsset Sub-number
AssetValueDate AssetValueDate Reference date
AssetTransactionType AssetTransactionType Trans.Type
GroupMasterFixedAsset GroupMasterFixedAsset
GroupFixedAsset GroupFixedAsset
InventorySpecialStockValnType InventorySpecialStockValnType Valuation
InventorySpecialStockType InventorySpecialStockType Special Stock Type
InventorySpclStkSalesDocument InventorySpclStkSalesDocument
InventorySpclStkSalesDocItm InventorySpclStkSalesDocItm
InventorySpclStockWBSElement InventorySpclStockWBSElement
InventorySpecialStockSupplier InventorySpecialStockSupplier
InventoryValuationType InventoryValuationType Valuation Type
ValuationArea ValuationArea Valuation Area
SenderGLAccount SenderGLAccount
SenderAccountAssignment SenderAccountAssignment
SenderAccountAssignmentType SenderAccountAssignmentType
ControllingObjectDebitType ControllingObjectDebitType
QuantityIsIncomplete QuantityIsIncomplete
OffsettingAccount OffsettingAccount Offsetting Acct
OffsettingAccountType OffsettingAccountType Offset Acct Type
LineItemIsCompleted LineItemIsCompleted Item Completed
PersonnelNumber PersonnelNumber Personnel No.
ControllingObjectClass ControllingObjectClass Object Class
PartnerCompanyCode PartnerCompanyCode Partner Company Code
PartnerControllingObjectClass PartnerControllingObjectClass

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 FAC_DART_Z3_TRIAL_BALANCE.
-- 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: FAC_DZGLTRIBAL
-- Parameters: P_Language : fac_audit_language, P_KeyDate : sydate, P_Ledger : fins_ledger, P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to

CREATE VIEW FAC_DART_Z3_TRIAL_BALANCE AS
SELECT
  Ledger,
  CompanyCode,
  ReconciliationAccountType,
  CompanyCodeCurrency,
  CompanyCodeCurrencyforStart,
  CompanyCodeCurrencyforEnd,
  CompanyCodeCurrencyforDebit,
  CompanyCodeCurrencyforCredit,
  GLAccount,
  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_cr_bal_hsl ) AS CreditAmountInCoCodeCrcyDis,
  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,
  PostingDate,
  FiscalYear,
  LedgerFiscalYear,
  SourceLedger,
  FinancialTransactionType,
  BusinessTransactionType,
  ReferenceDocumentType,
  LogicalSystem,
  ReferenceDocumentItemGroup,
  IsReversal,
  IsReversed,
  IsSettlement,
  IsSettled,
  PredecessorReferenceDocType,
  ProfitCenter,
  FunctionalArea,
  BusinessArea,
  ControllingArea,
  Segment,
  PartnerCostCenter,
  PartnerProfitCenter,
  PartnerFunctionalArea,
  PartnerBusinessArea,
  PartnerCompany,
  PartnerSegment,
  DebitCreditCode,
  FiscalYearVariant,
  FiscalYearPeriod,
  FiscalPeriod,
  AccountingDocumentType,
  AssignmentReference,
  PostingKey,
  AccountingDocumentCategory,
  TransactionTypeDetermination,
  AccountingDocCreatedByUser,
  EliminationProfitCenter,
  OriginObjectType,
  GLAccountType,
  ChartOfAccounts,
  AlternativeGLAccount,
  CountryChartOfAccounts,
  PurchasingDocument,
  PurchasingDocumentItem,
  AccountAssignmentNumber,
  Material,
  MaterialName,
  Plant,
  Supplier,
  Customer,
  FinancialAccountType,
  SpecialGLCode,
  TaxCode,
  HouseBank,
  HouseBankAccount,
  IsOpenItemManaged,
  ClearingAccountingDocument,
  ClearingDocFiscalYear,
  AssetDepreciationArea,
  MasterFixedAsset,
  FixedAsset,
  AssetValueDate,
  AssetTransactionType,
  GroupMasterFixedAsset,
  GroupFixedAsset,
  InventorySpecialStockValnType,
  InventorySpecialStockType,
  InventorySpclStkSalesDocument,
  InventorySpclStkSalesDocItm,
  InventorySpclStockWBSElement,
  InventorySpecialStockSupplier,
  InventoryValuationType,
  ValuationArea,
  SenderGLAccount,
  SenderAccountAssignment,
  SenderAccountAssignmentType,
  ControllingObjectDebitType,
  QuantityIsIncomplete,
  OffsettingAccount,
  OffsettingAccountType,
  LineItemIsCompleted,
  PersonnelNumber,
  ControllingObjectClass,
  PartnerCompanyCode,
  PartnerControllingObjectClass
FROM FAC_DART_Z3_GLACCTBALANCE
;