P_GLE_ADB_GR_01

DDL: P_GLE_ADB_GR_01 SQL: PGLEADBGR_01 Type: view COMPOSITE

P_GLE_ADB_GR_01 is a Composite CDS View in SAP S/4HANA. It reads from 6 data sources and exposes 106 fields.

Data Sources (6)

SourceAliasJoin Type
I_CnsldtnUnit_3 I_CnsldtnUnit_3 inner
I_CnsldtnUnitByTimeVersion I_CnsldtnUnitByTimeVersion inner
I_CnsldtnVersion I_CnsldtnVersion inner
I_CompanyCode I_CompanyCode inner
I_FiscalCalendarDate I_FiscalCalendarDate inner
P_GLE_ADB_KFC_CAL P_GLE_ADB_KFC_CAL from

Parameters (12)

NameTypeDefault
P_FiscalYearStartDate gle_dte_adb_keydate
P_FiscalHalfYearStartDate gle_dte_adb_keydate
P_FiscalQuarterStartDate gle_dte_adb_keydate
P_FiscalMonthStartDate gle_dte_adb_keydate
P_ReportingDate gle_dte_adb_keydate
P_ConsolidationDimension fc_dimen
P_ConsolidationUnit fc_bunit
P_ConsolidationVersion fc_rvers
P_FiscalYearPeriod fincs_fiscalyearper
P_CreationDateTimeRgFr gle_dte_adb_timestamp
P_CreationDateTimeRgTo gle_dte_adb_timestamp
P_ArchiveDataIsIncluded abap_boolean

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PGLEADBGR_01 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (106)

