I_ProfitCenterToProject
Assgmt of PrftCtr to Project
I_ProfitCenterToProject is a Basic CDS View (Dimension) that provides data about "Assgmt of PrftCtr to Project" in SAP S/4HANA. It reads from 1 data source (finoc_rt_pro) and exposes 18 fields with key fields ProjectInternalID, ValidityStartDate. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| finoc_rt_pro | finoc_rt_pro | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_OrglChangeReassignmentStatus | _OrglChgReassignmentStatus | $projection.OrglChangeReassignmentStatus = _OrglChgReassignmentStatus.OrglChangeReassignmentStatus |
| [0..1] | I_ProfitCtrDerivationSrceType | _ProfitCtrDerivationSrceType | $projection.ProfitCenterDerivationSrceType = _ProfitCtrDerivationSrceType.ProfitCenterDerivationSrceType |
| [1] | I_ProjectBasicData | _ProjectBasicData | $projection.ProjectInternalID = _ProjectBasicData.ProjectInternalID |
| [0..1] | I_OrganizationalChange | _OrglChange | $projection.OrganizationalChange = _OrglChange.OrganizationalChange |
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFINOCRTPRO | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Assgmt of PrftCtr to Project | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | ProjectInternalID | view | |
| Metadata.ignorePropagatedAnnotations | true | 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 (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectInternalID | |||
| KEY | ValidityStartDate | valid_from | ||
| ValidityEndDate | valid_to | |||
| ControllingArea | kokrs | |||
| CompanyCode | bukrs | |||
| ProfitCenterBeforeOrglChange | prctr_old | |||
| ProfitCenter | prctr | |||
| OrganizationalChange | orgl_change | |||
| OrglChangeReassignmentStatus | reassgmt_status | |||
| ProfitCenterDerivationSrceType | prctr_drvtn_source_type | |||
| _OrglChgReassignmentStatus | _OrglChgReassignmentStatus | |||
| _ProfitCtrDerivationSrceType | _ProfitCtrDerivationSrceType | |||
| _ProjectBasicData | _ProjectBasicData | |||
| _OrglChange | _OrglChange | |||
| _CompanyCode | _CompanyCode | |||
| _ControllingArea | _ControllingArea | |||
| _ProfitCtr | _ProfitCtr | |||
| _ProfitCenterBeforeOrglChange | _ProfitCenterBeforeOrglChange |
@AbapCatalog.sqlViewName: 'IFINOCRTPRO'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@EndUserText.label: 'Assgmt of PrftCtr to Project'
@VDM.viewType: #BASIC
@Analytics: {
dataCategory: #DIMENSION
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel.representativeKey: 'ProjectInternalID'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #L
}
@Analytics.internalName:#LOCAL
@ObjectModel:{
supportedCapabilities: [ #ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE ],
modelingPattern: #ANALYTICAL_DIMENSION
}
@Metadata.allowExtensions:true
define view I_ProfitCenterToProject
as select from finoc_rt_pro
association [1] to I_OrglChangeReassignmentStatus as _OrglChgReassignmentStatus on $projection.OrglChangeReassignmentStatus = _OrglChgReassignmentStatus.OrglChangeReassignmentStatus
association [0..1] to I_ProfitCtrDerivationSrceType as _ProfitCtrDerivationSrceType on $projection.ProfitCenterDerivationSrceType = _ProfitCtrDerivationSrceType.ProfitCenterDerivationSrceType
association [1] to I_ProjectBasicData as _ProjectBasicData on $projection.ProjectInternalID = _ProjectBasicData.ProjectInternalID
association [0..1] to I_OrganizationalChange as _OrglChange on $projection.OrganizationalChange = _OrglChange.OrganizationalChange
association [0..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
association [1] to I_ControllingArea as _ControllingArea on $projection.ControllingArea = _ControllingArea.ControllingArea
association [0..1] to I_ProfitCenter as _ProfitCtr on $projection.ControllingArea = _ProfitCtr.ControllingArea
and $projection.ProfitCenter = _ProfitCtr.ProfitCenter
and $projection.ValidityStartDate >= _ProfitCtr.ValidityStartDate
and $projection.ValidityStartDate <= _ProfitCtr.ValidityEndDate
association [0..1] to I_ProfitCenter as _ProfitCenterBeforeOrglChange on $projection.ControllingArea = _ProfitCenterBeforeOrglChange.ControllingArea
and $projection.ProfitCenterBeforeOrglChange = _ProfitCenterBeforeOrglChange.ProfitCenter
and $projection.ValidityStartDate >= _ProfitCenterBeforeOrglChange.ValidityStartDate
and $projection.ValidityStartDate <= _ProfitCenterBeforeOrglChange.ValidityEndDate
{
key cast (ps_prj_pnr as ps_s4_proj_pspnr preserving type) as ProjectInternalID,
@Semantics.businessDate.from:true
key valid_from as ValidityStartDate,
@Semantics.businessDate.to:true
valid_to as ValidityEndDate,
kokrs as ControllingArea,
bukrs as CompanyCode,
prctr_old as ProfitCenterBeforeOrglChange,
prctr as ProfitCenter,
orgl_change as OrganizationalChange,
reassgmt_status as OrglChangeReassignmentStatus,
prctr_drvtn_source_type as ProfitCenterDerivationSrceType,
_OrglChgReassignmentStatus,
_ProfitCtrDerivationSrceType,
_ProjectBasicData,
_OrglChange,
_CompanyCode,
_ControllingArea,
_ProfitCtr,
_ProfitCenterBeforeOrglChange
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FINOC_RT_PRO"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_CONTROLLINGAREA",
"I_ORGANIZATIONALCHANGE",
"I_ORGLCHANGEREASSIGNMENTSTATUS",
"I_PROFITCENTER",
"I_PROFITCTRDERIVATIONSRCETYPE",
"I_PROJECTBASICDATA"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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