P_OrglChangeReportFAtoCCR
Dependent Asset to Root Cost Center
P_OrglChangeReportFAtoCCR is a Consumption CDS View that provides data about "Dependent Asset to Root Cost Center" in SAP S/4HANA. It reads from 1 data source (I_ProfitCenterToFixedAsset) and exposes 33 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, ValidityStartDate. It has 3 associations to related views. Part of development package ODATA_ORGL_CHANGE_REPORT_MD.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProfitCenterToFixedAsset | I_ProfitCenterToFixedAsset | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_ProfitCenterToCostCenter | _RootProfitCenterToCostCenter | _RootProfitCenterToCostCenter.OrganizationalChange = $projection.OrganizationalChange and _RootProfitCenterToCostCenter.ControllingArea = $projection.ControllingArea and _RootProfitCenterToCostCenter.CostCenter = $projection.SourceCostCenter and _RootProfitCenterToCostCenter.ValidityStartDate = $projection.ValidityStartDate |
| [0..*] | I_OrglChgReassignmentStsText | _OrglChgReassignmentStsText | $projection.OrglChangeReassignmentStatus = _OrglChgReassignmentStsText.OrglChangeReassignmentStatus |
| [0..1] | I_CostCenter | _SourceCostCenter | $projection.SourceCostCenter = _SourceCostCenter.CostCenter and $projection.ControllingArea = _SourceCostCenter.ControllingArea and $projection.ValidityStartDate = _SourceCostCenter.ValidityStartDate |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | POCRFA2CCR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | 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 | Dependent Asset to Root Cost Center | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | ||
| OrglChgRptDependentObjectType | ||||
| SemanticObject | ||||
| DependentObjectID | ||||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| 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 | ||
| OrganizationalChange | OrganizationalChange | Organizational Change | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| SourceCostCenter | SourceCostCenter | Source Cost Center | ||
| SourceCostCenterName | ||||
| CostCenter | _RootProfitCenterToCostCenter | CostCenter | Cost Center | |
| CostCenterName | ||||
| _ControllingArea | _ControllingArea | |||
| _OrglChange | _OrglChange | |||
| _OrglChgReassignmentStatus | _OrglChgReassignmentStatus | |||
| _ProfitCenterBeforeOrglChange | _ProfitCenterBeforeOrglChange | |||
| _ProfitCtr | _ProfitCtr | |||
| _ProfitCtrDerivationSrceType | _ProfitCtrDerivationSrceType | |||
| _CompanyCode | I_ProfitCenterToFixedAsset | _CompanyCode | ||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _SourceCostCenter | _SourceCostCenter |
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_OrglChangeReportFAtoCCR.
-- 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: POCRFA2CCR
CREATE VIEW P_OrglChangeReportFAtoCCR AS
SELECT
I_ProfitCenterToFixedAsset.CompanyCode AS CompanyCode,
MasterFixedAsset,
FixedAsset,
I_ProfitCenterToFixedAsset.ValidityStartDate AS ValidityStartDate,
_MasterFixedAsset.MasterFixedAssetDescription AS MasterFixedAssetDescription,
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,
_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,
OrganizationalChange,
ControllingArea,
SourceCostCenter,
_SourceCostCenter._Text[1:Language=$session.system_language].CostCenterName AS SourceCostCenterName,
_RootProfitCenterToCostCenter.CostCenter AS CostCenter,
_RootProfitCenterToCostCenter._CostCenter._Text[1:Language=$session.system_language].CostCenterName AS CostCenterName,
I_ProfitCenterToFixedAsset._CompanyCode AS _CompanyCode
FROM I_ProfitCenterToFixedAsset
LEFT OUTER JOIN I_ProfitCenterToCostCenter AS _RootProfitCenterToCostCenter ON _RootProfitCenterToCostCenter.OrganizationalChange = OrganizationalChange AND _RootProfitCenterToCostCenter.ControllingArea = ControllingArea AND _RootProfitCenterToCostCenter.CostCenter = SourceCostCenter AND _RootProfitCenterToCostCenter.ValidityStartDate = ValidityStartDate -- association [1]
LEFT OUTER JOIN I_OrglChgReassignmentStsText AS _OrglChgReassignmentStsText ON OrglChangeReassignmentStatus = _OrglChgReassignmentStsText.OrglChangeReassignmentStatus -- association [0..*]
LEFT OUTER JOIN I_CostCenter AS _SourceCostCenter ON SourceCostCenter = _SourceCostCenter.CostCenter AND ControllingArea = _SourceCostCenter.ControllingArea AND ValidityStartDate = _SourceCostCenter.ValidityStartDate -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA