C_ProjBillgRequestItemWithErr

DDL: C_PROJBILLGREQUESTITEMWITHERR SQL: CPBRIWITHERR Type: view CONSUMPTION

PBR excluded posting items

C_ProjBillgRequestItemWithErr is a Consumption CDS View that provides data about "PBR excluded posting items" in SAP S/4HANA. It reads from 3 data sources (I_GLAccountLineItemRawData, I_PrjBlgElmEntrJrnlEntrLink, I_ProjectBillingRequestItem) and exposes 5 fields with key fields ProjectBillingRequestUUID, ProjectBillingRequestItemUUID. It has 4 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_GLAccountLineItemRawData _GLAccountLineItemRawData inner
I_PrjBlgElmEntrJrnlEntrLink _PrjBlgElmEntrJrnlEntrLink inner
I_ProjectBillingRequestItem _ProjectBillingRequestItem from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_WorkForcePersonMappings _WorkForcePerson _GLAccountLineItemRawData.PersonnelNumber = _WorkForcePerson.WorkforceAssignment
[0..1] I_ProjectBillingElementEntry _ProjectBillingElementEntry _ProjectBillingRequestItem.ProjBillgElmntEntrItmUUID = _ProjectBillingElementEntry.ProjBillgElmntEntrItmUUID
[0..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_UserContactCard _UserContactCard $projection.personnumber = _UserContactCard.Person and _UserContactCard.Person <> ''

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CPBRIWITHERR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label PBR excluded posting items view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.representativeKey ProjectBillingRequestUUID view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ProjectBillingRequestUUID ProjectBillingRequestUUID Proj Billg Req UUID
KEY ProjectBillingRequestItemUUID ProjectBillingRequestItemUUID Item ID
WBSElement Work Package
Material Material Billing Element
PersonnelNumber

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 C_ProjBillgRequestItemWithErr.
-- 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: CPBRIWITHERR

CREATE VIEW C_ProjBillgRequestItemWithErr AS
SELECT
  ProjectBillingRequestUUID,
  ProjectBillingRequestItemUUID,
  _ProjectBillingElementEntry._WBSElement.WBSElementExternalID AS WBSElement,
  Material,
  _PrjBlgElmEntrJrnlEntrLink._GLAccountLineItemRawData.PersonnelNumber AS PersonnelNumber
FROM I_ProjectBillingRequestItem AS _ProjectBillingRequestItem
INNER JOIN I_PrjBlgElmEntrJrnlEntrLink AS _PrjBlgElmEntrJrnlEntrLink ON /* join condition not captured in parsed metadata */
INNER JOIN I_GLAccountLineItemRawData AS _GLAccountLineItemRawData ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_WorkForcePersonMappings AS _WorkForcePerson ON _GLAccountLineItemRawData.PersonnelNumber = _WorkForcePerson.WorkforceAssignment  -- association [0..1]
LEFT OUTER JOIN I_ProjectBillingElementEntry AS _ProjectBillingElementEntry ON _ProjectBillingRequestItem.ProjBillgElmntEntrItmUUID = _ProjectBillingElementEntry.ProjBillgElmntEntrItmUUID  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON personnumber = _UserContactCard.Person AND _UserContactCard.Person <> ''  -- association [0..1]
;