I_PrftCtrToRAPerfObligation

DDL: I_PRFTCTRTORAPERFOBLIGATION Type: view_entity BASIC

Assignment of Prctr to Perf Obligation

I_PrftCtrToRAPerfObligation is a Basic CDS View (Dimension) that provides data about "Assignment of Prctr to Perf Obligation" in SAP S/4HANA. It reads from 1 data source (finoc_rt_rar) and exposes 44 fields with key fields PerformanceObligation, ValidityStartDate. It has 18 associations to related views.

Data Sources (1)

SourceAliasJoin Type
finoc_rt_rar finoc_rt_rar from

Associations (18)

CardinalityTargetAliasCondition
[1] I_RAPerformanceObligation _PerformanceObligation $projection.PerformanceObligation = _PerformanceObligation.PerformanceObligation
[0..1] I_OrganizationalChange _OrglChange $projection.OrganizationalChange = _OrglChange.OrganizationalChange
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..1] I_ProfitCenter _ProfitCtr $projection.ControllingArea = _ProfitCtr.ControllingArea and $projection.ProfitCenter = _ProfitCtr.ProfitCenter and $projection.ValidityStartDate >= _ProfitCtr.ValidityStartDate and $projection.ValidityStartDate <= _ProfitCtr.ValidityEndDate
[0..1] I_ProfitCtrDerivationSrceType _ProfitCtrDerivationSrceType $projection.ProfitCenterDerivationSrceType = _ProfitCtrDerivationSrceType.ProfitCenterDerivationSrceType
[1] I_OrglChangeReassignmentStatus _OrglChgReassignmentStatus $projection.OrglChangeReassignmentStatus = _OrglChgReassignmentStatus.OrglChangeReassignmentStatus
[0..1] I_ProfitCenter _ProfitCenterBeforeOrglChange $projection.ControllingArea = _ProfitCenterBeforeOrglChange.ControllingArea and $projection.ProfitCenterBeforeOrglChange = _ProfitCenterBeforeOrglChange.ProfitCenter and $projection.ValidityStartDate >= _ProfitCenterBeforeOrglChange.ValidityStartDate and $projection.ValidityStartDate <= _ProfitCenterBeforeOrglChange.ValidityEndDate
[0..1] I_ProfitCenter _PrftCtrBfrOrglChgBfrEffctvDte $projection.ControllingArea = _PrftCtrBfrOrglChgBfrEffctvDte.ControllingArea and $projection.ProfitCenterBeforeOrglChange = _PrftCtrBfrOrglChgBfrEffctvDte.ProfitCenter and $projection.orglchglastdatebeforeeffdate >= _PrftCtrBfrOrglChgBfrEffctvDte.ValidityStartDate and $projection.orglchglastdatebeforeeffdate <= _PrftCtrBfrOrglChgBfrEffctvDte.ValidityEndDate
[0..1] I_Segment _SegmentBeforeOrglChange $projection.SegmentBeforeOrglChange = _SegmentBeforeOrglChange.Segment
[0..1] I_Segment _SegmentByOrglChange $projection.SegmentByOrglChange = _SegmentByOrglChange.Segment
[0..1] I_Product _SourceProduct $projection.SourceProduct = _SourceProduct.Product
[0..1] I_Plant _SourcePlant $projection.SourcePlant = _SourcePlant.Plant
[0..1] I_ServiceDocumentType _SourceServiceDocumentType $projection.SourceServiceDocumentType = _SourceServiceDocumentType.ServiceDocumentType
[0..1] I_ProjectBasicData _SourceProjectBasicData $projection.SourceProjectInternalID = _SourceProjectBasicData.ProjectInternalID
[0..1] I_WBSElementBasicData _SourceWBSElement $projection.SourceWBSElementInternalID = _SourceWBSElement.WBSElementInternalID
[0..1] I_OrderBasic _SourceOrder $projection.SourceOrder = _SourceOrder.OrderID
[1] I_RAPerformanceObligation _LeadingPerformanceObligation $projection.LeadingPerformanceObligation = _LeadingPerformanceObligation.PerformanceObligation