KeyFieldSource TableSource FieldDescription
Ledger P_GLE_ADB_KFC_CAL Ledger Ledger
SourceLedger P_GLE_ADB_KFC_CAL SourceLedger Source Ledger
LedgerGLLineItem P_GLE_ADB_KFC_CAL LedgerGLLineItem Journal Entry Item
CompanyCode P_GLE_ADB_KFC_CAL CompanyCode Receiver Company Code
PartnerCompany P_GLE_ADB_KFC_CAL PartnerCompany Trading Partner
PostingDate P_GLE_ADB_KFC_CAL PostingDate Posting Date for GR
BalanceTransactionCurrency P_GLE_ADB_KFC_CAL BalanceTransactionCurrency Currency
BaseUnit P_GLE_ADB_KFC_CAL BaseUnit Unit of Measure
gjahr P_GLE_ADB_KFC_CAL FiscalYear G/L Fiscal Year
AccountingDocument P_GLE_ADB_KFC_CAL AccountingDocument Journal Entry
PartnerBusinessArea P_GLE_ADB_KFC_CAL PartnerBusinessArea Trdg Part.BA
FinancialTransactionType P_GLE_ADB_KFC_CAL FinancialTransactionType Transact. Type
FunctionalArea P_GLE_ADB_KFC_CAL FunctionalArea Sendr Fctl Area
BusinessArea P_GLE_ADB_KFC_CAL BusinessArea Business Area
CostCenter P_GLE_ADB_KFC_CAL CostCenter Cost Center
GLAccount P_GLE_ADB_KFC_CAL GLAccount General Ledger
ProfitCenter P_GLE_ADB_KFC_CAL ProfitCenter Profit Center
AccountingDocumentType P_GLE_ADB_KFC_CAL AccountingDocumentType Journal Entry Type
tsl_m P_GLE_ADB_KFC_CAL M2DAvgBal_T MTD TranCrcy
tsl_q P_GLE_ADB_KFC_CAL Q2DAvgBal_T QTD TranCrcy
tsl_h P_GLE_ADB_KFC_CAL HY2DAvgBal_T
tsl_y P_GLE_ADB_KFC_CAL Y2DAvgBal_T YTD TranCrcy
hsl_m P_GLE_ADB_KFC_CAL M2DAvgBal_H MTD CC Crcy
hsl_q P_GLE_ADB_KFC_CAL Q2DAvgBal_H QTD CC Crcy
hsl_h P_GLE_ADB_KFC_CAL HY2DAvgBal_H
hsl_y P_GLE_ADB_KFC_CAL Y2DAvgBal_H YTD CC Crcy
ksl_m P_GLE_ADB_KFC_CAL M2DAvgBal_K MTD GloCrcy
ksl_q P_GLE_ADB_KFC_CAL Q2DAvgBal_K QTD GloCrcy
ksl_h P_GLE_ADB_KFC_CAL HY2DAvgBal_K
ksl_y P_GLE_ADB_KFC_CAL Y2DAvgBal_K YTD GloCrcy
osl_m P_GLE_ADB_KFC_CAL M2DAvgBal_O MTD FrDefCrcy1
osl_q P_GLE_ADB_KFC_CAL Q2DAvgBal_O QTD FrDefCrcy1
osl_h P_GLE_ADB_KFC_CAL HY2DAvgBal_O
osl_y P_GLE_ADB_KFC_CAL Y2DAvgBal_O YTD FrDefCrcy1
vsl_m P_GLE_ADB_KFC_CAL M2DAvgBal_V MTD FrDefCrcy2
vsl_q P_GLE_ADB_KFC_CAL Q2DAvgBal_V QTD FrDefCrcy2
vsl_h P_GLE_ADB_KFC_CAL HY2DAvgBal_V
vsl_y P_GLE_ADB_KFC_CAL Y2DAvgBal_V YTD FrDefCrcy2
bsl_m P_GLE_ADB_KFC_CAL M2DAvgBal_B MTD FrDefCrcy3
bsl_q P_GLE_ADB_KFC_CAL Q2DAvgBal_B QTD FrDefCrcy3
bsl_h P_GLE_ADB_KFC_CAL HY2DAvgBal_B
bsl_y P_GLE_ADB_KFC_CAL Y2DAvgBal_B YTD FrDefCrcy3
csl_m P_GLE_ADB_KFC_CAL M2DAvgBal_C MTD FrDefCrcy4
csl_q P_GLE_ADB_KFC_CAL Q2DAvgBal_C QTD FrDefCrcy4
csl_h P_GLE_ADB_KFC_CAL HY2DAvgBal_C
csl_y P_GLE_ADB_KFC_CAL Y2DAvgBal_C YTD FrDefCrcy4
dsl_m P_GLE_ADB_KFC_CAL M2DAvgBal_D MTD FrDefCrcy5
dsl_q P_GLE_ADB_KFC_CAL Q2DAvgBal_D QTD FrDefCrcy5
dsl_h P_GLE_ADB_KFC_CAL HY2DAvgBal_D
dsl_y P_GLE_ADB_KFC_CAL Y2DAvgBal_D YTD FrDefCrcy5
esl_m P_GLE_ADB_KFC_CAL M2DAvgBal_E MTD FrDefCrcy6
esl_q P_GLE_ADB_KFC_CAL Q2DAvgBal_E QTD FrDefCrcy6
esl_h P_GLE_ADB_KFC_CAL HY2DAvgBal_E
esl_y P_GLE_ADB_KFC_CAL Y2DAvgBal_E YTD FrDefCrcy6
fsl_m P_GLE_ADB_KFC_CAL M2DAvgBal_F MTD FrDefCrcy7
fsl_q P_GLE_ADB_KFC_CAL Q2DAvgBal_F QTD FrDefCrcy7
fsl_h P_GLE_ADB_KFC_CAL HY2DAvgBal_F
fsl_y P_GLE_ADB_KFC_CAL Y2DAvgBal_F YTD FrDefCrcy7
gsl_m P_GLE_ADB_KFC_CAL M2DAvgBal_G MTD FrDefCrcy8
gsl_q P_GLE_ADB_KFC_CAL Q2DAvgBal_G QTD FrDefCrcy8
gsl_h P_GLE_ADB_KFC_CAL HY2DAvgBal_G
gsl_y P_GLE_ADB_KFC_CAL Y2DAvgBal_G YTD FrDefCrcy8
ReferenceFiscalYear P_GLE_ADB_KFC_CAL FiscalYear G/L Fiscal Year
ReferenceDocumentType P_GLE_ADB_KFC_CAL ReferenceDocumentType Reference Document Type
CreationDateTime P_GLE_ADB_KFC_CAL CreationDateTime Timestamp
Segment P_GLE_ADB_KFC_CAL Segment Segment number
ConsolidationDimension I_CnsldtnUnit ConsolidationDimension Dimension
ConsolidationUnit I_CnsldtnUnit ConsolidationUnit Consolidation Unit
ConsolidationVersion I_CnsldtnVersion ConsolidationVersion Version
FSItemMappingVersion I_CnsldtnVersion FSItemMappingVersion
ChartOfAccounts I_CompanyCode ChartOfAccounts Node Class
ConsolidationLedger I_CnsldtnVersion ConsolidationLedger Ledger
CnsldtnUnitGroupCrcySource I_CnsldtnUnitByTimeVersion CnsldtnUnitGroupCrcySource Source for Group Currency Key Figure
CnsldtnUnitLocalCrcySource I_CnsldtnUnitByTimeVersion CnsldtnUnitLocalCrcySource Source for Local Currency Key Figure
GroupCurrency I_CnsldtnVersion GroupCurrency Ledger curr.
FiscalPeriod I_FiscalCalendarDate FiscalPeriod Tax period
FiscalYear I_FiscalCalendarDate FiscalYear G/L Fiscal Year
DocumentEntryIsInGroupCurrency I_CnsldtnUnitByTimeVersion DocumentEntryIsInGroupCurrency
AssignmentReference P_GLE_ADB_KFC_CAL AssignmentReference Assignment Reference
ControllingArea P_GLE_ADB_KFC_CAL ControllingArea Controlling Area
PartnerCostCenter P_GLE_ADB_KFC_CAL PartnerCostCenter Sender Cost Ctr
PartnerProfitCenter P_GLE_ADB_KFC_CAL PartnerProfitCenter Profit Center
PartnerFunctionalArea P_GLE_ADB_KFC_CAL PartnerFunctionalArea Rec. Fntcl Area
PartnerSegment P_GLE_ADB_KFC_CAL PartnerSegment Partner Segment
OrderID P_GLE_ADB_KFC_CAL OrderID Order ID
Customer P_GLE_ADB_KFC_CAL Customer Sold-to Party
Supplier P_GLE_ADB_KFC_CAL Supplier Supplier
Material P_GLE_ADB_KFC_CAL Material Vehicle Model
MaterialGroup P_GLE_ADB_KFC_CAL MaterialGroup Product Group
Plant P_GLE_ADB_KFC_CAL Plant Valuation Area
WBSElementExternalID P_GLE_ADB_KFC_CAL WBSElementExternalID WBS Element External ID
Project P_GLE_ADB_KFC_CAL Project WBS Element
BillingDocumentType P_GLE_ADB_KFC_CAL BillingDocumentType Billing Type
SalesOrganization P_GLE_ADB_KFC_CAL SalesOrganization Sales Organization
DistributionChannel P_GLE_ADB_KFC_CAL DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision P_GLE_ADB_KFC_CAL OrganizationDivision Org. Division
SoldProduct P_GLE_ADB_KFC_CAL SoldProduct Product Sold
SoldProductGroup P_GLE_ADB_KFC_CAL SoldProductGroup Product Sold Group
CustomerGroup P_GLE_ADB_KFC_CAL CustomerGroup Customer Group
CustomerSupplierCountry P_GLE_ADB_KFC_CAL CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierIndustry P_GLE_ADB_KFC_CAL CustomerSupplierIndustry Industry
SalesDistrict P_GLE_ADB_KFC_CAL SalesDistrict Sales District
BillToParty P_GLE_ADB_KFC_CAL BillToParty Inv. Recipient
ShipToParty P_GLE_ADB_KFC_CAL ShipToParty Ship-To Party (obsolete)
CustomerSupplierCorporateGroup P_GLE_ADB_KFC_CAL CustomerSupplierCorporateGroup Group
WBSElementInternalID P_GLE_ADB_KFC_CAL 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_01.
-- 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: PGLEADBGR_01
-- Parameters: P_FiscalYearStartDate : gle_dte_adb_keydate, P_FiscalHalfYearStartDate : gle_dte_adb_keydate, P_FiscalQuarterStartDate : gle_dte_adb_keydate, P_FiscalMonthStartDate : gle_dte_adb_keydate, P_ReportingDate : gle_dte_adb_keydate, P_ConsolidationDimension : fc_dimen, P_ConsolidationUnit : fc_bunit, P_ConsolidationVersion : fc_rvers, P_FiscalYearPeriod : fincs_fiscalyearper, P_CreationDateTimeRgFr : gle_dte_adb_timestamp, P_CreationDateTimeRgTo : gle_dte_adb_timestamp, P_ArchiveDataIsIncluded : abap_boolean

