P_OrglChangeReportRootWBS
Orgl Change Report Root WBSElement
P_OrglChangeReportRootWBS is a Consumption CDS View that provides data about "Orgl Change Report Root WBSElement" in SAP S/4HANA. It reads from 1 data source (I_ProfitCenterToWBSElement) and exposes 31 fields with key fields OrganizationalChange, WBSElementInternalID, ValidityStartDate. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProfitCenterToWBSElement | I_ProfitCenterToWBSElement | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_OrglChgReassignmentStsText | _OrglChgReassignmentStsText | $projection.OrglChangeReassignmentStatus = _OrglChgReassignmentStsText.OrglChangeReassignmentStatus |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | POCRROOTWBS | 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 | Orgl Change Report Root WBSElement | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrganizationalChange | OrganizationalChange | ||
| KEY | WBSElementInternalID | WBSElementInternalID | ||
| KEY | ValidityStartDate | ValidityStartDate | ||
| WBSElement | _WBSElement | WBSElement | ||
| OrglChgRptNodeDescription | _WBSElement | WBSElement | ||
| WBSDescription | _WBSElement | WBSDescription | ||
| ValidityEndDate | ValidityEndDate | |||
| ControllingArea | ControllingArea | |||
| ControllingAreaName | _ControllingArea | ControllingAreaName | ||
| CompanyCode | CompanyCode | |||
| CompanyCodeName | _CompanyCode | CompanyCodeName | ||
| ProfitCenterBeforeOrglChange | ProfitCenterBeforeOrglChange | |||
| ProfitCenterBfrOrglChangeName | ||||
| ProfitCenter | ProfitCenter | |||
| ProfitCenterName | ||||
| OrglChangeReassignmentStatus | OrglChangeReassignmentStatus | |||
| OrglChgReassignmentStatusName | ||||
| ProfitCenterDerivationSrceType | ProfitCenterDerivationSrceType | |||
| SourceWBSElementInternalID | SourceWBSElementInternalID | |||
| SemanticObject | ||||
| OrglChgRptRootObjectType | ||||
| RootObjectId | ||||
| _CompanyCode | _CompanyCode | |||
| _ControllingArea | _ControllingArea | |||
| _OrglChange | _OrglChange | |||
| _OrglChgReassignmentStatus | _OrglChgReassignmentStatus | |||
| _ProfitCenterBeforeOrglChange | _ProfitCenterBeforeOrglChange | |||
| _ProfitCtr | _ProfitCtr | |||
| _ProfitCtrDerivationSrceType | _ProfitCtrDerivationSrceType | |||
| _WBSElement | _WBSElement | |||
| _OrglChgReassignmentStsText | _OrglChgReassignmentStsText |
@AbapCatalog.sqlViewName: 'POCRROOTWBS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {
serviceQuality: #C,
sizeCategory : #L,
dataClass: #MASTER
}
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Orgl Change Report Root WBSElement'
define view P_OrglChangeReportRootWBS
as select from I_ProfitCenterToWBSElement
association [0..*] to I_OrglChgReassignmentStsText as _OrglChgReassignmentStsText
on $projection.OrglChangeReassignmentStatus = _OrglChgReassignmentStsText.OrglChangeReassignmentStatus
{
key OrganizationalChange,
key WBSElementInternalID,
key ValidityStartDate,
_WBSElement.WBSElement as WBSElement,
@ObjectModel.text.element: ['WBSDescription']
_WBSElement.WBSElement as OrglChgRptNodeDescription,
@Semantics.text:true
_WBSElement.WBSDescription,
// concat_with_space((_WBSElement.WBSElement), (_WBSElement.WBSDescription), 1) as OrglChgRptNodeDescription,
// @UI.textArrangement: #TEXT_LAST
// _WBSElement.WBSElement as OrglChgRptNodeDescription,
ValidityEndDate,
ControllingArea,
_ControllingArea.ControllingAreaName,
CompanyCode,
_CompanyCode.CompanyCodeName,
ProfitCenterBeforeOrglChange,
_ProfitCenterBeforeOrglChange._Text[1:Language=$session.system_language].ProfitCenterName as ProfitCenterBfrOrglChangeName,
ProfitCenter,
_ProfitCtr._Text[1:Language=$session.system_language].ProfitCenterName,
OrglChangeReassignmentStatus,
_OrglChgReassignmentStsText[1:Language=$session.system_language].OrglChgReassignmentStatusName,
ProfitCenterDerivationSrceType,
SourceWBSElementInternalID,
cast( 'WBSElement' as finoc_semantic_object ) as SemanticObject,
cast( 'PR' as finoc_root_object_type ) as OrglChgRptRootObjectType,
cast( WBSElementInternalID as finoc_object_id ) as RootObjectId,
/* Associations */
_CompanyCode,
_ControllingArea,
_OrglChange,
_OrglChgReassignmentStatus,
_ProfitCenterBeforeOrglChange,
_ProfitCtr,
_ProfitCtrDerivationSrceType,
_WBSElement,
_OrglChgReassignmentStsText
}
where
OrganizationalChange <> ''
and ProfitCenterDerivationSrceType = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"I_CONTROLLINGAREA",
"I_ORGLCHGREASSIGNMENTSTSTEXT",
"I_PROFITCENTER",
"I_PROFITCENTERTEXT",
"I_PROFITCENTERTOWBSELEMENT",
"I_WBSELEMENTBASICDATA"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_CONTROLLINGAREA",
"I_ORGANIZATIONALCHANGE",
"I_ORGLCHANGEREASSIGNMENTSTATUS",
"I_ORGLCHGREASSIGNMENTSTSTEXT",
"I_PROFITCENTER",
"I_PROFITCTRDERIVATIONSRCETYPE",
"I_WBSELEMENTBASICDATA"
],
"BASE":
[
"I_PROFITCENTERTOWBSELEMENT"
],
"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