Annotations (12)

NameValueLevelField
EndUserText.label Assignment of Prctr to Perf Obligation view
VDM.viewType #BASIC view
Analytics.dataCategory #DIMENSION view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey PerformanceObligation view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
Analytics.internalName #LOCAL view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Metadata.allowExtensions true view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY PerformanceObligation pob_id POB
KEY ValidityStartDate valid_from Validity Start Time
ValidityEndDate valid_to Validity End Time
ControllingArea kokrs Org. Value
CompanyCode bukrs Value
ProfitCenterBeforeOrglChange prctr_old Old Profit Center
ProfitCenter prctr Profit Centers
OrganizationalChange orgl_change Organizational Change
OrglChangeReassignmentStatus reassgmt_status Status
ProfitCenterDerivationSrceType prctr_drvtn_source_type Profit Center Source
SegmentBeforeOrglChange segment_old
SegmentByOrglChange segment Segment number
SourceSalesDocument Source Sales Order
SourceSalesDocumentItem Source Sales Order Item
SourceServiceDocumentType
SourceServiceDocument
SourceServiceDocumentItem
LeadingPerformanceObligation
SourceProduct Source Product
SourcePlant Source Plant
SourceProjectInternalID Source Project
SourceWBSElementInternalID Source WBS Element
SourceOrder Source Order
RevenueAccountingContract Contract ID
_PerformanceObligation _PerformanceObligation
_OrglChange _OrglChange
OrglChangeEffectiveDate _OrglChange OrglChangeEffectiveDate Effective Date
OrglChgLastDateBeforeEffDate _OrglChange OrglChgLastDateBeforeEffDate
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_ProfitCtr _ProfitCtr
_ProfitCtrDerivationSrceType _ProfitCtrDerivationSrceType
_OrglChgReassignmentStatus _OrglChgReassignmentStatus
_ProfitCenterBeforeOrglChange _ProfitCenterBeforeOrglChange
_SegmentBeforeOrglChange _SegmentBeforeOrglChange
_SegmentByOrglChange _SegmentByOrglChange
_SourceServiceDocumentType _SourceServiceDocumentType
_SourceProduct _SourceProduct
_SourcePlant _SourcePlant
_SourceProjectBasicData _SourceProjectBasicData
_SourceWBSElement _SourceWBSElement
_SourceOrder _SourceOrder
_LeadingPerformanceObligation _LeadingPerformanceObligation
_PrftCtrBfrOrglChgBfrEffctvDte _PrftCtrBfrOrglChgBfrEffctvDte

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_PrftCtrToRAPerfObligation.
-- 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_PrftCtrToRAPerfObligation AS
SELECT
  pob_id AS PerformanceObligation,
  valid_from AS ValidityStartDate,
  valid_to AS ValidityEndDate,
  kokrs AS ControllingArea,
  bukrs AS CompanyCode,
  prctr_old AS ProfitCenterBeforeOrglChange,
  prctr AS ProfitCenter,
  orgl_change AS OrganizationalChange,
  reassgmt_status AS OrglChangeReassignmentStatus,
  prctr_drvtn_source_type AS ProfitCenterDerivationSrceType,
  segment_old AS SegmentBeforeOrglChange,
  segment AS SegmentByOrglChange,
  cast(srce_kdauf as finoc_srce_kdauf preserving type) AS SourceSalesDocument,
  cast(srce_kdpos as finoc_srce_kdpos preserving type) AS SourceSalesDocumentItem,
  cast(srce_service_doc_type as finoc_srce_service_doc_type preserving type) AS SourceServiceDocumentType,
  cast(srce_service_doc_id as finoc_srce_service_doc_id preserving type) AS SourceServiceDocument,
  cast(srce_service_doc_item_id as finoc_srce_service_doc_item_id preserving type) AS SourceServiceDocumentItem,
  cast(srce_pob_id as finoc_srce_pob_id preserving type) AS LeadingPerformanceObligation,
  cast(srce_matnr as finoc_srce_matnr preserving type) AS SourceProduct,
  cast(srce_werks as finoc_srce_werks preserving type) AS SourcePlant,
  cast(srce_ps_prj_pnr as ps_s4_proj_pspnr preserving type) AS SourceProjectInternalID,
  cast(srce_ps_psp_pnr as ps_s4_pspnr preserving type) AS SourceWBSElementInternalID,
  cast(srce_aufnr as finoc_srce_aufnr preserving type) AS SourceOrder,
  cast(contract_id as farr_contract_id preserving type) AS RevenueAccountingContract,
  _OrglChange.OrglChangeEffectiveDate AS OrglChangeEffectiveDate,
  _OrglChange.OrglChgLastDateBeforeEffDate AS OrglChgLastDateBeforeEffDate