CREATE VIEW P_GLE_ADB_GR_01 AS
SELECT
  P_GLE_ADB_KFC_CAL.Ledger AS Ledger,
  P_GLE_ADB_KFC_CAL.SourceLedger AS SourceLedger,
  P_GLE_ADB_KFC_CAL.LedgerGLLineItem AS LedgerGLLineItem,
  P_GLE_ADB_KFC_CAL.CompanyCode AS CompanyCode,
  P_GLE_ADB_KFC_CAL.PartnerCompany AS PartnerCompany,
  P_GLE_ADB_KFC_CAL.PostingDate AS PostingDate,
  P_GLE_ADB_KFC_CAL.BalanceTransactionCurrency AS BalanceTransactionCurrency,
  P_GLE_ADB_KFC_CAL.BaseUnit AS BaseUnit,
  P_GLE_ADB_KFC_CAL.FiscalYear AS gjahr,
  P_GLE_ADB_KFC_CAL.AccountingDocument AS AccountingDocument,
  P_GLE_ADB_KFC_CAL.PartnerBusinessArea AS PartnerBusinessArea,
  P_GLE_ADB_KFC_CAL.FinancialTransactionType AS FinancialTransactionType,
  P_GLE_ADB_KFC_CAL.FunctionalArea AS FunctionalArea,
  P_GLE_ADB_KFC_CAL.BusinessArea AS BusinessArea,
  P_GLE_ADB_KFC_CAL.CostCenter AS CostCenter,
  P_GLE_ADB_KFC_CAL.GLAccount AS GLAccount,
  P_GLE_ADB_KFC_CAL.ProfitCenter AS ProfitCenter,
  P_GLE_ADB_KFC_CAL.AccountingDocumentType AS AccountingDocumentType,
  P_GLE_ADB_KFC_CAL.M2DAvgBal_T AS tsl_m,
  P_GLE_ADB_KFC_CAL.Q2DAvgBal_T AS tsl_q,
  P_GLE_ADB_KFC_CAL.HY2DAvgBal_T AS tsl_h,
  P_GLE_ADB_KFC_CAL.Y2DAvgBal_T AS tsl_y,
  P_GLE_ADB_KFC_CAL.M2DAvgBal_H AS hsl_m,
  P_GLE_ADB_KFC_CAL.Q2DAvgBal_H AS hsl_q,
  P_GLE_ADB_KFC_CAL.HY2DAvgBal_H AS hsl_h,
  P_GLE_ADB_KFC_CAL.Y2DAvgBal_H AS hsl_y,
  P_GLE_ADB_KFC_CAL.M2DAvgBal_K AS ksl_m,
  P_GLE_ADB_KFC_CAL.Q2DAvgBal_K AS ksl_q,
  P_GLE_ADB_KFC_CAL.HY2DAvgBal_K AS ksl_h,
  P_GLE_ADB_KFC_CAL.Y2DAvgBal_K AS ksl_y,
  P_GLE_ADB_KFC_CAL.M2DAvgBal_O AS osl_m,
  P_GLE_ADB_KFC_CAL.Q2DAvgBal_O AS osl_q,
  P_GLE_ADB_KFC_CAL.HY2DAvgBal_O AS osl_h,
  P_GLE_ADB_KFC_CAL.Y2DAvgBal_O AS osl_y,
  P_GLE_ADB_KFC_CAL.M2DAvgBal_V AS vsl_m,
  P_GLE_ADB_KFC_CAL.Q2DAvgBal_V AS vsl_q,
  P_GLE_ADB_KFC_CAL.HY2DAvgBal_V AS vsl_h,
  P_GLE_ADB_KFC_CAL.Y2DAvgBal_V AS vsl_y,
  P_GLE_ADB_KFC_CAL.M2DAvgBal_B AS bsl_m,
  P_GLE_ADB_KFC_CAL.Q2DAvgBal_B AS bsl_q,
  P_GLE_ADB_KFC_CAL.HY2DAvgBal_B AS bsl_h,
  P_GLE_ADB_KFC_CAL.Y2DAvgBal_B AS bsl_y,
  P_GLE_ADB_KFC_CAL.M2DAvgBal_C AS csl_m,
  P_GLE_ADB_KFC_CAL.Q2DAvgBal_C AS csl_q,
  P_GLE_ADB_KFC_CAL.HY2DAvgBal_C AS csl_h,
  P_GLE_ADB_KFC_CAL.Y2DAvgBal_C AS csl_y,
  P_GLE_ADB_KFC_CAL.M2DAvgBal_D AS dsl_m,
  P_GLE_ADB_KFC_CAL.Q2DAvgBal_D AS dsl_q,
  P_GLE_ADB_KFC_CAL.HY2DAvgBal_D AS dsl_h,
  P_GLE_ADB_KFC_CAL.Y2DAvgBal_D AS dsl_y,
  P_GLE_ADB_KFC_CAL.M2DAvgBal_E AS esl_m,
  P_GLE_ADB_KFC_CAL.Q2DAvgBal_E AS esl_q,
  P_GLE_ADB_KFC_CAL.HY2DAvgBal_E AS esl_h,
  P_GLE_ADB_KFC_CAL.Y2DAvgBal_E AS esl_y,
  P_GLE_ADB_KFC_CAL.M2DAvgBal_F AS fsl_m,
  P_GLE_ADB_KFC_CAL.Q2DAvgBal_F AS fsl_q,
  P_GLE_ADB_KFC_CAL.HY2DAvgBal_F AS fsl_h,
  P_GLE_ADB_KFC_CAL.Y2DAvgBal_F AS fsl_y,
  P_GLE_ADB_KFC_CAL.M2DAvgBal_G AS gsl_m,
  P_GLE_ADB_KFC_CAL.Q2DAvgBal_G AS gsl_q,
  P_GLE_ADB_KFC_CAL.HY2DAvgBal_G AS gsl_h,
  P_GLE_ADB_KFC_CAL.Y2DAvgBal_G AS gsl_y,
  P_GLE_ADB_KFC_CAL.FiscalYear AS ReferenceFiscalYear,
  P_GLE_ADB_KFC_CAL.ReferenceDocumentType AS ReferenceDocumentType,
  P_GLE_ADB_KFC_CAL.CreationDateTime AS CreationDateTime,
  P_GLE_ADB_KFC_CAL.Segment AS Segment,
  I_CnsldtnUnit.ConsolidationDimension AS ConsolidationDimension,
  I_CnsldtnUnit.ConsolidationUnit AS ConsolidationUnit,
  I_CnsldtnVersion.ConsolidationVersion AS ConsolidationVersion,
  I_CnsldtnVersion.FSItemMappingVersion AS FSItemMappingVersion,
  I_CompanyCode.ChartOfAccounts AS ChartOfAccounts,
  I_CnsldtnVersion.ConsolidationLedger AS ConsolidationLedger,
  I_CnsldtnUnitByTimeVersion.CnsldtnUnitGroupCrcySource AS CnsldtnUnitGroupCrcySource,
  I_CnsldtnUnitByTimeVersion.CnsldtnUnitLocalCrcySource AS CnsldtnUnitLocalCrcySource,
  I_CnsldtnVersion.GroupCurrency AS GroupCurrency,
  I_FiscalCalendarDate.FiscalPeriod AS FiscalPeriod,
  I_FiscalCalendarDate.FiscalYear AS FiscalYear,
  I_CnsldtnUnitByTimeVersion.DocumentEntryIsInGroupCurrency AS DocumentEntryIsInGroupCurrency,
  P_GLE_ADB_KFC_CAL.AssignmentReference AS AssignmentReference,
  P_GLE_ADB_KFC_CAL.ControllingArea AS ControllingArea,
  P_GLE_ADB_KFC_CAL.PartnerCostCenter AS PartnerCostCenter,
  P_GLE_ADB_KFC_CAL.PartnerProfitCenter AS PartnerProfitCenter,
  P_GLE_ADB_KFC_CAL.PartnerFunctionalArea AS PartnerFunctionalArea,
  P_GLE_ADB_KFC_CAL.PartnerSegment AS PartnerSegment,
  P_GLE_ADB_KFC_CAL.OrderID AS OrderID,
  P_GLE_ADB_KFC_CAL.Customer AS Customer,
  P_GLE_ADB_KFC_CAL.Supplier AS Supplier,
  P_GLE_ADB_KFC_CAL.Material AS Material,
  P_GLE_ADB_KFC_CAL.MaterialGroup AS MaterialGroup,
  P_GLE_ADB_KFC_CAL.Plant AS Plant,
  P_GLE_ADB_KFC_CAL.WBSElementExternalID AS WBSElementExternalID,
  P_GLE_ADB_KFC_CAL.Project AS Project,
  P_GLE_ADB_KFC_CAL.BillingDocumentType AS BillingDocumentType,
  P_GLE_ADB_KFC_CAL.SalesOrganization AS SalesOrganization,
  P_GLE_ADB_KFC_CAL.DistributionChannel AS DistributionChannel,
  P_GLE_ADB_KFC_CAL.OrganizationDivision AS OrganizationDivision,
  P_GLE_ADB_KFC_CAL.SoldProduct AS SoldProduct,
  P_GLE_ADB_KFC_CAL.SoldProductGroup AS SoldProductGroup,
  P_GLE_ADB_KFC_CAL.CustomerGroup AS CustomerGroup,
  P_GLE_ADB_KFC_CAL.CustomerSupplierCountry AS CustomerSupplierCountry,
  P_GLE_ADB_KFC_CAL.CustomerSupplierIndustry AS CustomerSupplierIndustry,
  P_GLE_ADB_KFC_CAL.SalesDistrict AS SalesDistrict,
  P_GLE_ADB_KFC_CAL.BillToParty AS BillToParty,
  P_GLE_ADB_KFC_CAL.ShipToParty AS ShipToParty,
  P_GLE_ADB_KFC_CAL.CustomerSupplierCorporateGroup AS CustomerSupplierCorporateGroup,
  P_GLE_ADB_KFC_CAL.WBSElementInternalID AS WBSElementInternalID
FROM P_GLE_ADB_KFC_CAL
INNER JOIN I_CompanyCode ON /* join condition not captured in parsed metadata */
INNER JOIN I_CnsldtnUnit_3 ON /* join condition not captured in parsed metadata */
INNER JOIN I_CnsldtnUnitByTimeVersion ON /* join condition not captured in parsed metadata */
INNER JOIN I_CnsldtnVersion ON /* join condition not captured in parsed metadata */
INNER JOIN I_FiscalCalendarDate ON /* join condition not captured in parsed metadata */
;