I_ProfitCenterToFixedAsset

DDL: I_PROFITCENTERTOFIXEDASSET SQL: IFINOCRTFA Type: view BASIC Package: FINS_ORGL_CHANGE_RUNTIME

Assgmt of PrftCtr to Fixed Asset

I_ProfitCenterToFixedAsset (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_ProfitCenterToFixedAsset is a Basic CDS View (Dimension) that provides data about "Assgmt of PrftCtr to Fixed Asset" in SAP S/4HANA. It reads from 1 data source (finoc_rt_fa) and exposes 26 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, ValidityStartDate. It has 10 associations to related views. Part of development package FINS_ORGL_CHANGE_RUNTIME.

SAP Help Documentation

CategoryCDS Views for Organizational Changes
Data CategoryDimension
StatusStatus
Purpose
You can use this CDS view to display information about the assignment of profit centers to fixed assets in an organizational change. This CDS view provides the data to answer the following business questions: Which old and new profit centers are assigned to which fixed asset in the organizational change? What is the current status of the profit center reassignment? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: F_ORGLCHG (Organizational Change)

Structure
Further Important Fields Important fields in this view include the following: Field Name Description CompanyCode Company Code MasterFixedAsset Asset FixedAsset Asset Subnumber ValidityStartDate Valid from ValidityEndDate Valid to ControllingArea Controlling Area ProfitCenterBeforeOrglChange Old Profit Center ProfitCenter New Profit Center OrganizationalChange Organizational Change OrglChangeReassignmentStatus Status ProfitCenterDerivationSrceType Profit Center Source SourceCostCenter Source Cost Center SourceWBSElementInternalID WBS Internal ID SourceProjectInternalID Project Def. SourceOrder Source Order OrglChangeEffectiveDate Effective Date Depending on your configuration, some of the fields included in this CDS view may not expose any data.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-GL-OC-2CL
CapabilitiesAnalytical Dimension,Association Target for Defining CDS Entities,Data Source in SQL Select,Data Source for Defining CDS Entities
Extensible (Key User)Yes
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
finoc_rt_fa finoc_rt_fa from

Associations (10)

CardinalityTargetAliasCondition
[0..1] I_OrganizationalChange _OrglChange $projection.OrganizationalChange = _OrglChange.OrganizationalChange
[1] I_OrglChangeReassignmentStatus _OrglChgReassignmentStatus $projection.OrglChangeReassignmentStatus = _OrglChgReassignmentStatus.OrglChangeReassignmentStatus
[0..1] I_ProfitCtrDerivationSrceType _ProfitCtrDerivationSrceType $projection.ProfitCenterDerivationSrceType = _ProfitCtrDerivationSrceType.ProfitCenterDerivationSrceType
[0..1] I_MasterFixedAsset _MasterFixedAsset $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
[0..1] I_FixedAsset _FixedAsset $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset and $projection.CompanyCode = _FixedAsset.CompanyCode
[0..1] I_FixedAssetAssgmt _FixedAssetAssignment $projection.MasterFixedAsset = _FixedAssetAssignment.MasterFixedAsset and $projection.FixedAsset = _FixedAssetAssignment.FixedAsset and $projection.CompanyCode = _FixedAssetAssignment.CompanyCode and $projection.OrglChangeEffectiveDate >= _FixedAssetAssignment.ValidityStartDate and $projection.OrglChangeEffectiveDate <= _FixedAssetAssignment.ValidityEndDate
[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_ProfitCenter _ProfitCenterBeforeOrglChange $projection.ControllingArea = _ProfitCenterBeforeOrglChange.ControllingArea and $projection.ProfitCenterBeforeOrglChange = _ProfitCenterBeforeOrglChange.ProfitCenter and $projection.ValidityStartDate >= _ProfitCenterBeforeOrglChange.ValidityStartDate and $projection.ValidityStartDate <= _ProfitCenterBeforeOrglChange.ValidityEndDate

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IFINOCRTFA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Assgmt of PrftCtr to Fixed Asset view
VDM.viewType #BASIC view
Analytics.dataCategory #DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey FixedAsset view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Analytics.internalName #LOCAL view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Metadata.allowExtensions true view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Company Code
KEY MasterFixedAsset anln1 Main Asset Number
KEY FixedAsset anln2 Asset Subnumber
KEY ValidityStartDate valid_from Validity Start Time
ValidityEndDate valid_to Validity End Time
ControllingArea kokrs Controlling Area
ProfitCenterBeforeOrglChange prctr_old Old Profit Center
ProfitCenter prctr New Profit Center
OrganizationalChange orgl_change Organizational Change
OrglChangeReassignmentStatus reassgmt_status Reassgmt Status
ProfitCenterDerivationSrceType prctr_drvtn_source_type Profit Center Derivation Source
SourceCostCenter srce_kostl Source Cost Center
SourceWBSElementInternalID Source WBS Element
SourceProjectInternalID Project (internal)
SourceOrder srce_aufnr Source Order
OrglChangeEffectiveDate _OrglChange OrglChangeEffectiveDate Effective Date
_OrglChgReassignmentStatus _OrglChgReassignmentStatus
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_FixedAssetAssignment _FixedAssetAssignment
_ProfitCtrDerivationSrceType _ProfitCtrDerivationSrceType
_OrglChange _OrglChange
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_ProfitCtr _ProfitCtr
_ProfitCenterBeforeOrglChange _ProfitCenterBeforeOrglChange

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_ProfitCenterToFixedAsset.
-- 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: IFINOCRTFA

CREATE VIEW I_ProfitCenterToFixedAsset AS
SELECT
  bukrs AS CompanyCode,
  anln1 AS MasterFixedAsset,
  anln2 AS FixedAsset,
  valid_from AS ValidityStartDate,
  valid_to AS ValidityEndDate,
  kokrs AS ControllingArea,
  prctr_old AS ProfitCenterBeforeOrglChange,
  prctr AS ProfitCenter,
  orgl_change AS OrganizationalChange,
  reassgmt_status AS OrglChangeReassignmentStatus,
  prctr_drvtn_source_type AS ProfitCenterDerivationSrceType,
  srce_kostl AS SourceCostCenter,
  cast( srce_ps_psp_pnr as ps_s4_pspnr preserving type) AS SourceWBSElementInternalID,
  cast (srce_ps_prj_pnr as ps_s4_proj_pspnr preserving type) AS SourceProjectInternalID,
  srce_aufnr AS SourceOrder,
  _OrglChange.OrglChangeEffectiveDate AS OrglChangeEffectiveDate
FROM finoc_rt_fa
LEFT OUTER JOIN I_OrganizationalChange AS _OrglChange ON OrganizationalChange = _OrglChange.OrganizationalChange  -- association [0..1]
LEFT OUTER JOIN I_OrglChangeReassignmentStatus AS _OrglChgReassignmentStatus ON OrglChangeReassignmentStatus = _OrglChgReassignmentStatus.OrglChangeReassignmentStatus  -- association [1]
LEFT OUTER JOIN I_ProfitCtrDerivationSrceType AS _ProfitCtrDerivationSrceType ON ProfitCenterDerivationSrceType = _ProfitCtrDerivationSrceType.ProfitCenterDerivationSrceType  -- association [0..1]
LEFT OUTER JOIN I_MasterFixedAsset AS _MasterFixedAsset ON CompanyCode = _MasterFixedAsset.CompanyCode AND MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset  -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON MasterFixedAsset = _FixedAsset.MasterFixedAsset AND FixedAsset = _FixedAsset.FixedAsset AND CompanyCode = _FixedAsset.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_FixedAssetAssgmt AS _FixedAssetAssignment ON MasterFixedAsset = _FixedAssetAssignment.MasterFixedAsset AND FixedAsset = _FixedAssetAssignment.FixedAsset AND CompanyCode = _FixedAssetAssignment.CompanyCode AND OrglChangeEffectiveDate >= _FixedAssetAssignment.ValidityStartDate AND OrglChangeEffectiveDate <= _FixedAssetAssignment.ValidityEndDate  -- 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_ProfitCenter AS _ProfitCenterBeforeOrglChange ON ControllingArea = _ProfitCenterBeforeOrglChange.ControllingArea AND ProfitCenterBeforeOrglChange = _ProfitCenterBeforeOrglChange.ProfitCenter AND ValidityStartDate >= _ProfitCenterBeforeOrglChange.ValidityStartDate AND ValidityStartDate <= _ProfitCenterBeforeOrglChange.ValidityEndDate  -- association [0..1]
;