P_GLE_ADB_GR_FT_06

DDL: P_GLE_ADB_GR_FT_06 Type: view_entity COMPOSITE

Consolidation Average Daily Balance

P_GLE_ADB_GR_FT_06 is a Composite CDS View that provides data about "Consolidation Average Daily Balance" in SAP S/4HANA. It reads from 1 data source (P_GLE_ADB_GR_FT_05) and exposes 64 fields with key fields FinSGLRunUUID, FinSGLItemID.

Data Sources (1)

SourceAliasJoin Type
P_GLE_ADB_GR_FT_05 P_GLE_ADB_GR_FT_05 from

Parameters (4)

NameTypeDefault
P_ConsolidationDimension fc_dimen
P_ConsolidationUnit fc_bunit
P_ConsolidationVersion fc_rvers
P_FiscalYearPeriod fincs_fiscalyearper

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Consolidation Average Daily Balance view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (64)

KeyFieldSource TableSource FieldDescription
KEY FinSGLRunUUID Source FinSGLRunUUID
KEY FinSGLItemID Source FinSGLItemID
ConsolidationChartOfAccounts Source ConsolidationChartOfAccounts Cons. COA
ConsolidationDimension Source ConsolidationDimension Dimension
Ledger Source Ledger Ledger
CompanyCode Source CompanyCode Receiver Company Code
ConsolidationUnit Source ConsolidationUnit Consolidation Unit
FinancialStatementItem Source FinancialStatementItem FS Item
SubItem Source SubItem Subitem Number
SubItemCategory Source SubItemCategory Subitem Category
CnsldtnSubitemSource Source CnsldtnSubitemSource
GLAccount Source GLAccount General Ledger
ChartOfAccounts Source ChartOfAccounts Node Class
ConsolidationLedger Source ConsolidationLedger Ledger
FiscalPeriod Source FiscalPeriod Tax period
FiscalYear Source FiscalYear G/L Fiscal Year
PartnerConsolidationUnit Source PartnerConsolidationUnit Partner Unit
GroupCurrency Source GroupCurrency Ledger curr.
LocalCurrency Source LocalCurrency Local Currency
tsl_mendasMTDAvgDailyBalInBalTransCrcy
tsl_qendasQTDAvgDailyBalInBalTransCrcy
tsl_yendasYTDAvgDailyBalInBalTransCrcy
MTDAvgDailyBalInCCCrcy Source hsl_m
QTDAvgDailyBalInCCCrcy Source hsl_q
YTDAvgDailyBalInCCCrcy Source hsl_y
MTDAvgDailyBalInGlobCrcy Source ksl_m
QTDAvgDailyBalInGlobCrcy Source ksl_q
YTDAvgDailyBalInGlobCrcy Source ksl_y
BusinessArea Source BusinessArea Business Area
PartnerCostCenter Source PartnerCostCenter Sender Cost Ctr
PartnerBusinessArea Source PartnerBusinessArea Trdg Part.BA
PartnerCompany Source PartnerCompany Trading Partner
CustomerSupplierCorporateGroup Source CustomerSupplierCorporateGroup Group
ProfitCenter Source ProfitCenter Profit Center
Segment Source Segment Segment number
CostCenter Source CostCenter Cost Center
FunctionalArea Source FunctionalArea Sendr Fctl Area
FinancialTransactionType Source FinancialTransactionType Transact. Type
OrderID Source OrderID Order ID
BillingDocumentType Source BillingDocumentType Billing Type
ControllingArea Source ControllingArea Controlling Area
Customer Source Customer Sold-to Party
Supplier Source Supplier Supplier
MaterialGroup Source MaterialGroup Product Group
Material Source Material Vehicle Model
PartnerProfitCenter Source PartnerProfitCenter Profit Center
WBSElementExternalID Source WBSElementExternalID WBS Element External ID
Project Source Project WBS Element
PartnerSegment Source PartnerSegment Partner Segment
PartnerFunctionalArea Source PartnerFunctionalArea Rec. Fntcl Area
Plant Source Plant Valuation Area
AssignmentReference Source AssignmentReference Assignment Reference
SalesOrganization Source SalesOrganization Sales Organization
DistributionChannel Source DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision Source OrganizationDivision Org. Division
SoldProduct Source SoldProduct Product Sold
SoldProductGroup Source SoldProductGroup Product Sold Group
CustomerGroup Source CustomerGroup Customer Group
CustomerSupplierCountry Source CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierIndustry Source CustomerSupplierIndustry Industry
SalesDistrict Source SalesDistrict Sales District
BillToParty Source BillToParty Inv. Recipient
ShipToParty Source ShipToParty Ship-To Party (obsolete)
WBSElementInternalID Source WBSElementInternalID WBS Internal ID

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 P_GLE_ADB_GR_FT_06.
-- 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_ConsolidationDimension : fc_dimen, P_ConsolidationUnit : fc_bunit, P_ConsolidationVersion : fc_rvers, P_FiscalYearPeriod : fincs_fiscalyearper

