P_OrglChangeReportRootWBS

DDL: P_ORGLCHANGEREPORTROOTWBS SQL: POCRROOTWBS Type: view CONSUMPTION

Orgl Change Report Root WBSElement

P_OrglChangeReportRootWBS is a Consumption CDS View that provides data about "Orgl Change Report Root WBSElement" in SAP S/4HANA. It reads from 1 data source (I_ProfitCenterToWBSElement) and exposes 37 fields with key fields OrganizationalChange, WBSElementInternalID, ValidityStartDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProfitCenterToWBSElement _ProfitCenterToWBSElement from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_OrglChgReassignmentStsText _OrglChgReassignmentStsText $projection.OrglChangeReassignmentStatus = _OrglChgReassignmentStsText.OrglChangeReassignmentStatus

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName POCRROOTWBS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.private true view
VDM.viewType #CONSUMPTION view
EndUserText.label Orgl Change Report Root WBSElement view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY OrganizationalChange OrganizationalChange Organizational Change
KEY WBSElementInternalID WBSElementInternalID WBS Internal ID
KEY ValidityStartDate ValidityStartDate Validity Start Date
WBSElement _WBSElement WBSElement WBS Internal ID
OrglChgRptNodeDescription _WBSElement WBSElement WBS Internal ID
WBSDescription _WBSElement WBSDescription WBS Element Name
ValidityEndDate ValidityEndDate ValidTo
Segment _ProfitCtr Segment Segment number
SegmentName
SegmentBeforeOrglChange _PrftCtrBfrOrglChgBfrEffctvDte Segment Segment number
SegmentBeforeOrglChangeName
ControllingArea ControllingArea Controlling Area
ControllingAreaName _ControllingArea ControllingAreaName Long Text
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
ProfitCenterBeforeOrglChange ProfitCenterBeforeOrglChange Old Profit Center
ProfitCenterBfrOrglChangeName
ProfitCenter ProfitCenter Profit Center
ProfitCenterName
OrglChangeReassignmentStatus OrglChangeReassignmentStatus Status
OrglChgReassignmentStatusName
ProfitCenterDerivationSrceType ProfitCenterDerivationSrceType Profit Center Source
SourceWBSElementInternalID SourceWBSElementInternalID Source WBS Element
SemanticObject
OrglChgRptRootObjectType
RootObjectId WBS Internal ID
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_OrglChange _OrglChange
_OrglChgReassignmentStatus _OrglChgReassignmentStatus
_ProfitCenterBeforeOrglChange _ProfitCenterBeforeOrglChange
OrglChangeEffectiveDate I_ProfitCenterToWBSElement OrglChangeEffectiveDate Effective Date
OrglChgLastDateBeforeEffDate I_ProfitCenterToWBSElement OrglChgLastDateBeforeEffDate
_ProfitCtr _ProfitCtr
_ProfitCtrDerivationSrceType _ProfitCtrDerivationSrceType
_WBSElement _WBSElement
_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_OrglChangeReportRootWBS.
-- 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: POCRROOTWBS

CREATE VIEW P_OrglChangeReportRootWBS AS
SELECT
  OrganizationalChange,
  WBSElementInternalID,
  ValidityStartDate,
  _WBSElement.WBSElement AS WBSElement,
  _WBSElement.WBSElement AS OrglChgRptNodeDescription,
  _WBSElement.WBSDescription AS WBSDescription,
  ValidityEndDate,
  _ProfitCtr.Segment AS Segment,
  _ProfitCtr._Segment._Text[1:Language=$session.system_language].SegmentName AS SegmentName,
  _PrftCtrBfrOrglChgBfrEffctvDte.Segment AS SegmentBeforeOrglChange,
  _PrftCtrBfrOrglChgBfrEffctvDte._Segment._Text[1:Language=$session.system_language].SegmentName AS SegmentBeforeOrglChangeName,
  ControllingArea,
  _ControllingArea.ControllingAreaName AS ControllingAreaName,
  CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  ProfitCenterBeforeOrglChange,
  _ProfitCenterBeforeOrglChange._Text[1:Language=$session.system_language].ProfitCenterName AS ProfitCenterBfrOrglChangeName,
  ProfitCenter,
  _ProfitCtr._Text[1:Language=$session.system_language].ProfitCenterName AS ProfitCenterName,
  OrglChangeReassignmentStatus,
  _OrglChgReassignmentStsText[1:Language=$session.system_language].OrglChgReassignmentStatusName AS OrglChgReassignmentStatusName,
  ProfitCenterDerivationSrceType,
  SourceWBSElementInternalID,
  cast( 'WBSElement' as finoc_semantic_object ) AS SemanticObject,
  cast( 'PR' as finoc_root_object_type ) AS OrglChgRptRootObjectType,
  cast( WBSElementInternalID as finoc_object_id ) AS RootObjectId,
  _ProfitCenterToWBSElement.OrglChangeEffectiveDate AS OrglChangeEffectiveDate,
  _ProfitCenterToWBSElement.OrglChgLastDateBeforeEffDate AS OrglChgLastDateBeforeEffDate
FROM I_ProfitCenterToWBSElement AS _ProfitCenterToWBSElement
LEFT OUTER JOIN I_OrglChgReassignmentStsText AS _OrglChgReassignmentStsText ON OrglChangeReassignmentStatus = _OrglChgReassignmentStsText.OrglChangeReassignmentStatus  -- association [0..*]
;