P_OrglChangeReportFAtoWBS

DDL: P_ORGLCHANGEREPORTFATOWBS Type: view_entity CONSUMPTION

Dependent Asset to Root WBSElement

P_OrglChangeReportFAtoWBS is a Consumption CDS View that provides data about "Dependent Asset to Root WBSElement" in SAP S/4HANA. It reads from 1 data source (I_ProfitCenterToFixedAsset) and exposes 44 fields with key fields OrganizationalChange, CompanyCode, MasterFixedAsset, FixedAsset, ValidityStartDate. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProfitCenterToFixedAsset _ProfitCenterToFixedAsset from

Associations (4)

CardinalityTargetAliasCondition
[1] I_ProfitCenterToWBSElement _ProfitCenterToWBSElement _ProfitCenterToWBSElement.OrganizationalChange = $projection.OrganizationalChange and _ProfitCenterToWBSElement.WBSElementInternalID = $projection.SourceWBSElementInternalID and _ProfitCenterToWBSElement.ValidityStartDate = $projection.ValidityStartDate
[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 Dependent Asset to Root WBSElement view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY OrganizationalChange OrganizationalChange Organizational Change
KEY CompanyCode I_ProfitCenterToFixedAsset CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY ValidityStartDate I_ProfitCenterToFixedAsset ValidityStartDate Validity Start Date
MasterFixedAssetDescription _MasterFixedAsset MasterFixedAssetDescription
RootObjectID
OrglChgRptDependentObjectType
SemanticObject
DependentObjectID
ValidityEndDate ValidityEndDate ValidTo
Segment Segment Segment number
SegmentName
SegmentBeforeOrglChange SegmentBeforeOrglChange
SegmentBeforeOrglChangeName
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
OrglChgRptRootObjectType ProfitCenterDerivationSrceType Profit Center Source
ControllingArea ControllingArea Controlling Area
RootWBSElementInternalID _ProfitCenterToWBSElement WBSElementInternalID WBS Internal ID
RootControllingArea _ProfitCenterToWBSElement ControllingArea Controlling Area
RootCompanyCode _ProfitCenterToWBSElement CompanyCode Receiver Company Code
RootProfitCenterBeforeOrglChng _ProfitCenterToWBSElement ProfitCenterBeforeOrglChange Old Profit Center
RootProfitCenter _ProfitCenterToWBSElement ProfitCenter Profit Center
RootOrglChangeReassignmentSts _ProfitCenterToWBSElement OrglChangeReassignmentStatus Status
RootWBSElementExternalID
RootWBSDescription
SourceWBSElementInternalID SourceWBSElementInternalID
_ControllingArea _ControllingArea
_OrglChange _OrglChange
_OrglChgReassignmentStatus _OrglChgReassignmentStatus
_ProfitCenterBeforeOrglChange _ProfitCenterBeforeOrglChange
OrglChangeEffectiveDate I_ProfitCenterToFixedAsset OrglChangeEffectiveDate Effective Date
OrglChgLastDateBeforeEffDate I_ProfitCenterToFixedAsset OrglChgLastDateBeforeEffDate
_ProfitCtr _ProfitCtr
_ProfitCtrDerivationSrceType _ProfitCtrDerivationSrceType
_CompanyCode I_ProfitCenterToFixedAsset _CompanyCode
_MasterFixedAsset _MasterFixedAsset

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_OrglChangeReportFAtoWBS.
-- 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_OrglChangeReportFAtoWBS AS
SELECT
  OrganizationalChange,
  _ProfitCenterToFixedAsset.CompanyCode AS CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  _ProfitCenterToFixedAsset.ValidityStartDate AS ValidityStartDate,
  _MasterFixedAsset.MasterFixedAssetDescription AS MasterFixedAssetDescription,
  cast( SourceWBSElementInternalID as finoc_object_id ) AS RootObjectID,
  cast( 'AN' as finoc_dependent_object_type ) AS OrglChgRptDependentObjectType,
  cast( 'FixedAsset' as finoc_semantic_object ) AS SemanticObject,
  cast ( concat( MasterFixedAsset , concat( '/', FixedAsset)) as finoc_object_id ) AS DependentObjectID,
  ValidityEndDate,
  Segment,
  _SegmentText[1:Language=$session.system_language].SegmentName AS SegmentName,
  SegmentBeforeOrglChange,
  _SegmentBeforeOrglChangeText[1:Language=$session.system_language].SegmentName AS SegmentBeforeOrglChangeName,
  _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 AS OrglChgRptRootObjectType,
  ControllingArea,
  _ProfitCenterToWBSElement.WBSElementInternalID AS RootWBSElementInternalID,
  _ProfitCenterToWBSElement.ControllingArea AS RootControllingArea,
  _ProfitCenterToWBSElement.CompanyCode AS RootCompanyCode,
  _ProfitCenterToWBSElement.ProfitCenterBeforeOrglChange AS RootProfitCenterBeforeOrglChng,
  _ProfitCenterToWBSElement.ProfitCenter AS RootProfitCenter,
  _ProfitCenterToWBSElement.OrglChangeReassignmentStatus AS RootOrglChangeReassignmentSts,
  _ProfitCenterToWBSElement._WBSElement.WBSElementExternalID AS RootWBSElementExternalID,
  _ProfitCenterToWBSElement._WBSElement.WBSDescription AS RootWBSDescription,
  SourceWBSElementInternalID,
  _ProfitCenterToFixedAsset.OrglChangeEffectiveDate AS OrglChangeEffectiveDate,
  _ProfitCenterToFixedAsset.OrglChgLastDateBeforeEffDate AS OrglChgLastDateBeforeEffDate,
  _ProfitCenterToFixedAsset._CompanyCode AS _CompanyCode
FROM I_ProfitCenterToFixedAsset AS _ProfitCenterToFixedAsset
LEFT OUTER JOIN I_ProfitCenterToWBSElement AS _ProfitCenterToWBSElement ON _ProfitCenterToWBSElement.OrganizationalChange = OrganizationalChange AND _ProfitCenterToWBSElement.WBSElementInternalID = SourceWBSElementInternalID AND _ProfitCenterToWBSElement.ValidityStartDate = ValidityStartDate  -- association [1]
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..*]
;