CREATE VIEW P_GLE_ADB_GR_FT_06 AS
SELECT
  Source.FinSGLRunUUID AS FinSGLRunUUID,
  Source.FinSGLItemID AS FinSGLItemID,
  Source.ConsolidationChartOfAccounts AS ConsolidationChartOfAccounts,
  Source.ConsolidationDimension AS ConsolidationDimension,
  Source.Ledger AS Ledger,
  Source.CompanyCode AS CompanyCode,
  Source.ConsolidationUnit AS ConsolidationUnit,
  Source.FinancialStatementItem AS FinancialStatementItem,
  Source.SubItem AS SubItem,
  Source.SubItemCategory AS SubItemCategory,
  Source.CnsldtnSubitemSource AS CnsldtnSubitemSource,
  Source.GLAccount AS GLAccount,
  Source.ChartOfAccounts AS ChartOfAccounts,
  Source.ConsolidationLedger AS ConsolidationLedger,
  Source.FiscalPeriod AS FiscalPeriod,
  Source.FiscalYear AS FiscalYear,
  Source.PartnerConsolidationUnit AS PartnerConsolidationUnit,
  Source.GroupCurrency AS GroupCurrency,
  Source.LocalCurrency AS LocalCurrency,
  case when tf103a_rtcur.BreakdownType is null then case Source.DocumentEntryIsInGroupCurrency when '' then Source.hsl_m when 'X' then Source.ksl_m end when tf103a_rtcur.BreakdownType = '2' then Source.tsl_m end as MTDAvgDailyBalInBalTransCrcy AS tsl_mendasMTDAvgDailyBalInBalTransCrcy,
  case when tf103a_rtcur.BreakdownType is null then case Source.DocumentEntryIsInGroupCurrency when '' then Source.hsl_q when 'X' then Source.ksl_q end when tf103a_rtcur.BreakdownType = '2' then Source.tsl_q end as QTDAvgDailyBalInBalTransCrcy AS tsl_qendasQTDAvgDailyBalInBalTransCrcy,
  case when tf103a_rtcur.BreakdownType is null then case Source.DocumentEntryIsInGroupCurrency when '' then Source.hsl_y when 'X' then Source.ksl_y end when tf103a_rtcur.BreakdownType = '2' then Source.tsl_y end as YTDAvgDailyBalInBalTransCrcy AS tsl_yendasYTDAvgDailyBalInBalTransCrcy,
  Source.hsl_m AS MTDAvgDailyBalInCCCrcy,
  Source.hsl_q AS QTDAvgDailyBalInCCCrcy,
  Source.hsl_y AS YTDAvgDailyBalInCCCrcy,
  Source.ksl_m AS MTDAvgDailyBalInGlobCrcy,
  Source.ksl_q AS QTDAvgDailyBalInGlobCrcy,
  Source.ksl_y AS YTDAvgDailyBalInGlobCrcy,
  Source.BusinessArea AS BusinessArea,
  Source.PartnerCostCenter AS PartnerCostCenter,
  Source.PartnerBusinessArea AS PartnerBusinessArea,
  Source.PartnerCompany AS PartnerCompany,
  Source.CustomerSupplierCorporateGroup AS CustomerSupplierCorporateGroup,
  Source.ProfitCenter AS ProfitCenter,
  Source.Segment AS Segment,
  Source.CostCenter AS CostCenter,
  Source.FunctionalArea AS FunctionalArea,
  Source.FinancialTransactionType AS FinancialTransactionType,
  Source.OrderID AS OrderID,
  Source.BillingDocumentType AS BillingDocumentType,
  Source.ControllingArea AS ControllingArea,
  Source.Customer AS Customer,
  Source.Supplier AS Supplier,
  Source.MaterialGroup AS MaterialGroup,
  Source.Material AS Material,
  Source.PartnerProfitCenter AS PartnerProfitCenter,
  Source.WBSElementExternalID AS WBSElementExternalID,
  Source.Project AS Project,
  Source.PartnerSegment AS PartnerSegment,
  Source.PartnerFunctionalArea AS PartnerFunctionalArea,
  Source.Plant AS Plant,
  Source.AssignmentReference AS AssignmentReference,
  Source.SalesOrganization AS SalesOrganization,
  Source.DistributionChannel AS DistributionChannel,
  Source.OrganizationDivision AS OrganizationDivision,
  Source.SoldProduct AS SoldProduct,
  Source.SoldProductGroup AS SoldProductGroup,
  Source.CustomerGroup AS CustomerGroup,
  Source.CustomerSupplierCountry AS CustomerSupplierCountry,
  Source.CustomerSupplierIndustry AS CustomerSupplierIndustry,
  Source.SalesDistrict AS SalesDistrict,
  Source.BillToParty AS BillToParty,
  Source.ShipToParty AS ShipToParty,
  Source.WBSElementInternalID AS WBSElementInternalID
FROM P_GLE_ADB_GR_FT_05
;