I_GteeMBillingElementEntry

DDL: I_GTEEMBILLINGELEMENTENTRY SQL: IGMBLGELMENTR Type: view BASIC Package: PSM_S4C_GM_BILLING

Entries for Grantee Mgmt Billing Element

I_GteeMBillingElementEntry is a Basic CDS View that provides data about "Entries for Grantee Mgmt Billing Element" in SAP S/4HANA. It reads from 1 data source (gmblgelmntentr) and exposes 58 fields with key field GteeMBillgElmntEntrItmUUID. It has 12 associations to related views. Part of development package PSM_S4C_GM_BILLING.

Data Sources (1)

SourceAliasJoin Type
gmblgelmntentr BillingElementEntry from

Associations (12)

CardinalityTargetAliasCondition
[1..1] I_GteeMBillingElement _GteeMBillingElement $projection.GteeMBillingElementUUID = _GteeMBillingElement.GteeMBillingElementUUID
[0..*] I_GteeMBillingElementEntryFlw _GteeMBillingElementEntryFlw $projection.GteeMBillgElmntEntrItmUUID = _GteeMBillingElementEntryFlw.GteeMBillgElmntEntrItmUUID
[0..1] I_SponsoredClassCore _SponsoredClassCore $projection.SponsoredClass = _SponsoredClassCore.SponsoredClass
[0..1] I_WBSElementBasicData _WBSElementBasicData $projection.WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID
[0..1] I_BudgetPeriod _BudgetPeriod $projection.BudgetPeriod = _BudgetPeriod.BudgetPeriod
[0..1] I_FunctionalArea _FunctionalArea $projection.FunctionalArea = _FunctionalArea.FunctionalArea
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..1] I_CostCenter _CostCenter $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CostCenter = _CostCenter.CostCenter and $projection.PostingDate >= _CostCenter.ValidityStartDate and $projection.PostingDate <= _CostCenter.ValidityEndDate
[0..1] I_FinancialManagementArea _FinancialManagementArea $projection.FinancialManagementArea = _FinancialManagementArea.FinancialManagementArea
[0..1] I_Fund _Fund $projection.FinancialManagementArea = _Fund.FinancialManagementArea and $projection.Fund = _Fund.Fund
[0..1] I_GteeMBillingPlanHeader _GteeMBillingPlanHeader $projection.GteeMBillingPlanHeaderUUID = _GteeMBillingPlanHeader.GteeMBillingPlanHeaderUUID
[0..1] I_GteeMBillingPlanItem _GteeMBillingPlanItem $projection.GteeMBillingPlanItemUUID = _GteeMBillingPlanItem.GteeMBillingPlanItemUUID

Annotations (13)

NameValueLevelField
EndUserText.label Entries for Grantee Mgmt Billing Element view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName IGMBLGELMENTR 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 GteeMBillgElmntEntrItmUUID view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (58)

