C_EngmntProjBillgAndRblsQry
Engagement Project Billing And Receivables Query
C_EngmntProjBillgAndRblsQry (Consumption)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
R&D Engineering
C_EngmntProjBillgAndRblsQry is a Consumption CDS View that provides data about "Engagement Project Billing And Receivables Query" in SAP S/4HANA. It reads from 1 data source (I_EngmntProjBillgAndRblsCube) and exposes 32 fields.
SAP Help Documentation
| Category | CDS Views for Customer and Internal Project Management |
|---|---|
| Data Category | Query |
| Status | Released |
| Corresponding DataSource | 2CCEPBILLRBLSQ |
Purpose
This CDS view provides the prerequisites for answering the following business questions: Which are the billing plans that have not been processed in my projects? What are the upcoming billing plans in projects that I manage? What is the total amount that can be invoiced? What is the total receivable amount from customers? By how many days are receivable amounts overdue? What is the total amount written off from invoices?
Prerequisites
Users who want to run reports using this CDS view must have a role based on the business role template listed in the table above. In this role, the following restriction types must be set to read access: Service Organization Project Type Project Category These restriction types are edited in the Maintain Business Roles app. Note To view the details of projects that involve blocked customers or business partners, you must have the additional authorization of an external auditor.
Structure
Object types This view is built on the following object types: Engagement Project Sales Order Debit Memo Request Billing Document Main CDS parameters and filters The main CDS parameters are: Number of Days , used to fetch results based on the number of days by which debit memo requests and receivables are overdue. Engagement Project can be used to filter results using project IDs. Project Stage can be used to filter results based on the following project stages: P003 (In Execution) P004 (Completed) P005 (Closed) Sales Order can be used to filter results based on sales order IDs. Company Code can be used to filter results based on the company code of projects. The results display projects from all service organizations belonging to a company code. Note The values in the input help are not dependent on the authorizations in your business role. However, the search results are. Service Organization can be used to filter results based on the service organization assigned to projects. Profit Center can be used to filter results based on the profit center assigned to projects. Cost Center can be used to filter results based on the cost center assigned to projects. Customer can be used to filter results based on the customer assigned to a project. The main filters are: My Projects This field can be used to filter projects based on the user's assignment to any of the project roles. Enter X to retrieve only the user's projects or enter ' ' to retrieve projects that the user is authorized to access. Tip To experience optimal performance in filtering and displaying results, it is recommended that you use this parameter in combination with other parameters. Project Stage Measures and attributes Some important measures and attributes are: Field Description EngagementProject Customer project ProjectVisibility Indicates whether a project is confidential. Customer Customer for whom a project is being executed. SalesOrderNetAmount Net value of the sales order. DebitMemoRequestNetAmount Net value of a sales order item. BilledAmountInProjectCurrency Amount that has already been billed. RemainingContractBillingAmt Remaining amount to be billed against a sales order item. The value of this field is calculated as follows: Net value of the sales order - Net value of sales order item BillingPlanBillingDate The date on which a billing plan item is scheduled. BillingPlanAmount The amount that is to be billed as per the billing plan. BillingReqTimeIntervalInDays Number of days by which creation of billing request is overdue. OpenBillingRequestAmount Amount corresponding to billing requests that are scheduled but not yet created. BillingRequestOverdueAmount Amount corresponding to billing requests that have been created but not invoiced. WriteOffAmount Amount written off before invoicing. TotalReceivablesAmount Receivable amount pending from customers. Note The displayed amount is not adjusted for partial payments received against an invoice. ReceivablesTimeIntervalInDays Number of days by which customer payments are overdue.
Cons
This CDS view provides the prerequisites for answering the following business questions: Which are the billing plans that have not been processed in my projects? What are the upcoming billing plans in projects that I manage? What is the total amount that can be invoiced? What is the total receivable amount from customers? By how many days are receivable amounts overdue? What is the total amount written off from invoices?
Prerequisites
Users who want to run reports using this CDS view must have a role based on the business role template listed in the table above. In this role, the following restriction types must be set to read access: Service Organization Project Type Project Category These restriction types are edited in the Maintain Business Roles app. Note To view the details of projects that involve blocked customers or business partners, you must have the additional authorization of an external auditor.
Structure
Object types This view is built on the following object types: Engagement Project Sales Order Debit Memo Request Billing Document Main CDS parameters and filters The main CDS parameters are: Number of Days , used to fetch results based on the number of days by which debit memo requests and receivables are overdue. Engagement Project can be used to filter results using project IDs. Project Stage can be used to filter results based on the following project stages: P003 (In Execution) P004 (Completed) P005 (Closed) Sales Order can be used to filter results based on sales order IDs. Company Code can be used to filter results based on the company code of projects. The results display projects from all service organizations belonging to a company code. Note The values in the input help are not dependent on the authorizations in your business role. However, the search results are. Service Organization can be used to filter results based on the service organization assigned to projects. Profit Center can be used to filter results based on the profit center assigned to projects. Cost Center can be used to filter results based on the cost center assigned to projects. Customer can be used to filter results based on the customer assigned to a project. The main filters are: My Projects This field can be used to filter projects based on the user's assignment to any of the project roles. Enter X to retrieve only the user's projects or enter ' ' to retrieve projects that the user is authorized to access. Tip To experience optimal performance in filtering and displaying results, it is recommended that you use this parameter in combination with other parameters. Project Stage Measures and attributes Some important measures and attributes are: Field Description EngagementProject Customer project ProjectVisibility Indicates whether a project is confidential. Customer Customer for whom a project is being executed. SalesOrderNetAmount Net value of the sales order. DebitMemoRequestNetAmount Net value of a sales order item. BilledAmountInProjectCurrency Amount that has already been billed. RemainingContractBillingAmt Remaining amount to be billed against a sales order item. The value of this field is calculated as follows: Net value of the sales order - Net value of sales order item BillingPlanBillingDate The date on which a billing plan item is scheduled. BillingPlanAmount The amount that is to be billed as per the billing plan. BillingReqTimeIntervalInDays Number of days by which creation of billing request is overdue. OpenBillingRequestAmount Amount corresponding to billing requests that are scheduled but not yet created. BillingRequestOverdueAmount Amount corresponding to billing requests that have been created but not invoiced. WriteOffAmount Amount written off before invoicing. TotalReceivablesAmount Receivable amount pending from customers. Note The displayed amount is not adjusted for partial payments received against an invoice. ReceivablesTimeIntervalInDays Number of days by which customer payments are overdue.
Cons
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | R&D Engineering |
| Application Component | CA-CPD-SS |
| Capabilities | Analytical Query |
| Package | R&D Engineering for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EngmntProjBillgAndRblsCube | I_EngmntProjBillgAndRblsCube | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_NumberOfDays | int4 |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CEPBILLRBLSQ | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| Analytics.query | true | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.settings.zeroValues.handling | #HIDE | view | |
| Analytics.settings.zeroValues.hideOnAxis | #ROWS | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_QUERY | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Engagement Project Billing And Receivables Query | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| EngagementProject | EngagementProject | Engagement Project ID | ||
| SalesOrder | SalesOrder | SD Document | ||
| ProjectVisibility | ProjectVisibility | Confidential Indicator for Commercial Project | ||
| BillingPlanBillingDate | BillingPlanBillingDate | Billing Date | ||
| BillingPlan | BillingPlan | Billing Plan Number / Invoicing Plan Number | ||
| SalesOrderItemCategory | SalesOrderItemCategory | Sales Document Item Category | ||
| Product | Product | Product Number | ||
| ProjectStartDate | ProjectStartDate | Commercial Project: Start Date | ||
| ProjectEndDate | ProjectEndDate | Commercial Project: End Date | ||
| EngagementProjectServiceOrg | EngagementProjectServiceOrg | Service Organization | ||
| ControllingArea | ControllingArea | Controlling area for the project | ||
| CompanyCode | CompanyCode | Company code for the project | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| CostCenter | CostCenter | Organization Unit Key | ||
| Customer | Customer | Customer Number | ||
| EngagementProjectStage | EngagementProjectStage | Identified Stage | ||
| ProjectManagerName | ProjectManagerName | Project Manager | ||
| IsMyProject | IsMyProject | |||
| ProjectCurrency | ProjectCurrency | Project Currency | ||
| BilledAmountInProjectCurrency | BilledAmountInProjectCurrency | Amount in Company Code Currency | ||
| BillingPlanAmount | BillingPlanAmount | Value to be billed/calc. on date in billing/invoice plan | ||
| SalesOrderNetAmount | SalesOrderNetAmount | Net Value of Sales Order Item in Transaction Currency | ||
| DebitMemoRequestNetAmount | DebitMemoRequestNetAmount | Net Value of Sales Order Item in Transaction Currency | ||
| RemainingContractBillingAmt | 0 | Remaining Amount to be Billed | ||
| BillingReqTimeIntervalInDays | BillingReqTimeIntervalInDays | |||
| BillingReqTimeIntervalValue | BillingReqTimeIntervalValue | |||
| OpenBillingRequestAmount | OpenBillingRequestAmount | Amount in Company Code Currency | ||
| BillingRequestOverdueAmount | BillingRequestOverdueAmount | Amount in Company Code Currency | ||
| WriteOffAmount | WriteOffAmount | Cleared Manually | ||
| TotalReceivablesAmount | TotalReceivablesAmount | Amount in Company Code Currency | ||
| ReceivablesTimeIntervalInDays | ReceivablesTimeIntervalInDays | |||
| ReceivablesTimeIntervalValue | ReceivablesTimeIntervalValue |
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 C_EngmntProjBillgAndRblsQry.
-- 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.
-- Parameters: P_NumberOfDays : int4
CREATE VIEW C_EngmntProjBillgAndRblsQry AS
SELECT
EngagementProject,
SalesOrder,
ProjectVisibility,
BillingPlanBillingDate,
BillingPlan,
SalesOrderItemCategory,
Product,
ProjectStartDate,
ProjectEndDate,
EngagementProjectServiceOrg,
ControllingArea,
CompanyCode,
ProfitCenter,
CostCenter,
Customer,
EngagementProjectStage,
ProjectManagerName,
IsMyProject,
ProjectCurrency,
BilledAmountInProjectCurrency,
BillingPlanAmount,
SalesOrderNetAmount,
DebitMemoRequestNetAmount,
0 AS RemainingContractBillingAmt,
BillingReqTimeIntervalInDays,
BillingReqTimeIntervalValue,
OpenBillingRequestAmount,
BillingRequestOverdueAmount,
WriteOffAmount,
TotalReceivablesAmount,
ReceivablesTimeIntervalInDays,
ReceivablesTimeIntervalValue
FROM I_EngmntProjBillgAndRblsCube
;
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