A_ProjectBillingRequest

DDL: A_PROJECTBILLINGREQUEST Type: view_entity COMPOSITE

Project Billing Request

A_ProjectBillingRequest is a Composite CDS View that provides data about "Project Billing Request" in SAP S/4HANA. It reads from 1 data source (R_ProjectBillingRequestTP) and exposes 14 fields with key field ProjectBillingRequestUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
R_ProjectBillingRequestTP R_ProjectBillingRequestTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..*] A_WrittenOffPrjBillgElmEntry _WrittenOffPrjBillgElmEntry ProjectBillingRequest.ProjectBillingRequestUUID = _WrittenOffPrjBillgElmEntry.ProjectBillingRequestUUID

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Project Billing Request view
OData.entitySet.name A_ProjectBillingRequest view
OData.entityType.name ProjectBillingRequest_Type view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY ProjectBillingRequestUUID ProjectBillingRequestUUID Proj Billg Req UUID
ProjectBillingRequest ProjectBillingRequest PBR
ProjectBillingRequestStatus ProjectBillingRequestStatus Billing Req Status
ProjBillgReqApprovalStatus ProjBillgReqApprovalStatus PBR Apprvl Sts
SalesDocument SalesDocument SD Document
ProjBillgReqLastChgdBy ProjBillgReqLastChgdBy Changed By
ProjBillgReqLastChgdAtDteTme ProjBillgReqLastChgdAtDteTme Changed On
ProjBillgReqCreatedBy ProjBillgReqCreatedBy Created By
ProjBillgReqCreatedAtDteTme ProjBillgReqCreatedAtDteTme Created On
ProjectUUID _EnterpriseProject ProjectUUID Project UUID
ProjectInternalID ProjectBillingRequest ProjectInternalID Project Def.
ProjectBillingCategory ProjectBillingCategory PBF Category
_WrittenOffPrjBillgElmEntry _WrittenOffPrjBillgElmEntry
_EnterpriseProject _EnterpriseProject

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 A_ProjectBillingRequest.
-- 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 A_ProjectBillingRequest AS
SELECT
  ProjectBillingRequestUUID,
  ProjectBillingRequest,
  ProjectBillingRequestStatus,
  ProjBillgReqApprovalStatus,
  SalesDocument,
  ProjBillgReqLastChgdBy,
  ProjBillgReqLastChgdAtDteTme,
  ProjBillgReqCreatedBy,
  ProjBillgReqCreatedAtDteTme,
  _EnterpriseProject.ProjectUUID AS ProjectUUID,
  ProjectBillingRequest.ProjectInternalID AS ProjectInternalID,
  ProjectBillingCategory
FROM R_ProjectBillingRequestTP
LEFT OUTER JOIN A_WrittenOffPrjBillgElmEntry AS _WrittenOffPrjBillgElmEntry ON ProjectBillingRequest.ProjectBillingRequestUUID = _WrittenOffPrjBillgElmEntry.ProjectBillingRequestUUID  -- association [0..*]
;