P_GteeMBillingElementEntryOpen

DDL: P_GTEEMBILLINGELEMENTENTRYOPEN SQL: PGMGBEEOPEN Type: view COMPOSITE Package: PSM_S4C_GM_BILLING

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)

SourceAliasJoin Type
I_GteeMBillingElementEntry BillingElementEntry from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_GteeMBillingElementEntryFlw _BillingElementEntrFlwOne $projection.GteeMBillgElmntEntrItmUUID = _BillingElementEntrFlwOne.GteeMBillgElmntEntrItmUUID and _BillingElementEntrFlwOne.DocumentBillingStatus <> 'D'

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;