P_GLE_ADB_GR_02
P_GLE_ADB_GR_02 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_GLE_ADB_GR_01) and exposes 107 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_GLE_ADB_GR_01 | P_GLE_ADB_GR_01 | 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_02 | 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 (107)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| FinancialStatementItem | I_FSItemMappingAssgmtWithVers | FinancialStatementItem | FS Item | |
| ConsolidationChartOfAccounts | I_FSItemMappingAssgmtWithVers | ConsolidationChartOfAccounts | Cons. COA | |
| PartnerConsolidationUnit | ||||
| rgcurr | P_GLE_ADB_GR_01 | GroupCurrency | Ledger curr. | |
| rlcurr | I_CnsldtnUnitByTime | ConsolidationUnitLocalCurrency | ||
| ConsolidationDimension | P_GLE_ADB_GR_01 | ConsolidationDimension | Dimension | |
| Ledger | P_GLE_ADB_GR_01 | Ledger | Ledger | |
| LedgerGLLineItem | P_GLE_ADB_GR_01 | LedgerGLLineItem | Journal Entry Item | |
| CompanyCode | P_GLE_ADB_GR_01 | CompanyCode | Receiver Company Code | |
| PartnerCompany | P_GLE_ADB_GR_01 | PartnerCompany | Trading Partner | |
| ConsolidationVersion | P_GLE_ADB_GR_01 | ConsolidationVersion | Version | |
| ConsolidationUnit | P_GLE_ADB_GR_01 | ConsolidationUnit | Consolidation Unit | |
| AccountingDocument | P_GLE_ADB_GR_01 | AccountingDocument | Journal Entry | |
| PartnerBusinessArea | P_GLE_ADB_GR_01 | PartnerBusinessArea | Trdg Part.BA | |
| ConsolidationLedger | P_GLE_ADB_GR_01 | ConsolidationLedger | Ledger | |
| BalanceTransactionCurrency | P_GLE_ADB_GR_01 | BalanceTransactionCurrency | Currency | |
| BaseUnit | P_GLE_ADB_GR_01 | BaseUnit | Unit of Measure | |
| FiscalPeriod | P_GLE_ADB_GR_01 | FiscalPeriod | Tax period | |
| FiscalYear | P_GLE_ADB_GR_01 | FiscalYear | G/L Fiscal Year | |
| FinancialTransactionType | P_GLE_ADB_GR_01 | FinancialTransactionType | Transact. Type | |
| FunctionalArea | P_GLE_ADB_GR_01 | FunctionalArea | Sendr Fctl Area | |
| CostCenter | P_GLE_ADB_GR_01 | CostCenter | Cost Center | |
| ProfitCenter | P_GLE_ADB_GR_01 | ProfitCenter | Profit Center | |
| BusinessArea | P_GLE_ADB_GR_01 | BusinessArea | Business Area | |
| AccountingDocumentType | P_GLE_ADB_GR_01 | AccountingDocumentType | Journal Entry Type | |
| gjahr | P_GLE_ADB_GR_01 | gjahr | Settlement Year | |
| GLAccount | P_GLE_ADB_GR_01 | GLAccount | General Ledger | |
| tsl_m | P_GLE_ADB_GR_01 | tsl_m | MTD TranCrcy | |
| tsl_q | P_GLE_ADB_GR_01 | tsl_q | QTD TranCrcy | |
| tsl_h | P_GLE_ADB_GR_01 | tsl_h | ||
| tsl_y | P_GLE_ADB_GR_01 | tsl_y | YTD TranCrcy | |
| hsl_m | P_GLE_ADB_GR_01 | hsl_m | MTD CC Crcy | |
| hsl_q | P_GLE_ADB_GR_01 | hsl_q | QTD CC Crcy | |
| hsl_h | P_GLE_ADB_GR_01 | hsl_h | ||
| hsl_y | P_GLE_ADB_GR_01 | hsl_y | YTD CC Crcy | |
| ksl_m | P_GLE_ADB_GR_01 | ksl_m | MTD GloCrcy | |
| ksl_q | P_GLE_ADB_GR_01 | ksl_q | QTD GloCrcy | |
| ksl_h | P_GLE_ADB_GR_01 | ksl_h | ||
| ksl_y | P_GLE_ADB_GR_01 | ksl_y | YTD GloCrcy | |
| osl_m | P_GLE_ADB_GR_01 | osl_m | MTD FrDefCrcy1 | |
| osl_q | P_GLE_ADB_GR_01 | osl_q | QTD FrDefCrcy1 | |
| osl_h | P_GLE_ADB_GR_01 | osl_h | ||
| osl_y | P_GLE_ADB_GR_01 | osl_y | YTD FrDefCrcy1 | |
| vsl_m | P_GLE_ADB_GR_01 | vsl_m | MTD FrDefCrcy2 | |
| vsl_q | P_GLE_ADB_GR_01 | vsl_q | QTD FrDefCrcy2 | |
| vsl_h | P_GLE_ADB_GR_01 | vsl_h | ||
| vsl_y | P_GLE_ADB_GR_01 | vsl_y | YTD FrDefCrcy2 | |
| bsl_m | P_GLE_ADB_GR_01 | bsl_m | MTD FrDefCrcy3 | |
| bsl_q | P_GLE_ADB_GR_01 | bsl_q | QTD FrDefCrcy3 | |
| bsl_h | P_GLE_ADB_GR_01 | bsl_h | ||
| bsl_y | P_GLE_ADB_GR_01 | bsl_y | YTD FrDefCrcy3 | |
| csl_m | P_GLE_ADB_GR_01 | csl_m | MTD FrDefCrcy4 | |
| csl_q | P_GLE_ADB_GR_01 | csl_q | QTD FrDefCrcy4 | |
| csl_h | P_GLE_ADB_GR_01 | csl_h | ||
| csl_y | P_GLE_ADB_GR_01 | csl_y | YTD FrDefCrcy4 | |
| dsl_m | P_GLE_ADB_GR_01 | dsl_m | MTD FrDefCrcy5 | |
| dsl_q | P_GLE_ADB_GR_01 | dsl_q | QTD FrDefCrcy5 | |
| dsl_h | P_GLE_ADB_GR_01 | dsl_h | ||
| dsl_y | P_GLE_ADB_GR_01 | dsl_y | YTD FrDefCrcy5 | |
| esl_m | P_GLE_ADB_GR_01 | esl_m | MTD FrDefCrcy6 | |
| esl_q | P_GLE_ADB_GR_01 | esl_q | QTD FrDefCrcy6 | |
| esl_h | P_GLE_ADB_GR_01 | esl_h | ||
| esl_y | P_GLE_ADB_GR_01 | esl_y | YTD FrDefCrcy6 | |
| fsl_m | P_GLE_ADB_GR_01 | fsl_m | MTD FrDefCrcy7 | |
| fsl_q | P_GLE_ADB_GR_01 | fsl_q | QTD FrDefCrcy7 | |
| fsl_h | P_GLE_ADB_GR_01 | fsl_h | ||
| fsl_y | P_GLE_ADB_GR_01 | fsl_y | YTD FrDefCrcy7 | |
| gsl_m | P_GLE_ADB_GR_01 | gsl_m | MTD FrDefCrcy8 | |
| gsl_q | P_GLE_ADB_GR_01 | gsl_q | QTD FrDefCrcy8 | |
| gsl_h | P_GLE_ADB_GR_01 | gsl_h | ||
| gsl_y | P_GLE_ADB_GR_01 | gsl_y | YTD FrDefCrcy8 | |
| ReferenceFiscalYear | P_GLE_ADB_GR_01 | ReferenceFiscalYear | Original FY | |
| CnsldtnUnitGroupCrcySource | P_GLE_ADB_GR_01 | CnsldtnUnitGroupCrcySource | ||
| GroupCurrency | P_GLE_ADB_GR_01 | GroupCurrency | Ledger curr. | |
| DocumentEntryIsInGroupCurrency | P_GLE_ADB_GR_01 | DocumentEntryIsInGroupCurrency | ||
| Segment | P_GLE_ADB_GR_01 | Segment | Segment number | |
| AssignmentReference | P_GLE_ADB_GR_01 | AssignmentReference | Assignment Reference | |
| ControllingArea | P_GLE_ADB_GR_01 | ControllingArea | Controlling Area | |
| PartnerCostCenter | P_GLE_ADB_GR_01 | PartnerCostCenter | Sender Cost Ctr | |
| PartnerProfitCenter | P_GLE_ADB_GR_01 | PartnerProfitCenter | Profit Center | |
| PartnerFunctionalArea | P_GLE_ADB_GR_01 | PartnerFunctionalArea | Rec. Fntcl Area | |
| PartnerSegment | P_GLE_ADB_GR_01 | PartnerSegment | Partner Segment | |
| OrderID | P_GLE_ADB_GR_01 | OrderID | Order ID | |
| Customer | P_GLE_ADB_GR_01 | Customer | Sold-to Party | |
| Supplier | P_GLE_ADB_GR_01 | Supplier | Supplier | |
| Material | P_GLE_ADB_GR_01 | Material | Vehicle Model | |
| MaterialGroup | P_GLE_ADB_GR_01 | MaterialGroup | Product Group | |
| Plant | P_GLE_ADB_GR_01 | Plant | Valuation Area | |
| WBSElementExternalID | P_GLE_ADB_GR_01 | WBSElementExternalID | WBS Element External ID | |
| Project | P_GLE_ADB_GR_01 | Project | WBS Element | |
| BillingDocumentType | P_GLE_ADB_GR_01 | BillingDocumentType | Billing Type | |
| SalesOrganization | P_GLE_ADB_GR_01 | SalesOrganization | Sales Organization | |
| DistributionChannel | P_GLE_ADB_GR_01 | DistributionChannel | RefDistCh-Cust/Mat. | |
| OrganizationDivision | P_GLE_ADB_GR_01 | OrganizationDivision | Org. Division | |
| SoldProduct | P_GLE_ADB_GR_01 | SoldProduct | Product Sold | |
| SoldProductGroup | P_GLE_ADB_GR_01 | SoldProductGroup | Product Sold Group | |
| CustomerGroup | P_GLE_ADB_GR_01 | CustomerGroup | Customer Group | |
| CustomerSupplierCountry | P_GLE_ADB_GR_01 | CustomerSupplierCountry | Customer or Supplier Country/Region | |
| CustomerSupplierIndustry | P_GLE_ADB_GR_01 | CustomerSupplierIndustry | Industry | |
| SalesDistrict | P_GLE_ADB_GR_01 | SalesDistrict | Sales District | |
| BillToParty | P_GLE_ADB_GR_01 | BillToParty | Inv. Recipient | |
| ShipToParty | P_GLE_ADB_GR_01 | ShipToParty | Ship-To Party (obsolete) | |
| CustomerSupplierCorporateGroup | P_GLE_ADB_GR_01 | CustomerSupplierCorporateGroup | Group | |
| WBSElementInternalID | P_GLE_ADB_GR_01 | WBSElementInternalID | WBS Internal ID | |
| ChartOfAccounts | P_GLE_ADB_GR_01 | ChartOfAccounts | Node Class | |
| CreationDateTime | P_GLE_ADB_GR_01 | CreationDateTime | Timestamp | |
| SourceLedger | P_GLE_ADB_GR_01 | 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_02.
-- 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_02
-- 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_02 AS
SELECT
I_FSItemMappingAssgmtWithVers.FinancialStatementItem AS FinancialStatementItem,
I_FSItemMappingAssgmtWithVers.ConsolidationChartOfAccounts AS ConsolidationChartOfAccounts,
coalesce(I_CnsldtnUnit.ConsolidationUnit,'') AS PartnerConsolidationUnit,
P_GLE_ADB_GR_01.GroupCurrency AS rgcurr,
I_CnsldtnUnitByTime.ConsolidationUnitLocalCurrency AS rlcurr,
P_GLE_ADB_GR_01.ConsolidationDimension AS ConsolidationDimension,
P_GLE_ADB_GR_01.Ledger AS Ledger,
P_GLE_ADB_GR_01.LedgerGLLineItem AS LedgerGLLineItem,
P_GLE_ADB_GR_01.CompanyCode AS CompanyCode,
P_GLE_ADB_GR_01.PartnerCompany AS PartnerCompany,
P_GLE_ADB_GR_01.ConsolidationVersion AS ConsolidationVersion,
P_GLE_ADB_GR_01.ConsolidationUnit AS ConsolidationUnit,
P_GLE_ADB_GR_01.AccountingDocument AS AccountingDocument,
P_GLE_ADB_GR_01.PartnerBusinessArea AS PartnerBusinessArea,
P_GLE_ADB_GR_01.ConsolidationLedger AS ConsolidationLedger,
P_GLE_ADB_GR_01.BalanceTransactionCurrency AS BalanceTransactionCurrency,
P_GLE_ADB_GR_01.BaseUnit AS BaseUnit,
P_GLE_ADB_GR_01.FiscalPeriod AS FiscalPeriod,
P_GLE_ADB_GR_01.FiscalYear AS FiscalYear,
P_GLE_ADB_GR_01.FinancialTransactionType AS FinancialTransactionType,
P_GLE_ADB_GR_01.FunctionalArea AS FunctionalArea,
P_GLE_ADB_GR_01.CostCenter AS CostCenter,
P_GLE_ADB_GR_01.ProfitCenter AS ProfitCenter,
P_GLE_ADB_GR_01.BusinessArea AS BusinessArea,
P_GLE_ADB_GR_01.AccountingDocumentType AS AccountingDocumentType,
P_GLE_ADB_GR_01.gjahr AS gjahr,
P_GLE_ADB_GR_01.GLAccount AS GLAccount,
P_GLE_ADB_GR_01.tsl_m AS tsl_m,
P_GLE_ADB_GR_01.tsl_q AS tsl_q,
P_GLE_ADB_GR_01.tsl_h AS tsl_h,
P_GLE_ADB_GR_01.tsl_y AS tsl_y,
P_GLE_ADB_GR_01.hsl_m AS hsl_m,
P_GLE_ADB_GR_01.hsl_q AS hsl_q,
P_GLE_ADB_GR_01.hsl_h AS hsl_h,
P_GLE_ADB_GR_01.hsl_y AS hsl_y,
P_GLE_ADB_GR_01.ksl_m AS ksl_m,
P_GLE_ADB_GR_01.ksl_q AS ksl_q,
P_GLE_ADB_GR_01.ksl_h AS ksl_h,
P_GLE_ADB_GR_01.ksl_y AS ksl_y,
P_GLE_ADB_GR_01.osl_m AS osl_m,
P_GLE_ADB_GR_01.osl_q AS osl_q,
P_GLE_ADB_GR_01.osl_h AS osl_h,
P_GLE_ADB_GR_01.osl_y AS osl_y,
P_GLE_ADB_GR_01.vsl_m AS vsl_m,
P_GLE_ADB_GR_01.vsl_q AS vsl_q,
P_GLE_ADB_GR_01.vsl_h AS vsl_h,
P_GLE_ADB_GR_01.vsl_y AS vsl_y,
P_GLE_ADB_GR_01.bsl_m AS bsl_m,
P_GLE_ADB_GR_01.bsl_q AS bsl_q,
P_GLE_ADB_GR_01.bsl_h AS bsl_h,
P_GLE_ADB_GR_01.bsl_y AS bsl_y,
P_GLE_ADB_GR_01.csl_m AS csl_m,
P_GLE_ADB_GR_01.csl_q AS csl_q,
P_GLE_ADB_GR_01.csl_h AS csl_h,
P_GLE_ADB_GR_01.csl_y AS csl_y,
P_GLE_ADB_GR_01.dsl_m AS dsl_m,
P_GLE_ADB_GR_01.dsl_q AS dsl_q,
P_GLE_ADB_GR_01.dsl_h AS dsl_h,
P_GLE_ADB_GR_01.dsl_y AS dsl_y,
P_GLE_ADB_GR_01.esl_m AS esl_m,
P_GLE_ADB_GR_01.esl_q AS esl_q,
P_GLE_ADB_GR_01.esl_h AS esl_h,
P_GLE_ADB_GR_01.esl_y AS esl_y,
P_GLE_ADB_GR_01.fsl_m AS fsl_m,
P_GLE_ADB_GR_01.fsl_q AS fsl_q,
P_GLE_ADB_GR_01.fsl_h AS fsl_h,
P_GLE_ADB_GR_01.fsl_y AS fsl_y,
P_GLE_ADB_GR_01.gsl_m AS gsl_m,
P_GLE_ADB_GR_01.gsl_q AS gsl_q,
P_GLE_ADB_GR_01.gsl_h AS gsl_h,
P_GLE_ADB_GR_01.gsl_y AS gsl_y,
P_GLE_ADB_GR_01.ReferenceFiscalYear AS ReferenceFiscalYear,
P_GLE_ADB_GR_01.CnsldtnUnitGroupCrcySource AS CnsldtnUnitGroupCrcySource,
P_GLE_ADB_GR_01.GroupCurrency AS GroupCurrency,
P_GLE_ADB_GR_01.DocumentEntryIsInGroupCurrency AS DocumentEntryIsInGroupCurrency,
P_GLE_ADB_GR_01.Segment AS Segment,
P_GLE_ADB_GR_01.AssignmentReference AS AssignmentReference,
P_GLE_ADB_GR_01.ControllingArea AS ControllingArea,
P_GLE_ADB_GR_01.PartnerCostCenter AS PartnerCostCenter,
P_GLE_ADB_GR_01.PartnerProfitCenter AS PartnerProfitCenter,
P_GLE_ADB_GR_01.PartnerFunctionalArea AS PartnerFunctionalArea,
P_GLE_ADB_GR_01.PartnerSegment AS PartnerSegment,
P_GLE_ADB_GR_01.OrderID AS OrderID,
P_GLE_ADB_GR_01.Customer AS Customer,
P_GLE_ADB_GR_01.Supplier AS Supplier,
P_GLE_ADB_GR_01.Material AS Material,
P_GLE_ADB_GR_01.MaterialGroup AS MaterialGroup,
P_GLE_ADB_GR_01.Plant AS Plant,
P_GLE_ADB_GR_01.WBSElementExternalID AS WBSElementExternalID,
P_GLE_ADB_GR_01.Project AS Project,
P_GLE_ADB_GR_01.BillingDocumentType AS BillingDocumentType,
P_GLE_ADB_GR_01.SalesOrganization AS SalesOrganization,
P_GLE_ADB_GR_01.DistributionChannel AS DistributionChannel,
P_GLE_ADB_GR_01.OrganizationDivision AS OrganizationDivision,
P_GLE_ADB_GR_01.SoldProduct AS SoldProduct,
P_GLE_ADB_GR_01.SoldProductGroup AS SoldProductGroup,
P_GLE_ADB_GR_01.CustomerGroup AS CustomerGroup,
P_GLE_ADB_GR_01.CustomerSupplierCountry AS CustomerSupplierCountry,
P_GLE_ADB_GR_01.CustomerSupplierIndustry AS CustomerSupplierIndustry,
P_GLE_ADB_GR_01.SalesDistrict AS SalesDistrict,
P_GLE_ADB_GR_01.BillToParty AS BillToParty,
P_GLE_ADB_GR_01.ShipToParty AS ShipToParty,
P_GLE_ADB_GR_01.CustomerSupplierCorporateGroup AS CustomerSupplierCorporateGroup,
P_GLE_ADB_GR_01.WBSElementInternalID AS WBSElementInternalID,
P_GLE_ADB_GR_01.ChartOfAccounts AS ChartOfAccounts,
P_GLE_ADB_GR_01.CreationDateTime AS CreationDateTime,
P_GLE_ADB_GR_01.SourceLedger AS SourceLedger
FROM P_GLE_ADB_GR_01
;
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