P_GteeMBillgItmsRRBNotBilledR3
GM Billing - Resource Related Billing - Not Billed - Rule 3
P_GteeMBillgItmsRRBNotBilledR3 is a Composite CDS View that provides data about "GM Billing - Resource Related Billing - Not Billed - Rule 3" in SAP S/4HANA. It reads from 2 data sources (I_GLAccountLineItem, I_GteeMBillingElementEntry) and exposes 29 fields with key fields Ledger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 2 associations to related views. Part of development package PSM_S4C_GM_BILLING.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItem | AcItem | from |
| I_GteeMBillingElementEntry | GBEE | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_GteeMBillingElmntEntrFlwAgg2 | _BillingElementEntryFlwAgg2 | $projection.GteeMBillgElmntEntrItmUUID = _BillingElementEntryFlwAgg2.GteeMBillgElmntEntrItmUUID |
| [0..1] | I_GteeMBillingSplitInfo | FISplitInfo | FISplitInfo.AccountingDocument = AcItem.AccountingDocument and FISplitInfo.FiscalYear = AcItem.FiscalYear and FISplitInfo.CompanyCode = AcItem.CompanyCode and FISplitInfo.AccountingDocumentItem = AcItem.AccountingDocumentItem and FISplitInfo.SplitInformationSequenceNumber = GBEE.SplitInformationSequenceNumber and FISplitInfo.GrantID = GBEE.GrantID and FISplitInfo.SponsoredProgram = GBEE.SponsoredProgram |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGMGBRRBNOTB3 | 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 (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | I_GLAccountLineItem | Ledger | Ledger |
| KEY | CompanyCode | I_GLAccountLineItem | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | I_GLAccountLineItem | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | I_GLAccountLineItem | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | I_GLAccountLineItem | LedgerGLLineItem | Journal Entry Item |
| KEY | SplitInformationSequenceNumber | FISplitInfo | SplitInformationSequenceNumber | Sequence Number |
| KEY | GteeMBillgElmntEntrItmUUID | I_GteeMBillingElementEntry | GteeMBillgElmntEntrItmUUID | GMBE Entry UUID |
| GteeMBillingPlanItemUUID | I_GteeMBillingElementEntry | GteeMBillingPlanItemUUID | GMBPI UUID | |
| ReferenceDocumentType | I_GLAccountLineItem | ReferenceDocumentType | Reference Document Type | |
| ReferenceDocument | I_GLAccountLineItem | ReferenceDocument | Reference Document | |
| ReferenceDocumentItem | I_GLAccountLineItem | ReferenceDocumentItem | Reference item | |
| GrantID | I_GLAccountLineItem | GrantID | Sender Grant | |
| SponsoredProgram | I_GteeMBillingElementEntry | SponsoredProgram | Sponsored Program | |
| SponsoredClass | FISplitInfo | SponsoredClass | Sponsored Class | |
| FinancialManagementArea | I_GLAccountLineItem | FinancialManagementArea | FM Area | |
| Fund | I_GLAccountLineItem | Fund | Sender Fund | |
| CreationDate | I_GLAccountLineItem | CreationDate | Time Stamp | |
| PubSecBudgetCnsmpnType | I_GLAccountLineItem | PubSecBudgetCnsmpnType | Budget Consumption Type | |
| PubSecBudgetCnsmpnDate | I_GLAccountLineItem | PubSecBudgetCnsmpnDate | ||
| DocumentCurrency | I_GteeMBillingElementEntry | DocumentCurrency | Document Currency | |
| GlobalCurrency | I_GteeMBillingElementEntry | GlobalCurrency | GM Billing Element: Global Currency | |
| BilledRevenueAmtInDocCrcy | ||||
| NotPaidRevenueAmtInDocCrcy | ||||
| PaidRevenueAmtInDocCrcy | ||||
| BilledRevenueAmtInGlobCrcy | ||||
| NotPaidRevenueAmtInGCrcy | ||||
| PaidRevenueAmtInGlobalCrcy | ||||
| _Grant | I_GLAccountLineItem | _Grant | ||
| _SponsoredProgram | I_GteeMBillingElementEntry | _SponsoredProgramCore |
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_GteeMBillgItmsRRBNotBilledR3.
-- 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: PGMGBRRBNOTB3
CREATE VIEW P_GteeMBillgItmsRRBNotBilledR3 AS
SELECT
AcItem.Ledger AS Ledger,
AcItem.CompanyCode AS CompanyCode,
AcItem.FiscalYear AS FiscalYear,
AcItem.AccountingDocument AS AccountingDocument,
AcItem.LedgerGLLineItem AS LedgerGLLineItem,
FISplitInfo.SplitInformationSequenceNumber AS SplitInformationSequenceNumber,
GBEE.GteeMBillgElmntEntrItmUUID AS GteeMBillgElmntEntrItmUUID,
GBEE.GteeMBillingPlanItemUUID AS GteeMBillingPlanItemUUID,
AcItem.ReferenceDocumentType AS ReferenceDocumentType,
AcItem.ReferenceDocument AS ReferenceDocument,
AcItem.ReferenceDocumentItem AS ReferenceDocumentItem,
AcItem.GrantID AS GrantID,
GBEE.SponsoredProgram AS SponsoredProgram,
FISplitInfo.SponsoredClass AS SponsoredClass,
AcItem.FinancialManagementArea AS FinancialManagementArea,
AcItem.Fund AS Fund,
AcItem.CreationDate AS CreationDate,
AcItem.PubSecBudgetCnsmpnType AS PubSecBudgetCnsmpnType,
AcItem.PubSecBudgetCnsmpnDate AS PubSecBudgetCnsmpnDate,
GBEE.DocumentCurrency AS DocumentCurrency,
GBEE.GlobalCurrency AS GlobalCurrency,
cast( '0' as gmbe_billedrevnindoccrcy ) AS BilledRevenueAmtInDocCrcy,
cast( '0' as gmbe_notpaidrevnamtindoccrcy ) AS NotPaidRevenueAmtInDocCrcy,
cast( '0' as gmbe_paidrevnindoccrcy ) AS PaidRevenueAmtInDocCrcy,
cast( '0' as gmbee_billedrevninglobcrcy ) AS BilledRevenueAmtInGlobCrcy,
cast( '0' as gmbe_notpaidrevnamtingcrcy ) AS NotPaidRevenueAmtInGCrcy,
cast( '0' as gmbe_paidrevninglobcrcy ) AS PaidRevenueAmtInGlobalCrcy,
AcItem._Grant AS _Grant,
GBEE._SponsoredProgramCore AS _SponsoredProgram
FROM I_GLAccountLineItem AS AcItem
INNER JOIN I_GteeMBillingElementEntry AS GBEE ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_GteeMBillingElmntEntrFlwAgg2 AS _BillingElementEntryFlwAgg2 ON GteeMBillgElmntEntrItmUUID = _BillingElementEntryFlwAgg2.GteeMBillgElmntEntrItmUUID -- association [0..1]
LEFT OUTER JOIN I_GteeMBillingSplitInfo AS FISplitInfo ON FISplitInfo.AccountingDocument = AcItem.AccountingDocument AND FISplitInfo.FiscalYear = AcItem.FiscalYear AND FISplitInfo.CompanyCode = AcItem.CompanyCode AND FISplitInfo.AccountingDocumentItem = AcItem.AccountingDocumentItem AND FISplitInfo.SplitInformationSequenceNumber = GBEE.SplitInformationSequenceNumber AND FISplitInfo.GrantID = GBEE.GrantID AND FISplitInfo.SponsoredProgram = GBEE.SponsoredProgram -- 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