R_ProjectBillingRequestTP
Details of Project Billing Request
R_ProjectBillingRequestTP is a Transactional CDS View that provides data about "Details of Project Billing Request" in SAP S/4HANA. It reads from 1 data source (I_ProjectBillingRequest) and exposes 31 fields with key field ProjectBillingRequestUUID. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProjectBillingRequest | ProjectBillingRequest | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SalesOrder | _SalesOrder | $projection.SalesDocument = _SalesOrder.SalesOrder |
| [1..1] | I_UserContactCard | _UserContactCard | $projection.ProjBillgReqCreatedBy = _UserContactCard.ContactCardID |
| [0..1] | P_MyProjectBillingRequests | _MyProjectBillingRequests | $projection.SalesDocument = _MyProjectBillingRequests.SalesOrder and _MyProjectBillingRequests.UserID = $session.user |
| [1..1] | I_CustomerToBusinessPartner | _CustomerToBusinessPartner | $projection.customeruuid = _CustomerToBusinessPartner.BusinessPartnerUUID |
| [0..*] | R_ProjectBillingRequestItemTP | _ProjectBillingReqItemTP | |
| [0..1] | R_ProjBillgReqObjectLinkTP | _ProjBillgReqObjectLink | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| EndUserText.label | Details of Project Billing Request | view | |
| ObjectModel.sapObjectNodeType.name | ProjectBillingRequest | view | |
| AccessControl.personalData.blocking | #REQUIRED | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectBillingRequestUUID | I_ProjectBillingRequest | ProjectBillingRequestUUID | Proj Billg Req UUID |
| ProjectBillingRequest | I_ProjectBillingRequest | ProjectBillingRequest | PBR | |
| ProjectInternalID | ProjectInternalID | Project Def. | ||
| ProjectBillingRequestStatus | I_ProjectBillingRequest | ProjectBillingRequestStatus | Billing Req Status | |
| ProjBillgReqApprovalStatus | I_ProjectBillingRequest | ProjBillgReqApprovalStatus | PBR Apprvl Sts | |
| ProjectBillingRequestType | I_ProjectBillingRequest | ProjectBillingRequestType | Document Type | |
| SalesDocument | I_ProjectBillingRequest | SalesDocument | SD Document | |
| ProjectBillingCategory | I_ProjectBillingRequest | ProjectBillingCategory | PBF Category | |
| ProjBillgReqLastChgdBy | I_ProjectBillingRequest | ProjBillgReqLastChgdBy | Changed By | |
| ProjBillgReqLastChgdAtDteTme | I_ProjectBillingRequest | ProjBillgReqLastChgdAtDteTme | Changed On | |
| ProjBillgReqCreatedBy | I_ProjectBillingRequest | ProjBillgReqCreatedBy | Created By | |
| ProjBillgReqCreatedAtDteTme | I_ProjectBillingRequest | ProjBillgReqCreatedAtDteTme | Created On | |
| _ProjectBillingRequestItem | I_ProjectBillingRequest | _ProjectBillingRequestItem | ||
| clientNULLasProjBillgReqCreatedAtDte | Created On | |||
| Project | _EnterpriseProject | Project | WBS Element | |
| CustomerUUID | _EnterpriseProject | CustomerUUID | NodeID | |
| Customer | _SalesOrder | SoldToParty | Sold-to Party | |
| UserID | _MyProjectBillingRequests | UserID | User Name | |
| CurrencyasDocumentCurrency | ||||
| ProjectStartDate | _EnterpriseProject | ProjectStartDate | Latest Planned Start | |
| ProjectEndDate | _EnterpriseProject | ProjectEndDate | Ltst Planned Finish | |
| ProfitCenter | _EnterpriseProject | ProfitCenter | Profit Center | |
| ControllingArea | _EnterpriseProject | ControllingArea | Controlling Area | |
| ProjectDescription | _EnterpriseProject | ProjectDescription | Project Name | |
| _SalesOrder | _SalesOrder | |||
| _EnterpriseProject | _EnterpriseProject | |||
| _CustomerToBusinessPartner | _CustomerToBusinessPartner | |||
| _ProjBillgReqObjectLink | _ProjBillgReqObjectLink | |||
| _ProjectBillingRequestStatus | _ProjectBillingRequestStatus | |||
| _ProjBillgReqApprovalStatus | _ProjBillgReqApprovalStatus | |||
| _UserContactCard | _UserContactCard |
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 R_ProjectBillingRequestTP.
-- 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: RPROJBILLREQ
CREATE VIEW R_ProjectBillingRequestTP AS
SELECT
ProjectBillingRequest.ProjectBillingRequestUUID AS ProjectBillingRequestUUID,
ProjectBillingRequest.ProjectBillingRequest AS ProjectBillingRequest,
ProjectInternalID,
ProjectBillingRequest.ProjectBillingRequestStatus AS ProjectBillingRequestStatus,
ProjectBillingRequest.ProjBillgReqApprovalStatus AS ProjBillgReqApprovalStatus,
ProjectBillingRequest.ProjectBillingRequestType AS ProjectBillingRequestType,
ProjectBillingRequest.SalesDocument AS SalesDocument,
ProjectBillingRequest.ProjectBillingCategory AS ProjectBillingCategory,
ProjectBillingRequest.ProjBillgReqLastChgdBy AS ProjBillgReqLastChgdBy,
ProjectBillingRequest.ProjBillgReqLastChgdAtDteTme AS ProjBillgReqLastChgdAtDteTme,
ProjectBillingRequest.ProjBillgReqCreatedBy AS ProjBillgReqCreatedBy,
ProjectBillingRequest.ProjBillgReqCreatedAtDteTme AS ProjBillgReqCreatedAtDteTme,
ProjectBillingRequest._ProjectBillingRequestItem AS _ProjectBillingRequestItem,
tstmp_to_dats( cast( ProjBillgReqCreatedAtDteTme as timestamp ), abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as ProjBillgReqCreatedAtDte AS clientNULLasProjBillgReqCreatedAtDte,
_EnterpriseProject.Project AS Project,
_EnterpriseProject.CustomerUUID AS CustomerUUID,
_SalesOrder.SoldToParty AS Customer,
_MyProjectBillingRequests.UserID AS UserID,
_EnterpriseProject.ProjectStartDate AS ProjectStartDate,
_EnterpriseProject.ProjectEndDate AS ProjectEndDate,
_EnterpriseProject.ProfitCenter AS ProfitCenter,
_EnterpriseProject.ControllingArea AS ControllingArea,
_EnterpriseProject.ProjectDescription AS ProjectDescription
FROM I_ProjectBillingRequest AS ProjectBillingRequest
LEFT OUTER JOIN I_SalesOrder AS _SalesOrder ON SalesDocument = _SalesOrder.SalesOrder -- association [1..1]
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON ProjBillgReqCreatedBy = _UserContactCard.ContactCardID -- association [1..1]
LEFT OUTER JOIN P_MyProjectBillingRequests AS _MyProjectBillingRequests ON SalesDocument = _MyProjectBillingRequests.SalesOrder AND _MyProjectBillingRequests.UserID = $session.user -- association [0..1]
LEFT OUTER JOIN I_CustomerToBusinessPartner AS _CustomerToBusinessPartner ON customeruuid = _CustomerToBusinessPartner.BusinessPartnerUUID -- association [1..1]
LEFT OUTER JOIN R_ProjectBillingRequestItemTP AS _ProjectBillingReqItemTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_ProjBillgReqObjectLinkTP AS _ProjBillgReqObjectLink ON /* condition not available in parsed metadata */ -- 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