P_GteeMBillingElementEntryOpen
GM Open Billing Element Entry Items
P_GteeMBillingElementEntryOpen is a Composite CDS View that provides data about "GM Open Billing Element Entry Items" in SAP S/4HANA. It reads from 1 data source (I_GteeMBillingElementEntry) and exposes 21 fields with key field GteeMBillgElmntEntrItmUUID. It has 1 association to related views. Part of development package PSM_S4C_GM_BILLING.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GteeMBillingElementEntry | BillingElementEntry | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_GteeMBillingElementEntryFlw | _BillingElementEntrFlwOne | $projection.GteeMBillgElmntEntrItmUUID = _BillingElementEntrFlwOne.GteeMBillgElmntEntrItmUUID and _BillingElementEntrFlwOne.DocumentBillingStatus <> 'D' |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGMGBEEOPEN | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GteeMBillgElmntEntrItmUUID | I_GteeMBillingElementEntry | GteeMBillgElmntEntrItmUUID | GMBE Entry UUID |
| GteeMBillingElementUUID | I_GteeMBillingElementEntry | GteeMBillingElementUUID | GMBE UUID | |
| GrantID | I_GteeMBillingElementEntry | GrantID | Sender Grant | |
| SponsoredProgram | I_GteeMBillingElementEntry | SponsoredProgram | Sponsored Program | |
| DocumentCurrency | I_GteeMBillingElementEntry | DocumentCurrency | Document Currency | |
| OriginalRevenueAmtInDocCrcy | I_GteeMBillingElementEntry | OriginalRevenueAmtInDocCrcy | Original Revenue | |
| ToBeWrittenOffAmtInDocCrcy | I_GteeMBillingElementEntry | ToBeWrittenOffAmtInDocCrcy | Amount to Be Written Off | |
| ToBePostponedAmtInDocCrcy | I_GteeMBillingElementEntry | ToBePostponedAmtInDocCrcy | Amount to Be Postponed | |
| Ledger | I_GteeMBillingElementEntry | Ledger | Ledger | |
| CompanyCode | I_GteeMBillingElementEntry | CompanyCode | Receiver Company Code | |
| FiscalYear | I_GteeMBillingElementEntry | FiscalYear | G/L Fiscal Year | |
| AccountingDocument | I_GteeMBillingElementEntry | AccountingDocument | Journal Entry | |
| LedgerGLLineItem | I_GteeMBillingElementEntry | LedgerGLLineItem | Journal Entry Item | |
| GteeMBillgElmntEntrCrtedByUsr | I_GteeMBillingElementEntry | GteeMBillgElmntEntrCrtedByUsr | GM Billing Element Entry: Created By | |
| GteeMBillgElmntEntrCrteDteTme | I_GteeMBillingElementEntry | GteeMBillgElmntEntrCrteDteTme | GM Billing Element Entry: Created On | |
| GteeMBillgElmntEntrChgdByUsr | I_GteeMBillingElementEntry | GteeMBillgElmntEntrChgdByUsr | GM Billing Element Entry: Changed By | |
| GteeMBillingElmntEntrChgDteTme | I_GteeMBillingElementEntry | GteeMBillingElmntEntrChgDteTme | GM Billing Element Entry: Changed On | |
| _Grant | I_GteeMBillingElementEntry | _Grant | ||
| _SponsoredProgramCore | I_GteeMBillingElementEntry | _SponsoredProgramCore | ||
| _GteeMBillingElementEntryFlw | I_GteeMBillingElementEntry | _GteeMBillingElementEntryFlw | ||
| _GteeMBillingElement | I_GteeMBillingElementEntry | _GteeMBillingElement |
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_GteeMBillingElementEntryOpen.
-- 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: PGMGBEEOPEN
CREATE VIEW P_GteeMBillingElementEntryOpen AS
SELECT
BillingElementEntry.GteeMBillgElmntEntrItmUUID AS GteeMBillgElmntEntrItmUUID,
BillingElementEntry.GteeMBillingElementUUID AS GteeMBillingElementUUID,
BillingElementEntry.GrantID AS GrantID,
BillingElementEntry.SponsoredProgram AS SponsoredProgram,
BillingElementEntry.DocumentCurrency AS DocumentCurrency,
BillingElementEntry.OriginalRevenueAmtInDocCrcy AS OriginalRevenueAmtInDocCrcy,
BillingElementEntry.ToBeWrittenOffAmtInDocCrcy AS ToBeWrittenOffAmtInDocCrcy,
BillingElementEntry.ToBePostponedAmtInDocCrcy AS ToBePostponedAmtInDocCrcy,
BillingElementEntry.Ledger AS Ledger,
BillingElementEntry.CompanyCode AS CompanyCode,
BillingElementEntry.FiscalYear AS FiscalYear,
BillingElementEntry.AccountingDocument AS AccountingDocument,
BillingElementEntry.LedgerGLLineItem AS LedgerGLLineItem,
BillingElementEntry.GteeMBillgElmntEntrCrtedByUsr AS GteeMBillgElmntEntrCrtedByUsr,
BillingElementEntry.GteeMBillgElmntEntrCrteDteTme AS GteeMBillgElmntEntrCrteDteTme,
BillingElementEntry.GteeMBillgElmntEntrChgdByUsr AS GteeMBillgElmntEntrChgdByUsr,
BillingElementEntry.GteeMBillingElmntEntrChgDteTme AS GteeMBillingElmntEntrChgDteTme,
BillingElementEntry._Grant AS _Grant,
BillingElementEntry._SponsoredProgramCore AS _SponsoredProgramCore,
BillingElementEntry._GteeMBillingElementEntryFlw AS _GteeMBillingElementEntryFlw,
BillingElementEntry._GteeMBillingElement AS _GteeMBillingElement
FROM I_GteeMBillingElementEntry AS BillingElementEntry
LEFT OUTER JOIN I_GteeMBillingElementEntryFlw AS _BillingElementEntrFlwOne ON GteeMBillgElmntEntrItmUUID = _BillingElementEntrFlwOne.GteeMBillgElmntEntrItmUUID AND _BillingElementEntrFlwOne.DocumentBillingStatus <> 'D' -- association [0..1]
;
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