P_GteeMBillingElementEntryOpen
P_GteeMBillingElementEntryOpen is a Composite CDS View 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.
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 | |
| GteeMBillingElementUUID | I_GteeMBillingElementEntry | GteeMBillingElementUUID | ||
| GrantID | I_GteeMBillingElementEntry | GrantID | ||
| SponsoredProgram | I_GteeMBillingElementEntry | SponsoredProgram | ||
| DocumentCurrency | I_GteeMBillingElementEntry | DocumentCurrency | ||
| OriginalRevenueAmtInDocCrcy | I_GteeMBillingElementEntry | OriginalRevenueAmtInDocCrcy | ||
| ToBeWrittenOffAmtInDocCrcy | I_GteeMBillingElementEntry | ToBeWrittenOffAmtInDocCrcy | ||
| ToBePostponedAmtInDocCrcy | I_GteeMBillingElementEntry | ToBePostponedAmtInDocCrcy | ||
| Ledger | I_GteeMBillingElementEntry | Ledger | ||
| CompanyCode | I_GteeMBillingElementEntry | CompanyCode | ||
| FiscalYear | I_GteeMBillingElementEntry | FiscalYear | ||
| AccountingDocument | I_GteeMBillingElementEntry | AccountingDocument | ||
| LedgerGLLineItem | I_GteeMBillingElementEntry | LedgerGLLineItem | ||
| GteeMBillgElmntEntrCrtedByUsr | I_GteeMBillingElementEntry | GteeMBillgElmntEntrCrtedByUsr | ||
| GteeMBillgElmntEntrCrteDteTme | I_GteeMBillingElementEntry | GteeMBillgElmntEntrCrteDteTme | ||
| GteeMBillgElmntEntrChgdByUsr | I_GteeMBillingElementEntry | GteeMBillgElmntEntrChgdByUsr | ||
| GteeMBillingElmntEntrChgDteTme | I_GteeMBillingElementEntry | GteeMBillingElmntEntrChgDteTme | ||
| _Grant | I_GteeMBillingElementEntry | _Grant | ||
| _SponsoredProgramCore | I_GteeMBillingElementEntry | _SponsoredProgramCore | ||
| _GteeMBillingElementEntryFlw | I_GteeMBillingElementEntry | _GteeMBillingElementEntryFlw | ||
| _GteeMBillingElement | I_GteeMBillingElementEntry | _GteeMBillingElement |
@AbapCatalog.sqlViewName: 'PGMGBEEOPEN'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AbapCatalog.buffering.status: #NOT_ALLOWED
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@VDM.viewType: #COMPOSITE
@VDM.private:true
@ObjectModel: {
usageType: {
dataClass: #MIXED,
serviceQuality: #P,
sizeCategory: #XL
}
}
define view P_GteeMBillingElementEntryOpen
as select from I_GteeMBillingElementEntry as BillingElementEntry
association [0..1] to I_GteeMBillingElementEntryFlw as _BillingElementEntrFlwOne on $projection.GteeMBillgElmntEntrItmUUID = _BillingElementEntrFlwOne.GteeMBillgElmntEntrItmUUID
and _BillingElementEntrFlwOne.DocumentBillingStatus <> 'D'
{
key BillingElementEntry.GteeMBillgElmntEntrItmUUID as GteeMBillgElmntEntrItmUUID,
BillingElementEntry.GteeMBillingElementUUID as GteeMBillingElementUUID,
//Main Billing Account Assignments
@ObjectModel.foreignKey.association: '_Grant'
BillingElementEntry.GrantID as GrantID,
@ObjectModel.foreignKey.association: '_SponsoredProgramCore'
BillingElementEntry.SponsoredProgram as SponsoredProgram,
//Currencies
@Semantics.currencyCode: true
BillingElementEntry.DocumentCurrency as DocumentCurrency,
//Amounts
@Semantics.amount.currencyCode: 'DocumentCurrency'
BillingElementEntry.OriginalRevenueAmtInDocCrcy as OriginalRevenueAmtInDocCrcy,
@Semantics.amount.currencyCode: 'DocumentCurrency'
BillingElementEntry.ToBeWrittenOffAmtInDocCrcy as ToBeWrittenOffAmtInDocCrcy,
@Semantics.amount.currencyCode: 'DocumentCurrency'
BillingElementEntry.ToBePostponedAmtInDocCrcy as ToBePostponedAmtInDocCrcy,
//Journal Reference
BillingElementEntry.Ledger as Ledger,
BillingElementEntry.CompanyCode as CompanyCode,
BillingElementEntry.FiscalYear as FiscalYear,
BillingElementEntry.AccountingDocument as AccountingDocument,
BillingElementEntry.LedgerGLLineItem as LedgerGLLineItem,
//Admin fields
@Semantics.user.createdBy: true
BillingElementEntry.GteeMBillgElmntEntrCrtedByUsr as GteeMBillgElmntEntrCrtedByUsr,
@Semantics.systemTime.createdAt: true
BillingElementEntry.GteeMBillgElmntEntrCrteDteTme as GteeMBillgElmntEntrCrteDteTme,
@Semantics.user.lastChangedBy: true
BillingElementEntry.GteeMBillgElmntEntrChgdByUsr as GteeMBillgElmntEntrChgdByUsr,
@Semantics.systemTime.lastChangedAt: true
BillingElementEntry.GteeMBillingElmntEntrChgDteTme as GteeMBillingElmntEntrChgDteTme,
// Association
BillingElementEntry._Grant,
BillingElementEntry._SponsoredProgramCore,
BillingElementEntry._GteeMBillingElementEntryFlw,
BillingElementEntry._GteeMBillingElement
} where _BillingElementEntrFlwOne.GteeMBillgElmntEntrItmFlowUUID is null
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_GTEEMBILLINGELEMENTENTRY",
"I_GTEEMBILLINGELEMENTENTRYFLW"
],
"ASSOCIATED":
[
"I_GRANT",
"I_GTEEMBILLINGELEMENT",
"I_GTEEMBILLINGELEMENTENTRYFLW",
"I_SPONSOREDPROGRAMCORE"
],
"BASE":
[
"I_GTEEMBILLINGELEMENTENTRY"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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