C_EngmntProjBillgAndRblsQry

DDL: C_ENGMNTPROJBILLGANDRBLSQRY Type: view CONSUMPTION

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

CategoryCDS Views for Customer and Internal Project Management
Data CategoryQuery
StatusReleased
Corresponding DataSource2CCEPBILLRBLSQ
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

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessR&D Engineering
Application ComponentCA-CPD-SS
CapabilitiesAnalytical Query
PackageR&D Engineering for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_EngmntProjBillgAndRblsCube I_EngmntProjBillgAndRblsCube from

Parameters (1)

NameTypeDefault
P_NumberOfDays int4

Annotations (17)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;