I_ProjectBillingElement

DDL: I_PROJECTBILLINGELEMENT Type: view_entity BASIC

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

CategoryCDS Views for Project Billing
StatusReleased
Purpose
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

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessR&D Engineering
Application ComponentPPM-SCL-BIL
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Analytical Dimension, Association Target for Defining CDS Entities, Data Source for Data Extraction
PackageR&D Engineering for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
projbillgelmnt ProjectBillingElement from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_ProjectBillingElementEntry _ProjectBillingElementEntry $projection.ProjectBillingElementUUID = _ProjectBillingElementEntry.ProjectBillingElementUUID
[0..1] I_WBSElementBasicData _WBSElement $projection.BillingWBSElementInternalID = _WBSElement.WBSElementInternalID and _WBSElement.WBSElementIsBillingElement = 'X'

Annotations (13)

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

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