FROM finoc_rt_rar
LEFT OUTER JOIN I_RAPerformanceObligation AS _PerformanceObligation ON PerformanceObligation = _PerformanceObligation.PerformanceObligation  -- association [1]
LEFT OUTER JOIN I_OrganizationalChange AS _OrglChange ON OrganizationalChange = _OrglChange.OrganizationalChange  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCtr ON ControllingArea = _ProfitCtr.ControllingArea AND ProfitCenter = _ProfitCtr.ProfitCenter AND ValidityStartDate >= _ProfitCtr.ValidityStartDate AND ValidityStartDate <= _ProfitCtr.ValidityEndDate  -- association [0..1]
LEFT OUTER JOIN I_ProfitCtrDerivationSrceType AS _ProfitCtrDerivationSrceType ON ProfitCenterDerivationSrceType = _ProfitCtrDerivationSrceType.ProfitCenterDerivationSrceType  -- association [0..1]
LEFT OUTER JOIN I_OrglChangeReassignmentStatus AS _OrglChgReassignmentStatus ON OrglChangeReassignmentStatus = _OrglChgReassignmentStatus.OrglChangeReassignmentStatus  -- association [1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenterBeforeOrglChange ON ControllingArea = _ProfitCenterBeforeOrglChange.ControllingArea AND ProfitCenterBeforeOrglChange = _ProfitCenterBeforeOrglChange.ProfitCenter AND ValidityStartDate >= _ProfitCenterBeforeOrglChange.ValidityStartDate AND ValidityStartDate <= _ProfitCenterBeforeOrglChange.ValidityEndDate  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _PrftCtrBfrOrglChgBfrEffctvDte ON ControllingArea = _PrftCtrBfrOrglChgBfrEffctvDte.ControllingArea AND ProfitCenterBeforeOrglChange = _PrftCtrBfrOrglChgBfrEffctvDte.ProfitCenter AND orglchglastdatebeforeeffdate >= _PrftCtrBfrOrglChgBfrEffctvDte.ValidityStartDate AND orglchglastdatebeforeeffdate <= _PrftCtrBfrOrglChgBfrEffctvDte.ValidityEndDate  -- association [0..1]
LEFT OUTER JOIN I_Segment AS _SegmentBeforeOrglChange ON SegmentBeforeOrglChange = _SegmentBeforeOrglChange.Segment  -- association [0..1]
LEFT OUTER JOIN I_Segment AS _SegmentByOrglChange ON SegmentByOrglChange = _SegmentByOrglChange.Segment  -- association [0..1]
LEFT OUTER JOIN I_Product AS _SourceProduct ON SourceProduct = _SourceProduct.Product  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _SourcePlant ON SourcePlant = _SourcePlant.Plant  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocumentType AS _SourceServiceDocumentType ON SourceServiceDocumentType = _SourceServiceDocumentType.ServiceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_ProjectBasicData AS _SourceProjectBasicData ON SourceProjectInternalID = _SourceProjectBasicData.ProjectInternalID  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _SourceWBSElement ON SourceWBSElementInternalID = _SourceWBSElement.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_OrderBasic AS _SourceOrder ON SourceOrder = _SourceOrder.OrderID  -- association [0..1]
LEFT OUTER JOIN I_RAPerformanceObligation AS _LeadingPerformanceObligation ON LeadingPerformanceObligation = _LeadingPerformanceObligation.PerformanceObligation  -- association [1]
;