P_OrglChangeReportRootFA

DDL: P_ORGLCHANGEREPORTROOTFA Type: view_entity CONSUMPTION

Orgl Change Report Root FixedAsset

P_OrglChangeReportRootFA is a Consumption CDS View that provides data about "Orgl Change Report Root FixedAsset" in SAP S/4HANA. It reads from 1 data source (I_ProfitCenterToFixedAsset) and exposes 35 fields with key fields OrganizationalChange, CompanyCode, MasterFixedAsset, FixedAsset, ValidityStartDate. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProfitCenterToFixedAsset _ProfitCenterToFixedAsset from

Associations (3)

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

Annotations (7)

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
EndUserText.label Orgl Change Report Root FixedAsset view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY OrganizationalChange OrganizationalChange Organizational Change
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY ValidityStartDate ValidityStartDate Validity Start Date
OrglChgRptRootObjectType
RootObjectID
SemanticObject
ValidityEndDate ValidityEndDate ValidTo
Segment Segment Segment number
SegmentName
SegmentBeforeOrglChange SegmentBeforeOrglChange
SegmentBeforeOrglChangeName
ControllingArea ControllingArea Controlling Area
ControllingAreaName _ControllingArea ControllingAreaName Long Text
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
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_OrglChange _OrglChange
_OrglChgReassignmentStatus _OrglChgReassignmentStatus
_ProfitCenterBeforeOrglChange _ProfitCenterBeforeOrglChange
_ProfitCtr _ProfitCtr
OrglChangeEffectiveDate I_ProfitCenterToFixedAsset OrglChangeEffectiveDate Effective Date
OrglChgLastDateBeforeEffDate I_ProfitCenterToFixedAsset OrglChgLastDateBeforeEffDate
_ProfitCtrDerivationSrceType _ProfitCtrDerivationSrceType
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_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_OrglChangeReportRootFA.
-- 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_OrglChangeReportRootFA AS
SELECT
  OrganizationalChange,
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  ValidityStartDate,
  cast( 'AN' as finoc_root_object_type ) AS OrglChgRptRootObjectType,
  cast( concat( MasterFixedAsset , concat( '/', FixedAsset)) as finoc_object_id ) AS RootObjectID,
  cast( 'FixedAsset' as finoc_semantic_object ) AS SemanticObject,
  ValidityEndDate,
  Segment,
  _SegmentText[1:Language=$session.system_language].SegmentName AS SegmentName,
  SegmentBeforeOrglChange,
  _SegmentBeforeOrglChangeText[1:Language=$session.system_language].SegmentName AS SegmentBeforeOrglChangeName,
  ControllingArea,
  _ControllingArea.ControllingAreaName AS ControllingAreaName,
  _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,
  _ProfitCenterToFixedAsset.OrglChangeEffectiveDate AS OrglChangeEffectiveDate,
  _ProfitCenterToFixedAsset.OrglChgLastDateBeforeEffDate AS OrglChgLastDateBeforeEffDate
FROM I_ProfitCenterToFixedAsset AS _ProfitCenterToFixedAsset
LEFT OUTER JOIN I_OrglChgReassignmentStsText AS _OrglChgReassignmentStsText ON OrglChangeReassignmentStatus = _OrglChgReassignmentStsText.OrglChangeReassignmentStatus  -- association [0..*]
LEFT OUTER JOIN I_SegmentText AS _SegmentText ON Segment = _SegmentText.Segment  -- association [0..*]
LEFT OUTER JOIN I_SegmentText AS _SegmentBeforeOrglChangeText ON SegmentBeforeOrglChange = _SegmentBeforeOrglChangeText.Segment  -- association [0..*]
;