R_ProjectBillingRequestTP

DDL: R_PROJECTBILLINGREQUESTTP SQL: RPROJBILLREQ Type: view_entity TRANSACTIONAL Package: VDM_PROJECTBILLINGREQUEST_TP

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 32 fields with key field ProjectBillingRequestUUID. It has 6 associations to related views. Part of development package VDM_PROJECTBILLINGREQUEST_TP.

Data Sources (1)

SourceAliasJoin Type
I_ProjectBillingRequest ProjectBillingRequest from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_SalesOrder _SalesOrder $projection.SalesDocument = _SalesOrder.SalesOrder
[1..1] I_UserContactCard _UserContactCard $projection.ProjBillgReqCreatedBy = _UserContactCard.ContactCardID
[0..1] P_MyProjectBillingRequests _MyProjectBillingRequests $projection.ProjectBillingRequestUUID = _MyProjectBillingRequests.ProjectBillingRequestUUID 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)

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

KeyFieldSource TableSource FieldDescription
KEY ProjectBillingRequestUUID I_ProjectBillingRequest ProjectBillingRequestUUID Proj Billg Req UUID
ProjectBillingRequest I_ProjectBillingRequest ProjectBillingRequest PBR
ProjectInternalID I_ProjectBillingRequest 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
clientNULLasProjBillgReqCreatedAtDte Created On
UserID _MyProjectBillingRequests UserID User Name
Project _EnterpriseProject Project WBS Element
CustomerUUID _EnterpriseProject CustomerUUID NodeID
CurrencyasDocumentCurrency
ProjectDescription _EnterpriseProject ProjectDescription Project Name
_ProjectBillingRequestItem
_ProjectBillingReqItemTP _ProjectBillingReqItemTP
_SalesOrder _SalesOrder
_EnterpriseProject _EnterpriseProject
_CustomerToBusinessPartner _CustomerToBusinessPartner
_ProjBillgReqObjectLink _ProjBillgReqObjectLink
_ProjectBillingRequestStatus _ProjectBillingRequestStatus
_ProjBillgReqApprovalStatus _ProjBillgReqApprovalStatus
_UserContactCard _UserContactCard
_SalesDocument _SalesDocument
_ProjectBillingCategory _ProjectBillingCategory
_ProjectBillingReqStatusText _ProjectBillingReqStatusText
_ProjBillgReqApprvlStatusText _ProjBillgReqApprvlStatusText
_ProjectBillingCategoryText _ProjectBillingCategoryText

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,
  ProjectBillingRequest.ProjectInternalID AS 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,
  tstmp_to_dats( cast( ProjBillgReqCreatedAtDteTme as timestamp ), abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as ProjBillgReqCreatedAtDte AS clientNULLasProjBillgReqCreatedAtDte,
  _MyProjectBillingRequests.UserID AS UserID,
  _EnterpriseProject.Project AS Project,
  _EnterpriseProject.CustomerUUID AS CustomerUUID,
  _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 ProjectBillingRequestUUID = _MyProjectBillingRequests.ProjectBillingRequestUUID 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]
;