KeyFieldSource TableSource FieldDescription
KEY GteeMBillgElmntEntrItmUUID gmblgelmntentr gteembillgelmntentritmuuid GMBE Entry UUID
GteeMBillingElementUUID gmblgelmntentr gteembillingelementuuid GMBE UUID
GrantID _GteeMBillingElement GrantID Sender Grant
SponsoredProgram _GteeMBillingElement SponsoredProgram Sponsored Program
TransactionCurrency gmblgelmntentr transactioncurrency Transaction Currency
CompanyCodeCurrency gmblgelmntentr companycodecurrency Local Currency
GlobalCurrency gmblgelmntentr globalcurrency GM Billing Element: Global Currency
GrantCurrency gmblgelmntentr grantcurrency Grant Currency
DocumentCurrency _GteeMBillingElement DocumentCurrency Document Currency
OriginalRevenueAmtInDocCrcy gmblgelmntentr originalrevenueamtindoccrcy Original Revenue
OriginalAmountInTransacCrcy gmblgelmntentr originalamountintransaccrcy Origl Amt Trans Crcy
OriginalAmountInCCCrcy gmblgelmntentr originalamountincccrcy Original Amount in Company Code Currency
OriginalAmountInGlobalCurrency gmblgelmntentr originalamountinglobalcurrency Original Amt InGCrcy
OriginalAmountInGrantCurrency gmblgelmntentr originalamountingrantcurrency
ToBeWrittenOffAmtInDocCrcy gmblgelmntentr tobewrittenoffamtindoccrcy Amount to Be Written Off
ToBePostponedAmtInDocCrcy gmblgelmntentr tobepostponedamtindoccrcy Amount to Be Postponed
OriginalRevenueAmtInGlobalCrcy gmblgelmntentr originalrevenueamtinglobalcrcy
ToBeWrittenOffAmtInGlobalCrcy gmblgelmntentr tobewrittenoffamtinglobalcrcy Amt ToWrtOff GlCrcy
ToBePostponedAmtInGlobalCrcy gmblgelmntentr tobepostponedamtinglobalcrcy Amt ToPostpn GlCrcy
OriginalRevenueAmtInGrantCrcy gmblgelmntentr originalrevenueamtingrantcrcy
ToBeWrittenOffAmtInGrantCrcy gmblgelmntentr tobewrittenoffamtingrantcrcy
ToBePostponedAmtInGrantCrcy gmblgelmntentr tobepostponedamtingrantcrcy
Ledger gmblgelmntentr ledger Ledger
CompanyCode gmblgelmntentr companycode Receiver Company Code
FiscalYear gmblgelmntentr fiscalyear G/L Fiscal Year
AccountingDocument gmblgelmntentr accountingdocument Journal Entry
LedgerGLLineItem gmblgelmntentr ledgergllineitem Journal Entry Item
SplitInformationSequenceNumber gmblgelmntentr splitinformationsequencenumber Sequence Number
PostingDate gmblgelmntentr postingdate Posting Date for GR
SponsoredClass gmblgelmntentr sponsoredclass Sponsored Class
GteeMBudgetValidityNumber gmblgelmntentr gteembudgetvaliditynumber Bdgt Validty No.
WBSElementInternalID gmblgelmntentr wbselementinternalid WBS Internal ID
ControllingArea gmblgelmntentr controllingarea Controlling Area
CostCenter gmblgelmntentr costcenter Cost Center
FinancialManagementArea gmblgelmntentr financialmanagementarea FM Area
Fund gmblgelmntentr fund Sender Fund
BudgetPeriod gmblgelmntentr budgetperiod Budget Period
FunctionalArea gmblgelmntentr functionalarea Sendr Fctl Area
GteeMBillingPlanHeaderUUID gmblgelmntentr gteembillingplanheaderuuid GMBPHD UUID
GteeMBillingPlanItemUUID gmblgelmntentr gteembillingplanitemuuid GMBPI UUID
GteeMBillgElmntEntrCrtedByUsr gmblgelmntentr gteembillgelmntentrcrtedbyusr GM Billing Element Entry: Created By
GteeMBillgElmntEntrCrteDteTme gmblgelmntentr gteembillgelmntentrcrtedtetme GM Billing Element Entry: Created On
GteeMBillgElmntEntrChgdByUsr gmblgelmntentr gteembillgelmntentrchgdbyusr GM Billing Element Entry: Changed By
GteeMBillingElmntEntrChgDteTme gmblgelmntentr gteembillingelmntentrchgdtetme GM Billing Element Entry: Changed On
_Grant _GteeMBillingElement _Grant
_SponsoredProgramCore _GteeMBillingElement _SponsoredProgramCore
_SponsoredClassCore _SponsoredClassCore
_WBSElementBasicData _WBSElementBasicData
_BudgetPeriod _BudgetPeriod
_FunctionalArea _FunctionalArea
_ControllingArea _ControllingArea
_CostCenter _CostCenter
_FinancialManagementArea _FinancialManagementArea
_Fund _Fund
_GteeMBillingPlanHeader _GteeMBillingPlanHeader
_GteeMBillingPlanItem _GteeMBillingPlanItem
_GteeMBillingElementEntryFlw _GteeMBillingElementEntryFlw
_GteeMBillingElement _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 I_GteeMBillingElementEntry.
-- 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: IGMBLGELMENTR

