P_OrglChangeReportRootRAR

DDL: P_ORGLCHANGEREPORTROOTRAR Type: view_entity CONSUMPTION

P_OrglChangeReportRootRAR is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_PrftCtrToRAPerfObligation) and exposes 28 fields with key fields OrganizationalChange, PerformanceObligation, ValidityStartDate. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PrftCtrToRAPerfObligation _PrftCtrToRAPerfObligation from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_OrglChgReassignmentStsText _OrglChgReassignmentStsText $projection.OrglChangeReassignmentStatus = _OrglChgReassignmentStsText.OrglChangeReassignmentStatus
[0..*] I_SegmentText _SegmentText _PrftCtrToRAPerfObligation.SegmentByOrglChange = _SegmentText.Segment
[0..*] I_SegmentText _SegmentBeforeOrglChangeText _PrftCtrToRAPerfObligation.SegmentBeforeOrglChange = _SegmentBeforeOrglChangeText.Segment

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY OrganizationalChange OrganizationalChange Organizational Change
KEY PerformanceObligation PerformanceObligation Performance Obligation
KEY ValidityStartDate ValidityStartDate Validity Start Date
OrglChgRptRootObjectType
RootObjectID Performance Obligation
OrglChgRptNodeDescription Performance Obligation
SemanticObject
ValidityEndDate ValidityEndDate ValidTo
Segment I_PrftCtrToRAPerfObligation SegmentByOrglChange Segment number
SegmentByOrglChangeName
SegmentBeforeOrglChange SegmentBeforeOrglChange
SegmentBeforeOrglChangeName
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
ControllingArea ControllingArea Controlling Area
ControllingAreaName _ControllingArea ControllingAreaName Long Text
ProfitCenter ProfitCenter Profit Center
ProfitCenterName
ProfitCenterBeforeOrglChange ProfitCenterBeforeOrglChange Old Profit Center
ProfitCenterBfrOrglChangeName
OrglChangeReassignmentStatus OrglChangeReassignmentStatus Status
OrglChgReassignmentStatusName
ProfitCenterDerivationSrceType ProfitCenterDerivationSrceType Profit Center Source
_ControllingArea _ControllingArea
_OrglChange _OrglChange
_OrglChgReassignmentStatus _OrglChgReassignmentStatus
_ProfitCtr _ProfitCtr
_OrglChgReassignmentStsText _OrglChgReassignmentStsText

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 P_OrglChangeReportRootRAR.
-- 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 P_OrglChangeReportRootRAR AS
SELECT
  OrganizationalChange,
  PerformanceObligation,
  ValidityStartDate,
  cast( 'RA' as finoc_root_object_type ) AS OrglChgRptRootObjectType,
  cast( PerformanceObligation as finoc_object_id ) AS RootObjectID,
  cast( PerformanceObligation as finoc_object_id ) AS OrglChgRptNodeDescription,
  cast( 'PerformanceObligation' as finoc_semantic_object ) AS SemanticObject,
  ValidityEndDate,
  _PrftCtrToRAPerfObligation.SegmentByOrglChange AS Segment,
  _SegmentText[1:Language=$session.system_language].SegmentName AS SegmentByOrglChangeName,
  SegmentBeforeOrglChange,
  _SegmentBeforeOrglChangeText[1:Language=$session.system_language].SegmentName AS SegmentBeforeOrglChangeName,
  CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  ControllingArea,
  _ControllingArea.ControllingAreaName AS ControllingAreaName,
  ProfitCenter,
  _ProfitCtr._Text[1:Language=$session.system_language].ProfitCenterName AS ProfitCenterName,
  ProfitCenterBeforeOrglChange,
  _ProfitCenterBeforeOrglChange._Text[1:Language=$session.system_language].ProfitCenterName AS ProfitCenterBfrOrglChangeName,
  OrglChangeReassignmentStatus,
  _OrglChgReassignmentStsText[1:Language=$session.system_language].OrglChgReassignmentStatusName AS OrglChgReassignmentStatusName,
  ProfitCenterDerivationSrceType
FROM I_PrftCtrToRAPerfObligation AS _PrftCtrToRAPerfObligation
LEFT OUTER JOIN I_OrglChgReassignmentStsText AS _OrglChgReassignmentStsText ON OrglChangeReassignmentStatus = _OrglChgReassignmentStsText.OrglChangeReassignmentStatus  -- association [0..*]
LEFT OUTER JOIN I_SegmentText AS _SegmentText ON _PrftCtrToRAPerfObligation.SegmentByOrglChange = _SegmentText.Segment  -- association [0..*]
LEFT OUTER JOIN I_SegmentText AS _SegmentBeforeOrglChangeText ON _PrftCtrToRAPerfObligation.SegmentBeforeOrglChange = _SegmentBeforeOrglChangeText.Segment  -- association [0..*]
;