I_GteeMBillingElement

DDL: I_GTEEMBILLINGELEMENT SQL: IGMBILLGELMNT Type: view BASIC Package: PSM_S4C_GM_BILLING

Grantee Management Billing Element

I_GteeMBillingElement is a Basic CDS View that provides data about "Grantee Management Billing Element" in SAP S/4HANA. It reads from 1 data source (gmbillgelmnt) and exposes 13 fields with key field GteeMBillingElementUUID. It has 5 associations to related views. Part of development package PSM_S4C_GM_BILLING.

Data Sources (1)

SourceAliasJoin Type
gmbillgelmnt BillingElement from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_GteeMBillingElementEntry _GteeMBillingElementEntry $projection.GteeMBillingElementUUID = _GteeMBillingElementEntry.GteeMBillingElementUUID
[0..*] I_GteeMBillingRequestItem _GteeMBillingRequestItem $projection.GteeMBillingElementUUID = _GteeMBillingRequestItem.GteeMBillingElementUUID
[0..1] I_Grant _Grant $projection.GrantID = _Grant.GrantID
[0..1] I_SponsoredProgramCore _SponsoredProgramCore $projection.SponsoredProgram = _SponsoredProgramCore.SponsoredProgram
[0..1] I_Currency _DocumentCurrency $projection.DocumentCurrency = _DocumentCurrency.Currency

Annotations (13)

NameValueLevelField
EndUserText.label Grantee Management Billing Element view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName IGMBILLGELMNT view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey GteeMBillingElementUUID view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY GteeMBillingElementUUID gmbillgelmnt gteembillingelementuuid GMBE UUID
GrantID gmbillgelmnt grantid Sender Grant
SponsoredProgram gmbillgelmnt sponsoredprogram Sponsored Program
DocumentCurrency gmbillgelmnt documentcurrency Document Currency
GteeMBillgElmntCreatedByUser gmbillgelmnt gteembillgelmntcreatedbyuser GM Billing Element: Created By
GteeMBillgElmntCreatedAtDteTme gmbillgelmnt gteembillgelmntcreatedatdtetme GM Billing Element: Created On
GteeMBillgElmntLastChgdByUser gmbillgelmnt gteembillgelmntlastchgdbyuser GM: Billing Element: Changed By
GteeMBillgElmntLastChgDteTme gmbillgelmnt gteembillgelmntlastchgdtetme GM: Billing Element: Changed On
_Grant _Grant
_SponsoredProgramCore _SponsoredProgramCore
_DocumentCurrency _DocumentCurrency
_GteeMBillingRequestItem _GteeMBillingRequestItem
_GteeMBillingElementEntry _GteeMBillingElementEntry

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 I_GteeMBillingElement.
-- 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: IGMBILLGELMNT

CREATE VIEW I_GteeMBillingElement AS
SELECT
  BillingElement.gteembillingelementuuid AS GteeMBillingElementUUID,
  BillingElement.grantid AS GrantID,
  BillingElement.sponsoredprogram AS SponsoredProgram,
  BillingElement.documentcurrency AS DocumentCurrency,
  BillingElement.gteembillgelmntcreatedbyuser AS GteeMBillgElmntCreatedByUser,
  BillingElement.gteembillgelmntcreatedatdtetme AS GteeMBillgElmntCreatedAtDteTme,
  BillingElement.gteembillgelmntlastchgdbyuser AS GteeMBillgElmntLastChgdByUser,
  BillingElement.gteembillgelmntlastchgdtetme AS GteeMBillgElmntLastChgDteTme
FROM gmbillgelmnt AS BillingElement
LEFT OUTER JOIN I_GteeMBillingElementEntry AS _GteeMBillingElementEntry ON GteeMBillingElementUUID = _GteeMBillingElementEntry.GteeMBillingElementUUID  -- association [0..*]
LEFT OUTER JOIN I_GteeMBillingRequestItem AS _GteeMBillingRequestItem ON GteeMBillingElementUUID = _GteeMBillingRequestItem.GteeMBillingElementUUID  -- association [0..*]
LEFT OUTER JOIN I_Grant AS _Grant ON GrantID = _Grant.GrantID  -- association [0..1]
LEFT OUTER JOIN I_SponsoredProgramCore AS _SponsoredProgramCore ON SponsoredProgram = _SponsoredProgramCore.SponsoredProgram  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DocumentCurrency ON DocumentCurrency = _DocumentCurrency.Currency  -- association [0..1]
;