CREATE VIEW I_GteeMBillingElementEntry AS
SELECT
  BillingElementEntry.gteembillgelmntentritmuuid AS GteeMBillgElmntEntrItmUUID,
  BillingElementEntry.gteembillingelementuuid AS GteeMBillingElementUUID,
  _GteeMBillingElement.GrantID AS GrantID,
  _GteeMBillingElement.SponsoredProgram AS SponsoredProgram,
  BillingElementEntry.transactioncurrency AS TransactionCurrency,
  BillingElementEntry.companycodecurrency AS CompanyCodeCurrency,
  BillingElementEntry.globalcurrency AS GlobalCurrency,
  BillingElementEntry.grantcurrency AS GrantCurrency,
  _GteeMBillingElement.DocumentCurrency AS DocumentCurrency,
  BillingElementEntry.originalrevenueamtindoccrcy AS OriginalRevenueAmtInDocCrcy,
  BillingElementEntry.originalamountintransaccrcy AS OriginalAmountInTransacCrcy,
  BillingElementEntry.originalamountincccrcy AS OriginalAmountInCCCrcy,
  BillingElementEntry.originalamountinglobalcurrency AS OriginalAmountInGlobalCurrency,
  BillingElementEntry.originalamountingrantcurrency AS OriginalAmountInGrantCurrency,
  BillingElementEntry.tobewrittenoffamtindoccrcy AS ToBeWrittenOffAmtInDocCrcy,
  BillingElementEntry.tobepostponedamtindoccrcy AS ToBePostponedAmtInDocCrcy,
  BillingElementEntry.originalrevenueamtinglobalcrcy AS OriginalRevenueAmtInGlobalCrcy,
  BillingElementEntry.tobewrittenoffamtinglobalcrcy AS ToBeWrittenOffAmtInGlobalCrcy,
  BillingElementEntry.tobepostponedamtinglobalcrcy AS ToBePostponedAmtInGlobalCrcy,
  BillingElementEntry.originalrevenueamtingrantcrcy AS OriginalRevenueAmtInGrantCrcy,
  BillingElementEntry.tobewrittenoffamtingrantcrcy AS ToBeWrittenOffAmtInGrantCrcy,
  BillingElementEntry.tobepostponedamtingrantcrcy AS ToBePostponedAmtInGrantCrcy,
  BillingElementEntry.ledger AS Ledger,
  BillingElementEntry.companycode AS CompanyCode,
  BillingElementEntry.fiscalyear AS FiscalYear,
  BillingElementEntry.accountingdocument AS AccountingDocument,
  BillingElementEntry.ledgergllineitem AS LedgerGLLineItem,
  BillingElementEntry.splitinformationsequencenumber AS SplitInformationSequenceNumber,
  BillingElementEntry.postingdate AS PostingDate,
  BillingElementEntry.sponsoredclass AS SponsoredClass,
  BillingElementEntry.gteembudgetvaliditynumber AS GteeMBudgetValidityNumber,
  BillingElementEntry.wbselementinternalid AS WBSElementInternalID,
  BillingElementEntry.controllingarea AS ControllingArea,
  BillingElementEntry.costcenter AS CostCenter,
  BillingElementEntry.financialmanagementarea AS FinancialManagementArea,
  BillingElementEntry.fund AS Fund,
  BillingElementEntry.budgetperiod AS BudgetPeriod,
  BillingElementEntry.functionalarea AS FunctionalArea,
  BillingElementEntry.gteembillingplanheaderuuid AS GteeMBillingPlanHeaderUUID,
  BillingElementEntry.gteembillingplanitemuuid AS GteeMBillingPlanItemUUID,
  BillingElementEntry.gteembillgelmntentrcrtedbyusr AS GteeMBillgElmntEntrCrtedByUsr,
  BillingElementEntry.gteembillgelmntentrcrtedtetme AS GteeMBillgElmntEntrCrteDteTme,
  BillingElementEntry.gteembillgelmntentrchgdbyusr AS GteeMBillgElmntEntrChgdByUsr,
  BillingElementEntry.gteembillingelmntentrchgdtetme AS GteeMBillingElmntEntrChgDteTme,
  _GteeMBillingElement._Grant AS _Grant,
  _GteeMBillingElement._SponsoredProgramCore AS _SponsoredProgramCore
FROM gmblgelmntentr AS BillingElementEntry
LEFT OUTER JOIN I_GteeMBillingElement AS _GteeMBillingElement ON GteeMBillingElementUUID = _GteeMBillingElement.GteeMBillingElementUUID  -- association [1..1]
LEFT OUTER JOIN I_GteeMBillingElementEntryFlw AS _GteeMBillingElementEntryFlw ON GteeMBillgElmntEntrItmUUID = _GteeMBillingElementEntryFlw.GteeMBillgElmntEntrItmUUID  -- association [0..*]
LEFT OUTER JOIN I_SponsoredClassCore AS _SponsoredClassCore ON SponsoredClass = _SponsoredClassCore.SponsoredClass  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_BudgetPeriod AS _BudgetPeriod ON BudgetPeriod = _BudgetPeriod.BudgetPeriod  -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON ControllingArea = _CostCenter.ControllingArea AND CostCenter = _CostCenter.CostCenter AND PostingDate >= _CostCenter.ValidityStartDate AND PostingDate <= _CostCenter.ValidityEndDate  -- association [0..1]
LEFT OUTER JOIN I_FinancialManagementArea AS _FinancialManagementArea ON FinancialManagementArea = _FinancialManagementArea.FinancialManagementArea  -- association [0..1]
LEFT OUTER JOIN I_Fund AS _Fund ON FinancialManagementArea = _Fund.FinancialManagementArea AND Fund = _Fund.Fund  -- association [0..1]
LEFT OUTER JOIN I_GteeMBillingPlanHeader AS _GteeMBillingPlanHeader ON GteeMBillingPlanHeaderUUID = _GteeMBillingPlanHeader.GteeMBillingPlanHeaderUUID  -- association [0..1]
LEFT OUTER JOIN I_GteeMBillingPlanItem AS _GteeMBillingPlanItem ON GteeMBillingPlanItemUUID = _GteeMBillingPlanItem.GteeMBillingPlanItemUUID  -- association [0..1]
;