P_GLE_ADB_GR_05
P_GLE_ADB_GR_05 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_GLE_ADB_GR_04) and exposes 60 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_GLE_ADB_GR_04 | P_GLE_ADB_GR_04 | from |
Parameters (12)
| Name | Type | Default |
|---|---|---|
| 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)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGLEADBGR_05 | 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 (60)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ConsolidationDimension | P_GLE_ADB_GR_04 | ConsolidationDimension | Dimension | |
| Ledger | P_GLE_ADB_GR_04 | Ledger | Ledger | |
| LedgerGLLineItem | P_GLE_ADB_GR_04 | LedgerGLLineItem | Journal Entry Item | |
| ConsolidationChartOfAccounts | P_GLE_ADB_GR_04 | ConsolidationChartOfAccounts | Cons. COA | |
| CompanyCode | P_GLE_ADB_GR_04 | CompanyCode | Receiver Company Code | |
| PartnerConsolidationUnit | P_GLE_ADB_GR_04 | PartnerConsolidationUnit | Partner Unit | |
| ConsolidationVersion | P_GLE_ADB_GR_04 | ConsolidationVersion | Version | |
| ConsolidationUnit | P_GLE_ADB_GR_04 | ConsolidationUnit | Consolidation Unit | |
| gjahr | P_GLE_ADB_GR_04 | gjahr | Settlement Year | |
| AccountingDocument | P_GLE_ADB_GR_04 | AccountingDocument | Journal Entry | |
| ConsolidationLedger | P_GLE_ADB_GR_04 | ConsolidationLedger | Ledger | |
| BalanceTransactionCurrency | P_GLE_ADB_GR_04 | BalanceTransactionCurrency | Currency | |
| BaseUnit | P_GLE_ADB_GR_04 | BaseUnit | Unit of Measure | |
| FiscalPeriod | P_GLE_ADB_GR_04 | FiscalPeriod | Tax period | |
| FiscalYear | P_GLE_ADB_GR_04 | FiscalYear | G/L Fiscal Year | |
| FinancialStatementItem | P_GLE_ADB_GR_04 | FinancialStatementItem | FS Item | |
| SubItemCategory | P_GLE_ADB_GR_04 | SubItemCategory | Subitem Category | |
| SubItem | P_GLE_ADB_GR_04 | SubItem | Subitem Number | |
| rlcurr | P_GLE_ADB_GR_04 | rlcurr | ||
| rgcurr | P_GLE_ADB_GR_04 | rgcurr | ||
| tsl_m | P_GLE_ADB_GR_04 | tsl_m | ||
| tsl_q | P_GLE_ADB_GR_04 | tsl_q | ||
| tsl_h | P_GLE_ADB_GR_04 | tsl_h | ||
| tsl_y | P_GLE_ADB_GR_04 | tsl_y | ||
| itgrp | P_GLE_ADB_GR_04 | itgrp | Breakdown Cat. | |
| DocumentEntryIsInGroupCurrency | P_GLE_ADB_GR_04 | DocumentEntryIsInGroupCurrency | ||
| ReferenceFiscalYear | P_GLE_ADB_GR_04 | ReferenceFiscalYear | Original FY | |
| AssignmentReference | P_GLE_ADB_GR_04 | AssignmentReference | Assignment Reference | |
| ControllingArea | P_GLE_ADB_GR_04 | ControllingArea | Controlling Area | |
| PartnerCostCenter | P_GLE_ADB_GR_04 | PartnerCostCenter | Sender Cost Ctr | |
| PartnerProfitCenter | P_GLE_ADB_GR_04 | PartnerProfitCenter | Profit Center | |
| PartnerFunctionalArea | P_GLE_ADB_GR_04 | PartnerFunctionalArea | Rec. Fntcl Area | |
| PartnerBusinessArea | P_GLE_ADB_GR_04 | PartnerBusinessArea | Trdg Part.BA | |
| PartnerCompany | P_GLE_ADB_GR_04 | PartnerCompany | Trading Partner | |
| PartnerSegment | P_GLE_ADB_GR_04 | PartnerSegment | Partner Segment | |
| OrderID | P_GLE_ADB_GR_04 | OrderID | Order ID | |
| Customer | P_GLE_ADB_GR_04 | Customer | Sold-to Party | |
| Supplier | P_GLE_ADB_GR_04 | Supplier | Supplier | |
| Material | P_GLE_ADB_GR_04 | Material | Vehicle Model | |
| MaterialGroup | P_GLE_ADB_GR_04 | MaterialGroup | Product Group | |
| Plant | P_GLE_ADB_GR_04 | Plant | Valuation Area | |
| WBSElementExternalID | P_GLE_ADB_GR_04 | WBSElementExternalID | WBS Element External ID | |
| Project | P_GLE_ADB_GR_04 | Project | WBS Element | |
| BillingDocumentType | P_GLE_ADB_GR_04 | BillingDocumentType | Billing Type | |
| SalesOrganization | P_GLE_ADB_GR_04 | SalesOrganization | Sales Organization | |
| DistributionChannel | P_GLE_ADB_GR_04 | DistributionChannel | RefDistCh-Cust/Mat. | |
| OrganizationDivision | P_GLE_ADB_GR_04 | OrganizationDivision | Org. Division | |
| SoldProduct | P_GLE_ADB_GR_04 | SoldProduct | Product Sold | |
| SoldProductGroup | P_GLE_ADB_GR_04 | SoldProductGroup | Product Sold Group | |
| CustomerGroup | P_GLE_ADB_GR_04 | CustomerGroup | Customer Group | |
| CustomerSupplierCountry | P_GLE_ADB_GR_04 | CustomerSupplierCountry | Customer or Supplier Country/Region | |
| CustomerSupplierIndustry | P_GLE_ADB_GR_04 | CustomerSupplierIndustry | Industry | |
| SalesDistrict | P_GLE_ADB_GR_04 | SalesDistrict | Sales District | |
| BillToParty | P_GLE_ADB_GR_04 | BillToParty | Inv. Recipient | |
| ShipToParty | P_GLE_ADB_GR_04 | ShipToParty | Ship-To Party (obsolete) | |
| CustomerSupplierCorporateGroup | P_GLE_ADB_GR_04 | CustomerSupplierCorporateGroup | Group | |
| WBSElementInternalID | P_GLE_ADB_GR_04 | WBSElementInternalID | WBS Internal ID | |
| ChartOfAccounts | P_GLE_ADB_GR_04 | ChartOfAccounts | Node Class | |
| CreationDateTime | P_GLE_ADB_GR_04 | CreationDateTime | Timestamp | |
| SourceLedger | P_GLE_ADB_GR_04 | SourceLedger | Source Ledger |
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_05.
-- 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_05
-- 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_05 AS
SELECT
P_GLE_ADB_GR_04.ConsolidationDimension AS ConsolidationDimension,
P_GLE_ADB_GR_04.Ledger AS Ledger,
P_GLE_ADB_GR_04.LedgerGLLineItem AS LedgerGLLineItem,
P_GLE_ADB_GR_04.ConsolidationChartOfAccounts AS ConsolidationChartOfAccounts,
P_GLE_ADB_GR_04.CompanyCode AS CompanyCode,
P_GLE_ADB_GR_04.PartnerConsolidationUnit AS PartnerConsolidationUnit,
P_GLE_ADB_GR_04.ConsolidationVersion AS ConsolidationVersion,
P_GLE_ADB_GR_04.ConsolidationUnit AS ConsolidationUnit,
P_GLE_ADB_GR_04.gjahr AS gjahr,
P_GLE_ADB_GR_04.AccountingDocument AS AccountingDocument,
P_GLE_ADB_GR_04.ConsolidationLedger AS ConsolidationLedger,
P_GLE_ADB_GR_04.BalanceTransactionCurrency AS BalanceTransactionCurrency,
P_GLE_ADB_GR_04.BaseUnit AS BaseUnit,
P_GLE_ADB_GR_04.FiscalPeriod AS FiscalPeriod,
P_GLE_ADB_GR_04.FiscalYear AS FiscalYear,
P_GLE_ADB_GR_04.FinancialStatementItem AS FinancialStatementItem,
P_GLE_ADB_GR_04.SubItemCategory AS SubItemCategory,
P_GLE_ADB_GR_04.SubItem AS SubItem,
P_GLE_ADB_GR_04.rlcurr AS rlcurr,
P_GLE_ADB_GR_04.rgcurr AS rgcurr,
P_GLE_ADB_GR_04.tsl_m AS tsl_m,
P_GLE_ADB_GR_04.tsl_q AS tsl_q,
P_GLE_ADB_GR_04.tsl_h AS tsl_h,
P_GLE_ADB_GR_04.tsl_y AS tsl_y,
P_GLE_ADB_GR_04.itgrp AS itgrp,
P_GLE_ADB_GR_04.DocumentEntryIsInGroupCurrency AS DocumentEntryIsInGroupCurrency,
P_GLE_ADB_GR_04.ReferenceFiscalYear AS ReferenceFiscalYear,
P_GLE_ADB_GR_04.AssignmentReference AS AssignmentReference,
P_GLE_ADB_GR_04.ControllingArea AS ControllingArea,
P_GLE_ADB_GR_04.PartnerCostCenter AS PartnerCostCenter,
P_GLE_ADB_GR_04.PartnerProfitCenter AS PartnerProfitCenter,
P_GLE_ADB_GR_04.PartnerFunctionalArea AS PartnerFunctionalArea,
P_GLE_ADB_GR_04.PartnerBusinessArea AS PartnerBusinessArea,
P_GLE_ADB_GR_04.PartnerCompany AS PartnerCompany,
P_GLE_ADB_GR_04.PartnerSegment AS PartnerSegment,
P_GLE_ADB_GR_04.OrderID AS OrderID,
P_GLE_ADB_GR_04.Customer AS Customer,
P_GLE_ADB_GR_04.Supplier AS Supplier,
P_GLE_ADB_GR_04.Material AS Material,
P_GLE_ADB_GR_04.MaterialGroup AS MaterialGroup,
P_GLE_ADB_GR_04.Plant AS Plant,
P_GLE_ADB_GR_04.WBSElementExternalID AS WBSElementExternalID,
P_GLE_ADB_GR_04.Project AS Project,
P_GLE_ADB_GR_04.BillingDocumentType AS BillingDocumentType,
P_GLE_ADB_GR_04.SalesOrganization AS SalesOrganization,
P_GLE_ADB_GR_04.DistributionChannel AS DistributionChannel,
P_GLE_ADB_GR_04.OrganizationDivision AS OrganizationDivision,
P_GLE_ADB_GR_04.SoldProduct AS SoldProduct,
P_GLE_ADB_GR_04.SoldProductGroup AS SoldProductGroup,
P_GLE_ADB_GR_04.CustomerGroup AS CustomerGroup,
P_GLE_ADB_GR_04.CustomerSupplierCountry AS CustomerSupplierCountry,
P_GLE_ADB_GR_04.CustomerSupplierIndustry AS CustomerSupplierIndustry,
P_GLE_ADB_GR_04.SalesDistrict AS SalesDistrict,
P_GLE_ADB_GR_04.BillToParty AS BillToParty,
P_GLE_ADB_GR_04.ShipToParty AS ShipToParty,
P_GLE_ADB_GR_04.CustomerSupplierCorporateGroup AS CustomerSupplierCorporateGroup,
P_GLE_ADB_GR_04.WBSElementInternalID AS WBSElementInternalID,
P_GLE_ADB_GR_04.ChartOfAccounts AS ChartOfAccounts,
P_GLE_ADB_GR_04.CreationDateTime AS CreationDateTime,
P_GLE_ADB_GR_04.SourceLedger AS SourceLedger
FROM P_GLE_ADB_GR_04
;
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