I_ProjectBillingElement
Project Billing Element
I_ProjectBillingElement (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Header object on Billing WBS level for project billing. · R&D Engineering
I_ProjectBillingElement is a Basic CDS View that provides data about "Project Billing Element" in SAP S/4HANA. It reads from 1 data source (projbillgelmnt) and exposes 13 fields with key field ProjectBillingElementUUID. It has 2 associations to related views.
SAP Help Documentation
| Category | CDS Views for Project Billing |
|---|---|
| Status | Released |
This CDS view contains details for the project billing element. Note A billing element is the lowest project billing structure entity in which billing can take place. Revenues for the project can be posted in the project billing elements. For example, a billing element can refer to the task or service provided for a project. This CDS view provides the data to answer the following business questions: What is the unique number for the project billing element? What is the total invoiced amount for this project billing element? What is the total written off amount for this project billing element? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations The following business catalog needs to be assigned to a user to be able to use this CDS view: SAP_PS_BC_PROJ_BLNG_PC
Structure
Parameters Important fields Important fields in this view include the following: Field Name Description ProjectBillingElementUUID Header identification number of project billing element BillingWBSElementInternalID WBS Internal ID DocumentCurrency Document Currency BilledRevenueAmtInDocCrcy Total invoiced amount for project billing element WrittenOffRevenueAmtInDocCrcy Total written off amount for project billing element
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | R&D Engineering |
| Application Component | PPM-SCL-BIL |
| Capabilities | Data Source for Defining CDS Entities, Data Source in SQL Select, Analytical Dimension, Association Target for Defining CDS Entities, Data Source for Data Extraction |
| 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 |
|---|---|---|
| projbillgelmnt | ProjectBillingElement | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ProjectBillingElementEntry | _ProjectBillingElementEntry | $projection.ProjectBillingElementUUID = _ProjectBillingElementEntry.ProjectBillingElementUUID |
| [0..1] | I_WBSElementBasicData | _WBSElement | $projection.BillingWBSElementInternalID = _WBSElement.WBSElementInternalID and _WBSElement.WBSElementIsBillingElement = 'X' |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Project Billing Element | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataExtraction.delta.changeDataCapture.automatic | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.representativeKey | ProjectBillingElementUUID | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.sapObjectNodeType.name | ProjectBillingElement | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectBillingElementUUID | projbillgelmnt | projectbillingelementuuid | Project Billing Element UUID |
| BillingWBSElementInternalID | projbillgelmnt | billingwbselementinternalid | WBS Internal ID | |
| DocumentCurrency | projbillgelmnt | documentcurrency | Document Currency | |
| BilledRevenueAmtInDocCrcy | projbillgelmnt | billedrevenueamtindoccrcy | Billed Revenue | |
| WrittenOffRevenueAmtInDocCrcy | projbillgelmnt | writtenoffrevenueamtindoccrcy | Written-off Revenue | |
| ProjBillingProfile | projbillgelmnt | projbillingprofile | Proj. Billg Profile | |
| ProjectBillingCategory | projbillgelmnt | projectbillingcategory | Billing Profile Category | |
| ProjBillgElmntCreatedByUser | projbillgelmnt | projbillgelmntcreatedbyuser | Project Billing Element Created By | |
| ProjBillgElmntCreatedAtDteTme | projbillgelmnt | projbillgelmntcreatedatdtetme | Project Billing Element Created On | |
| ProjBillgElmntLastChgdByUser | projbillgelmnt | projbillgelmntlastchgdbyuser | Project Billing Element Changed By | |
| ProjBillgElmntLastChgdAtDteTme | projbillgelmnt | projbillgelmntlastchgdatdtetme | Project Billing Element Changed On | |
| _ProjectBillingElementEntry | _ProjectBillingElementEntry | |||
| _WBSElement | _WBSElement |
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_ProjectBillingElement.
-- 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.
CREATE VIEW I_ProjectBillingElement AS
SELECT
ProjectBillingElement.projectbillingelementuuid AS ProjectBillingElementUUID,
ProjectBillingElement.billingwbselementinternalid AS BillingWBSElementInternalID,
ProjectBillingElement.documentcurrency AS DocumentCurrency,
ProjectBillingElement.billedrevenueamtindoccrcy AS BilledRevenueAmtInDocCrcy,
ProjectBillingElement.writtenoffrevenueamtindoccrcy AS WrittenOffRevenueAmtInDocCrcy,
ProjectBillingElement.projbillingprofile AS ProjBillingProfile,
ProjectBillingElement.projectbillingcategory AS ProjectBillingCategory,
ProjectBillingElement.projbillgelmntcreatedbyuser AS ProjBillgElmntCreatedByUser,
ProjectBillingElement.projbillgelmntcreatedatdtetme AS ProjBillgElmntCreatedAtDteTme,
ProjectBillingElement.projbillgelmntlastchgdbyuser AS ProjBillgElmntLastChgdByUser,
ProjectBillingElement.projbillgelmntlastchgdatdtetme AS ProjBillgElmntLastChgdAtDteTme
FROM projbillgelmnt AS ProjectBillingElement
LEFT OUTER JOIN I_ProjectBillingElementEntry AS _ProjectBillingElementEntry ON ProjectBillingElementUUID = _ProjectBillingElementEntry.ProjectBillingElementUUID -- association [0..*]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON BillingWBSElementInternalID = _WBSElement.WBSElementInternalID AND _WBSElement.WBSElementIsBillingElement = 'X' -- 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