C_AvgDailyTrialBalance
ADB Trial Balance
C_AvgDailyTrialBalance (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_AvgDailyTrialBalance is a Consumption CDS View that provides data about "ADB Trial Balance" in SAP S/4HANA. It reads from 1 data source (I_AvgDailyBalKeyFigCube) and exposes 166 fields.
SAP Help Documentation
| Category | CDS Views for Accounting Enhancements for Banking |
|---|---|
| Status | Released |
Purpose
This CDS view can form the average daily balances and spot balances of various dimensions of the journal entry including the most important business entities, such as the G/L account, company code, cost center, or profit center. Other attributes and hierarchies can be reached via associations. This CDS view provides the prerequisites for answering the following business questions: What are the ADB and spot balances for a specific time frame? What are the ADB and spot balances of a cost center for a specific time frame? What are the ADB and spot balances within the G/L account hierarchy?
Structure
Business Objects This view relates to the Journal Entry business object. View This view relates to the I_AvgDailyBalKeyFigCube view. Main Parameters and Filters of the CDS View The main parameters are as follows: P_KeyDate used to limit the reporting time frame beginning from the start of the year P_CreationDate used to compare the creation date of the posting P_CreationTime used to compare the creation time of the posting Measures and Attributes The following key figures are important measures and attributes: Key Figures Currency MonthToDateAverageDailyBalance The key figure is available in the following currencies: Transaction currency Company code currency Global currency Free-defined currency 1 Free-defined currency 2 Free-defined currency 3 Free-defined currency 4 Free-defined currency 5 Free-defined currency 6 Free-defined currency 7 Free-defined currency 8 QuarterToDateAverageDailyBalance YearToDateAverageDailyBalance PriorDayBalance CurrentDayActivity PriorMonthBalance CurrentMonthActivity YearToDateBalance MonthToDateAverageActivity QuarterToDateAverageActivity
This CDS view can form the average daily balances and spot balances of various dimensions of the journal entry including the most important business entities, such as the G/L account, company code, cost center, or profit center. Other attributes and hierarchies can be reached via associations. This CDS view provides the prerequisites for answering the following business questions: What are the ADB and spot balances for a specific time frame? What are the ADB and spot balances of a cost center for a specific time frame? What are the ADB and spot balances within the G/L account hierarchy?
Structure
Business Objects This view relates to the Journal Entry business object. View This view relates to the I_AvgDailyBalKeyFigCube view. Main Parameters and Filters of the CDS View The main parameters are as follows: P_KeyDate used to limit the reporting time frame beginning from the start of the year P_CreationDate used to compare the creation date of the posting P_CreationTime used to compare the creation time of the posting Measures and Attributes The following key figures are important measures and attributes: Key Figures Currency MonthToDateAverageDailyBalance The key figure is available in the following currencies: Transaction currency Company code currency Global currency Free-defined currency 1 Free-defined currency 2 Free-defined currency 3 Free-defined currency 4 Free-defined currency 5 Free-defined currency 6 Free-defined currency 7 Free-defined currency 8 QuarterToDateAverageDailyBalance YearToDateAverageDailyBalance PriorDayBalance CurrentDayActivity PriorMonthBalance CurrentMonthActivity YearToDateBalance MonthToDateAverageActivity QuarterToDateAverageActivity
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Accounting and Financial Close |
| Application Component | FI-GL-GL-ADB |
| Capabilities | Analytical Query |
| Package | Accounting and Financial Close for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AvgDailyBalKeyFigCube | I_AvgDailyBalKeyFigCube | from |
Parameters (5)
| Name | Type | Default |
|---|---|---|
| P_ReportingDate | gle_dte_adb_keydate | |
| P_CreationDate | gle_dte_adb_creation_date | |
| P_CreationTime | gle_dte_adb_creation_time | |
| P_Language | sylangu | |
| P_KeyDate | sydate |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CADBTRIALBAL | 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 | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | ADB 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 |
Fields (166)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| lookupEntityI_MySessionContext | ||||
| resultElementUserLocalDate | ||||
| P_CreationTime | ||||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| GLAccount | GLAccount | General Ledger | ||
| GLAccountName | G/L Account Name | |||
| PostingDate | PostingDate | Posting Date for GR | ||
| SourceLedger | SourceLedger | Source Ledger | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| LedgerFiscalYear | LedgerFiscalYear | Fiscal Year of Ledger | ||
| FlowOfFundsLedgerFiscalYear | FlowOfFundsLedgerFiscalYear | Funds of Flow Ledger Fiscal Year | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ProfitCenterName | Description of Profit Center | |||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| FunctionalAreaName | Name of the Functional Area | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| Segment | Segment | Segment for Segmental Reporting | ||
| SegmentName | Segment Name | |||
| CostCenter | CostCenter | Cost Center | ||
| CostCenterName | Cost Center Name | |||
| PartnerProfitCenter | PartnerProfitCenter | Partner Profit Center | ||
| PartnerFunctionalArea | PartnerFunctionalArea | Partner Functional Area | ||
| PartnerFunctionalAreaName | Name of the Functional Area | |||
| PartnerCompany | PartnerCompany | Company ID of Trading Partner | ||
| PartnerSegment | PartnerSegment | Partner Segment for Segmental Reporting | ||
| FiscalYearVariant | FiscalYearVariant | Fiscal Year Variant | ||
| ChartOfAccounts | ChartOfAccounts | Chart of Accounts | ||
| FinancialServicesProductGroup | FinancialServicesProductGroup | Financial Services Product Group | ||
| FinancialServicesBranch | FinancialServicesBranch | Financial Services Branch | ||
| FinancialDataSource | FinancialDataSource | Financial Data Source | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| CustomerSupplierCountry | CustomerSupplierCountry | Customer or Supplier Country/Region | ||
| CustomerSupplierIndustry | CustomerSupplierIndustry | Customer Supplier Industry | ||
| BalanceTransactionCurrency | Balance Transaction Currency | |||
| AmountInBalanceTransacCrcy | AmountInBalanceTransacCrcy | Amount in Balance Transaction Currency | ||
| PriorDayBalInBalTransCrcy | PriorDayBalInBalTransCrcy | Prior Day Balance In Balance Transaction Currency | ||
| CurDayActyAmtInBalTransCrcy | CurDayActyAmtInBalTransCrcy | Current Day Activity In Balance Transaction Currency | ||
| PriorMonthBalInBalTransCrcy | PriorMonthBalInBalTransCrcy | Prior Month Balance In Balance Transaction Currency | ||
| CurMonthActyAmtInBalTransCrcy | CurMonthActyAmtInBalTransCrcy | Current Month Activity In Balance Transaction Currency | ||
| YTDBalInBalTransCrcy | YTDBalInBalTransCrcy | Year-to-Date Balance In Balance Transaction Currency | ||
| MTDAvgDailyBalInBalTransCrcy | MTDAvgDailyBalInBalTransCrcy | Month-to-Date ADB In Balance Transaction Currency | ||
| QTDAvgDailyBalInBalTransCrcy | QTDAvgDailyBalInBalTransCrcy | Quarter-to-Date ADB In Balance Transaction Currency | ||
| YTDAvgDailyBalInBalTransCrcy | YTDAvgDailyBalInBalTransCrcy | Year-to-Date ADB In Balance Transaction Currency | ||
| MTDAvgActyAmtInBalTransCrcy | MTDAvgActyAmtInBalTransCrcy | Month-to-Date Avg Activity In Balance Transaction Currency | ||
| QTDActyAmtInBalTransCrcy | QTDActyAmtInBalTransCrcy | Quarter-to-Date Acty In Balance Transaction Currency | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Company Code Currency | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Amount in Company Code Currency | ||
| PriorDayBalInCCCrcy | PriorDayBalInCCCrcy | Prior Day Balance In Company Code Currency | ||
| CurDayActyAmtInCCCrcy | CurDayActyAmtInCCCrcy | Current Day Activity In Company Code Currency | ||
| PriorMonthBalInCCCrcy | PriorMonthBalInCCCrcy | Prior Month Balance In Company Code Currency | ||
| CurMonthActyAmtInCCCrcy | CurMonthActyAmtInCCCrcy | Current Month Activity In Company Code Currency | ||
| YTDBalInCCCrcy | YTDBalInCCCrcy | Year-to-Date Balance In Company Code Currency | ||
| MTDAvgDailyBalInCCCrcy | MTDAvgDailyBalInCCCrcy | Month-to-date ADB In Company Code Currency | ||
| QTDAvgDailyBalInCCCrcy | QTDAvgDailyBalInCCCrcy | Quarter-to-Date ADB In Company Code Currency | ||
| YTDAvgDailyBalInCCCrcy | YTDAvgDailyBalInCCCrcy | Year-to-Date ADB In Company Code Currency | ||
| MTDAvgActyAmtInCCCrcy | MTDAvgActyAmtInCCCrcy | Month-to-Date Average Activity In Company Code Currency | ||
| QTDActyAmtInCCCrcy | QTDActyAmtInCCCrcy | Quarter-to-Date Activity In Company Code Currency | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| AmountInGlobalCurrency | AmountInGlobalCurrency | Amount in Global Currency | ||
| PriorDayBalInGlobCrcy | PriorDayBalInGlobCrcy | Prior Day Balance In Global Currency | ||
| CurDayActyAmtInGlobCrcy | CurDayActyAmtInGlobCrcy | Current Day Activity In Global Currency | ||
| PriorMonthBalInGlobCrcy | PriorMonthBalInGlobCrcy | Prior Month Balance In Global Currency | ||
| CurMonthActyAmtInGlobCrcy | CurMonthActyAmtInGlobCrcy | Current Month Activity In Global Currency | ||
| YTDBalInGlobCrcy | YTDBalInGlobCrcy | Year-to-Date Balance In Global Currency | ||
| MTDAvgDailyBalInGlobCrcy | MTDAvgDailyBalInGlobCrcy | Month-to-Date Average Daily Balances In Global Currency | ||
| QTDAvgDailyBalInGlobCrcy | QTDAvgDailyBalInGlobCrcy | Quarter-to-Date ADB In Global Currency | ||
| YTDAvgDailyBalInGlobCrcy | YTDAvgDailyBalInGlobCrcy | Year-to-Date ADB In Global Currency | ||
| MTDAvgActyAmtInGlobCrcy | MTDAvgActyAmtInGlobCrcy | Month-to-Date Average Activity In Balance Global Currency | ||
| QTDActyAmtInGlobCrcy | QTDActyAmtInGlobCrcy | Quarter-to-Date Activity In Balance GLobal Currency | ||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| AmountInFreeDefinedCurrency1 | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | ||
| PriorDayBalInFDCrcy1 | PriorDayBalInFDCrcy1 | Prior Day Balance In Free-Defined Currency 1 | ||
| CurDayActyAmtInFDCrcy1 | CurDayActyAmtInFDCrcy1 | Current Day Activity In Free-Defined Currency 1 | ||
| PriorMonthBalInFDCrcy1 | PriorMonthBalInFDCrcy1 | Prior Month Balance In Free-Defined Currency 1 | ||
| CurMonthActyAmtInFDCrcy1 | CurMonthActyAmtInFDCrcy1 | Current Month Activity In Free-Defined Currency 1 | ||
| YTDBalInFDCrcy1 | YTDBalInFDCrcy1 | Year-to-Date Balance In Free-Defined Currency 1 | ||
| MTDAvgDailyBalInFDCrcy1 | MTDAvgDailyBalInFDCrcy1 | Month-to-Date ADB In Free-Defined Currency 1 | ||
| QTDAvgDailyBalInFDCrcy1 | QTDAvgDailyBalInFDCrcy1 | Quarter-to-Date ADB In Free-Defined Currency 1 | ||
| YTDAvgDailyBalInFDCrcy1 | YTDAvgDailyBalInFDCrcy1 | Year-to-Date ADB In Free-Defined Currency 1 | ||
| MTDAvgActyAmtInFDCrcy1 | MTDAvgActyAmtInFDCrcy1 | Month-to-Date Avg Activity In Free-Defined Currency 1 | ||
| QTDActyAmtInFDCrcy1 | QTDActyAmtInFDCrcy1 | Quarter-to-Date Activity In Free-Defined Currency 1 | ||
| FreeDefinedCurrency2 | FreeDefinedCurrency2 | Freely Defined Currency 2 | ||
| AmountInFreeDefinedCurrency2 | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | ||
| PriorDayBalInFDCrcy2 | PriorDayBalInFDCrcy2 | Prior Day Balance In Free-Defined Currency 2 | ||
| CurDayActyAmtInFDCrcy2 | CurDayActyAmtInFDCrcy2 | Current Day Activity In Free-Defined Currency 2 | ||
| PriorMonthBalInFDCrcy2 | PriorMonthBalInFDCrcy2 | Prior Month Balance In Free-Defined Currency 2 | ||
| CurMonthActyAmtInFDCrcy2 | CurMonthActyAmtInFDCrcy2 | Current Month Activity In Free-Defined Currency 2 | ||
| YTDBalInFDCrcy2 | YTDBalInFDCrcy2 | Year-to-Date Balance In Free-Defined Currency 2 | ||
| MTDAvgDailyBalInFDCrcy2 | MTDAvgDailyBalInFDCrcy2 | Month-to-Date ADB In Free-Defined Currency 2 | ||
| QTDAvgDailyBalInFDCrcy2 | QTDAvgDailyBalInFDCrcy2 | Quarter-to-Date ADB In Free-Defined Currency 2 | ||
| YTDAvgDailyBalInFDCrcy2 | YTDAvgDailyBalInFDCrcy2 | Year-to-Date ADB In Free-Defined Currency 2 | ||
| MTDAvgActyAmtInFDCrcy2 | MTDAvgActyAmtInFDCrcy2 | Month-to-Date Avg Activity In Free-Defined Currency 2 | ||
| QTDActyAmtInFDCrcy2 | QTDActyAmtInFDCrcy2 | Quarter-to-Date Avg Activity In Free-Defined Currency 2 | ||
| FreeDefinedCurrency3 | FreeDefinedCurrency3 | Freely Defined Currency 3 | ||
| AmountInFreeDefinedCurrency3 | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | ||
| PriorDayBalInFDCrcy3 | PriorDayBalInFDCrcy3 | Prior Day Balance In Free-Defined Currency 3 | ||
| CurDayActyAmtInFDCrcy3 | CurDayActyAmtInFDCrcy3 | Current Day Activity In Free-Defined Currency 3 | ||
| PriorMonthBalInFDCrcy3 | PriorMonthBalInFDCrcy3 | Prior Month Balance In Free-Defined Currency 3 | ||
| CurMonthActyAmtInFDCrcy3 | CurMonthActyAmtInFDCrcy3 | Current Month Activity In Free-Defined Currency 3 | ||
| YTDBalInFDCrcy3 | YTDBalInFDCrcy3 | Year-to-Date Balance In Free-Defined Currency 3 | ||
| MTDAvgDailyBalInFDCrcy3 | MTDAvgDailyBalInFDCrcy3 | Month-to-Date ADB In Free-Defined Currency 3 | ||
| QTDAvgDailyBalInFDCrcy3 | QTDAvgDailyBalInFDCrcy3 | Quarter-to-Date ADB In Free-Defined Currency 3 | ||
| YTDAvgDailyBalInFDCrcy3 | YTDAvgDailyBalInFDCrcy3 | Year-to-Date ADB In Free-Defined Currency 3 | ||
| MTDAvgActyAmtInFDCrcy3 | MTDAvgActyAmtInFDCrcy3 | Month-to-Date Avg Activity In Free-Defined Currency 3 | ||
| QTDActyAmtInFDCrcy3 | QTDActyAmtInFDCrcy3 | Quarter-to-Date Avg Activity In Free-Defined Currency 3 | ||
| FreeDefinedCurrency4 | FreeDefinedCurrency4 | Freely Defined Currency 4 | ||
| AmountInFreeDefinedCurrency4 | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | ||
| PriorDayBalInFDCrcy4 | PriorDayBalInFDCrcy4 | Prior Day Balance In Free-Defined Currency 4 | ||
| CurDayActyAmtInFDCrcy4 | CurDayActyAmtInFDCrcy4 | Current Day Activity In Free-Defined Currency 4 | ||
| PriorMonthBalInFDCrcy4 | PriorMonthBalInFDCrcy4 | Prior Month Balance In Free-Defined Currency 4 | ||
| CurMonthActyAmtInFDCrcy4 | CurMonthActyAmtInFDCrcy4 | Current Month Activity In Free-Defined Currency 4 | ||
| YTDBalInFDCrcy4 | YTDBalInFDCrcy4 | Year-to-Date Balance In Free-Defined Currency 4 | ||
| MTDAvgDailyBalInFDCrcy4 | MTDAvgDailyBalInFDCrcy4 | Month-to-Date ADB In Free-Defined Currency 4 | ||
| QTDAvgDailyBalInFDCrcy4 | QTDAvgDailyBalInFDCrcy4 | Quarter-to-Date ADB In Free-Defined Currency 4 | ||
| YTDAvgDailyBalInFDCrcy4 | YTDAvgDailyBalInFDCrcy4 | Year-to-Date ADB In Free-Defined Currency 4 | ||
| MTDAvgActyAmtInFDCrcy4 | MTDAvgActyAmtInFDCrcy4 | Month-to-Date Avg Activity In Free-Defined Currency 4 | ||
| QTDActyAmtInFDCrcy4 | QTDActyAmtInFDCrcy4 | Quarter-to-Date Activity In Free-Defined Currency 4 | ||
| FreeDefinedCurrency5 | FreeDefinedCurrency5 | Freely Defined Currency 5 | ||
| AmountInFreeDefinedCurrency5 | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | ||
| PriorDayBalInFDCrcy5 | PriorDayBalInFDCrcy5 | Prior Day Balance In Free-Defined Currency 5 | ||
| CurDayActyAmtInFDCrcy5 | CurDayActyAmtInFDCrcy5 | Current Day Activity In Free-Defined Currency 5 | ||
| PriorMonthBalInFDCrcy5 | PriorMonthBalInFDCrcy5 | Prior Month Balance In Free-Defined Currency 5 | ||
| CurMonthActyAmtInFDCrcy5 | CurMonthActyAmtInFDCrcy5 | Current Month Activity In Free-Defined Currency 5 | ||
| YTDBalInFDCrcy5 | YTDBalInFDCrcy5 | Year-to-Date Balance In Free-Defined Currency 5 | ||
| MTDAvgDailyBalInFDCrcy5 | MTDAvgDailyBalInFDCrcy5 | Month-to-Date ADB In Free-Defined Currency 5 | ||
| QTDAvgDailyBalInFDCrcy5 | QTDAvgDailyBalInFDCrcy5 | Quarter-to-Date ADB In Free-Defined Currency 5 | ||
| YTDAvgDailyBalInFDCrcy5 | YTDAvgDailyBalInFDCrcy5 | Year-to-Date ADB In Free-Defined Currency 5 | ||
| MTDAvgActyAmtInFDCrcy5 | MTDAvgActyAmtInFDCrcy5 | Month-to-Date Avg Activity In Free-Defined Currency 5 | ||
| QTDActyAmtInFDCrcy5 | QTDActyAmtInFDCrcy5 | Quarter-to-Date Activity In Free-Defined Currency 5 | ||
| FreeDefinedCurrency6 | FreeDefinedCurrency6 | Freely Defined Currency 6 | ||
| AmountInFreeDefinedCurrency6 | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | ||
| PriorDayBalInFDCrcy6 | PriorDayBalInFDCrcy6 | Prior Day Balance In Free-Defined Currency 6 | ||
| CurDayActyAmtInFDCrcy6 | CurDayActyAmtInFDCrcy6 | Current Day Activity In Free-Defined Currency 6 | ||
| PriorMonthBalInFDCrcy6 | PriorMonthBalInFDCrcy6 | Prior Month Balance In Free-Defined Currency 6 | ||
| CurMonthActyAmtInFDCrcy6 | CurMonthActyAmtInFDCrcy6 | Current Month Activity In Free-Defined Currency 6 | ||
| YTDBalInFDCrcy6 | YTDBalInFDCrcy6 | Year-to-Date Balance In Free-Defined Currency 6 | ||
| MTDAvgDailyBalInFDCrcy6 | MTDAvgDailyBalInFDCrcy6 | Month-to-Date ADB In Free-Defined Currency 6 | ||
| QTDAvgDailyBalInFDCrcy6 | QTDAvgDailyBalInFDCrcy6 | Quarter-to-Date ADB In Free-Defined Currency 6 | ||
| YTDAvgDailyBalInFDCrcy6 | YTDAvgDailyBalInFDCrcy6 | Year-to-Date ADB In Free-Defined Currency 6 | ||
| MTDAvgActyAmtInFDCrcy6 | MTDAvgActyAmtInFDCrcy6 | Month-to-Date Avg Activity In Free-Defined Currency 6 | ||
| QTDActyAmtInFDCrcy6 | QTDActyAmtInFDCrcy6 | Quarter-to-Date Activity In Free-Defined Currency 6 | ||
| FreeDefinedCurrency7 | FreeDefinedCurrency7 | Freely Defined Currency 7 | ||
| AmountInFreeDefinedCurrency7 | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | ||
| PriorDayBalInFDCrcy7 | PriorDayBalInFDCrcy7 | Prior Day Balance In Free-Defined Currency 7 | ||
| CurDayActyAmtInFDCrcy7 | CurDayActyAmtInFDCrcy7 | Current Day Activity In Free-Defined Currency 7 | ||
| PriorMonthBalInFDCrcy7 | PriorMonthBalInFDCrcy7 | Prior Month Balance In Free-Defined Currency 7 | ||
| CurMonthActyAmtInFDCrcy7 | CurMonthActyAmtInFDCrcy7 | Current Month Activity In Free-Defined Currency 7 | ||
| YTDBalInFDCrcy7 | YTDBalInFDCrcy7 | Year-to-Date Balance In Free-Defined Currency 7 | ||
| MTDAvgDailyBalInFDCrcy7 | MTDAvgDailyBalInFDCrcy7 | Month-to-Date ADB In Free-Defined Currency 7 | ||
| QTDAvgDailyBalInFDCrcy7 | QTDAvgDailyBalInFDCrcy7 | Quarter-to-Date ADB In Free-Defined Currency 7 | ||
| YTDAvgDailyBalInFDCrcy7 | YTDAvgDailyBalInFDCrcy7 | Year-to-Date ADB In Free-Defined Currency 7 | ||
| MTDAvgActyAmtInFDCrcy7 | MTDAvgActyAmtInFDCrcy7 | Month-to-Date Avg Activity In Free-Defined Currency 7 | ||
| QTDActyAmtInFDCrcy7 | QTDActyAmtInFDCrcy7 | Quarter-to-Date Activity In Free-Defined Currency 7 | ||
| FreeDefinedCurrency8 | FreeDefinedCurrency8 | Freely Defined Currency 8 | ||
| AmountInFreeDefinedCurrency8 | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | ||
| PriorDayBalInFDCrcy8 | PriorDayBalInFDCrcy8 | Prior Day Balance In Free-Defined Currency 8 | ||
| CurDayActyAmtInFDCrcy8 | CurDayActyAmtInFDCrcy8 | Current Day Activity In Free-Defined Currency 8 | ||
| PriorMonthBalInFDCrcy8 | PriorMonthBalInFDCrcy8 | Prior Month Balance In Free-Defined Currency 8 | ||
| CurMonthActyAmtInFDCrcy8 | CurMonthActyAmtInFDCrcy8 | Current Month Activity In Free-Defined Currency 8 | ||
| YTDBalInFDCrcy8 | YTDBalInFDCrcy8 | Year-to-Date Balance In Free-Defined Currency 8 | ||
| MTDAvgDailyBalInFDCrcy8 | MTDAvgDailyBalInFDCrcy8 | Month-to-Date ADB In Free-Defined Currency 8 | ||
| QTDAvgDailyBalInFDCrcy8 | QTDAvgDailyBalInFDCrcy8 | Quarter-to-Date ADB In Free-Defined Currency 8 | ||
| YTDAvgDailyBalInFDCrcy8 | YTDAvgDailyBalInFDCrcy8 | Year-to-Date ADB In Free-Defined Currency 8 | ||
| MTDAvgActyAmtInFDCrcy8 | MTDAvgActyAmtInFDCrcy8 | Month-to-Date Avg Activity In Free-Defined Currency 8 | ||
| QTDActyAmtInFDCrcy8 | QTDActyAmtInFDCrcy8 | Quarter-to-Date Activity In Free-Defined Currency 8 | ||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Name of Company Code or Company |
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_AvgDailyTrialBalance.
-- 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_ReportingDate : gle_dte_adb_keydate, P_CreationDate : gle_dte_adb_creation_date, P_CreationTime : gle_dte_adb_creation_time, P_Language : sylangu, P_KeyDate : sydate
CREATE VIEW C_AvgDailyTrialBalance AS
SELECT
lookupEntity: 'I_MySessionContext' AS lookupEntityI_MySessionContext,
resultElement: 'UserLocalDate' AS resultElementUserLocalDate,
P_CreationTime: $parameters.P_CreationTime AS P_CreationTime,
CompanyCode,
GLAccount,
_GLAccountInChartOfAccounts._Text[1: Language = $parameters.P_Language].GLAccountName AS GLAccountName,
PostingDate,
SourceLedger,
FiscalYear,
LedgerFiscalYear,
FlowOfFundsLedgerFiscalYear,
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,
ControllingArea,
Segment,
_Segment._Text[1:Language = $parameters.P_Language].SegmentName AS SegmentName,
CostCenter,
_CostCenter[1:ValidityEndDate >= $parameters.P_KeyDate and ValidityStartDate <= $parameters.P_KeyDate]._Text[1:Language = $parameters.P_Language].CostCenterName AS CostCenterName,
PartnerProfitCenter,
PartnerFunctionalArea,
_PartnerFunctionalArea._Text[1:Language = $parameters.P_Language].FunctionalAreaName AS PartnerFunctionalAreaName,
PartnerCompany,
PartnerSegment,
FiscalYearVariant,
ChartOfAccounts,
FinancialServicesProductGroup,
FinancialServicesBranch,
FinancialDataSource,
CustomerGroup,
CustomerSupplierCountry,
CustomerSupplierIndustry,
AmountInBalanceTransacCrcy,
PriorDayBalInBalTransCrcy,
CurDayActyAmtInBalTransCrcy,
PriorMonthBalInBalTransCrcy,
CurMonthActyAmtInBalTransCrcy,
YTDBalInBalTransCrcy,
MTDAvgDailyBalInBalTransCrcy,
QTDAvgDailyBalInBalTransCrcy,
YTDAvgDailyBalInBalTransCrcy,
MTDAvgActyAmtInBalTransCrcy,
QTDActyAmtInBalTransCrcy,
CompanyCodeCurrency,
AmountInCompanyCodeCurrency,
PriorDayBalInCCCrcy,
CurDayActyAmtInCCCrcy,
PriorMonthBalInCCCrcy,
CurMonthActyAmtInCCCrcy,
YTDBalInCCCrcy,
MTDAvgDailyBalInCCCrcy,
QTDAvgDailyBalInCCCrcy,
YTDAvgDailyBalInCCCrcy,
MTDAvgActyAmtInCCCrcy,
QTDActyAmtInCCCrcy,
GlobalCurrency,
AmountInGlobalCurrency,
PriorDayBalInGlobCrcy,
CurDayActyAmtInGlobCrcy,
PriorMonthBalInGlobCrcy,
CurMonthActyAmtInGlobCrcy,
YTDBalInGlobCrcy,
MTDAvgDailyBalInGlobCrcy,
QTDAvgDailyBalInGlobCrcy,
YTDAvgDailyBalInGlobCrcy,
MTDAvgActyAmtInGlobCrcy,
QTDActyAmtInGlobCrcy,
FreeDefinedCurrency1,
AmountInFreeDefinedCurrency1,
PriorDayBalInFDCrcy1,
CurDayActyAmtInFDCrcy1,
PriorMonthBalInFDCrcy1,
CurMonthActyAmtInFDCrcy1,
YTDBalInFDCrcy1,
MTDAvgDailyBalInFDCrcy1,
QTDAvgDailyBalInFDCrcy1,
YTDAvgDailyBalInFDCrcy1,
MTDAvgActyAmtInFDCrcy1,
QTDActyAmtInFDCrcy1,
FreeDefinedCurrency2,
AmountInFreeDefinedCurrency2,
PriorDayBalInFDCrcy2,
CurDayActyAmtInFDCrcy2,
PriorMonthBalInFDCrcy2,
CurMonthActyAmtInFDCrcy2,
YTDBalInFDCrcy2,
MTDAvgDailyBalInFDCrcy2,
QTDAvgDailyBalInFDCrcy2,
YTDAvgDailyBalInFDCrcy2,
MTDAvgActyAmtInFDCrcy2,
QTDActyAmtInFDCrcy2,
FreeDefinedCurrency3,
AmountInFreeDefinedCurrency3,
PriorDayBalInFDCrcy3,
CurDayActyAmtInFDCrcy3,
PriorMonthBalInFDCrcy3,
CurMonthActyAmtInFDCrcy3,
YTDBalInFDCrcy3,
MTDAvgDailyBalInFDCrcy3,
QTDAvgDailyBalInFDCrcy3,
YTDAvgDailyBalInFDCrcy3,
MTDAvgActyAmtInFDCrcy3,
QTDActyAmtInFDCrcy3,
FreeDefinedCurrency4,
AmountInFreeDefinedCurrency4,
PriorDayBalInFDCrcy4,
CurDayActyAmtInFDCrcy4,
PriorMonthBalInFDCrcy4,
CurMonthActyAmtInFDCrcy4,
YTDBalInFDCrcy4,
MTDAvgDailyBalInFDCrcy4,
QTDAvgDailyBalInFDCrcy4,
YTDAvgDailyBalInFDCrcy4,
MTDAvgActyAmtInFDCrcy4,
QTDActyAmtInFDCrcy4,
FreeDefinedCurrency5,
AmountInFreeDefinedCurrency5,
PriorDayBalInFDCrcy5,
CurDayActyAmtInFDCrcy5,
PriorMonthBalInFDCrcy5,
CurMonthActyAmtInFDCrcy5,
YTDBalInFDCrcy5,
MTDAvgDailyBalInFDCrcy5,
QTDAvgDailyBalInFDCrcy5,
YTDAvgDailyBalInFDCrcy5,
MTDAvgActyAmtInFDCrcy5,
QTDActyAmtInFDCrcy5,
FreeDefinedCurrency6,
AmountInFreeDefinedCurrency6,
PriorDayBalInFDCrcy6,
CurDayActyAmtInFDCrcy6,
PriorMonthBalInFDCrcy6,
CurMonthActyAmtInFDCrcy6,
YTDBalInFDCrcy6,
MTDAvgDailyBalInFDCrcy6,
QTDAvgDailyBalInFDCrcy6,
YTDAvgDailyBalInFDCrcy6,
MTDAvgActyAmtInFDCrcy6,
QTDActyAmtInFDCrcy6,
FreeDefinedCurrency7,
AmountInFreeDefinedCurrency7,
PriorDayBalInFDCrcy7,
CurDayActyAmtInFDCrcy7,
PriorMonthBalInFDCrcy7,
CurMonthActyAmtInFDCrcy7,
YTDBalInFDCrcy7,
MTDAvgDailyBalInFDCrcy7,
QTDAvgDailyBalInFDCrcy7,
YTDAvgDailyBalInFDCrcy7,
MTDAvgActyAmtInFDCrcy7,
QTDActyAmtInFDCrcy7,
FreeDefinedCurrency8,
AmountInFreeDefinedCurrency8,
PriorDayBalInFDCrcy8,
CurDayActyAmtInFDCrcy8,
PriorMonthBalInFDCrcy8,
CurMonthActyAmtInFDCrcy8,
YTDBalInFDCrcy8,
MTDAvgDailyBalInFDCrcy8,
QTDAvgDailyBalInFDCrcy8,
YTDAvgDailyBalInFDCrcy8,
MTDAvgActyAmtInFDCrcy8,
QTDActyAmtInFDCrcy8,
_CompanyCode.CompanyCodeName AS CompanyCodeName
FROM I_AvgDailyBalKeyFigCube
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA