I_OrglChangeWBSElement
WBS Elements in an Orgl Change
I_OrglChangeWBSElement is a Basic CDS View (Dimension) that provides data about "WBS Elements in an Orgl Change" in SAP S/4HANA. It reads from 1 data source (finoc_orglchgwbs) and exposes 16 fields with key fields OrganizationalChange, WBSElementInternalID. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| finoc_orglchgwbs | finoc_orglchgwbs | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_OrganizationalChange | _OrglChange | $projection.OrganizationalChange = _OrglChange.OrganizationalChange |
| [1] | I_WBSElementBasicData | _WBSElement | $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID |
| [0..1] | I_WBSElement | _WBSElementExternalID | $projection.WBSElementExternalID = _WBSElementExternalID.WBSElementWithCodingMask |
| [1..*] | I_ProfitCenter | _ProfitCtr | $projection.ControllingArea = _ProfitCtr.ControllingArea and $projection.ProfitCenter = _ProfitCtr.ProfitCenter |
| [1..*] | I_ProfitCenter | _ProfitCtrNew | $projection.ControllingArea = _ProfitCtrNew.ControllingArea and $projection.ProfitCenterByOrglChange = _ProfitCtrNew.ProfitCenter |
| [0..*] | I_ProfitCenterText | _ProfitCenterBfrOrglChangeText | $projection.ControllingArea = _ProfitCenterBfrOrglChangeText.ControllingArea and $projection.ProfitCenter = _ProfitCenterBfrOrglChangeText.ProfitCenter and _ProfitCenterBfrOrglChangeText.ValidityEndDate = '99991231' |
| [0..*] | I_ProfitCenterText | _ProfitCenterByOrglChangeText | $projection.ControllingArea = _ProfitCenterByOrglChangeText.ControllingArea and $projection.ProfitCenterByOrglChange = _ProfitCenterByOrglChangeText.ProfitCenter and _ProfitCenterByOrglChangeText.ValidityEndDate = '99991231' |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | WBS Elements in an Orgl Change | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.technicalName | IFINOCORGLCHGWBS | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | WBSElementInternalID | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.allowExtensions | true | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrganizationalChange | orgl_change | Organizational Change | |
| KEY | WBSElementInternalID | WBS Element | ||
| WBSElementExternalID | _WBSElement | WBSElementExternalID | WBS Element External ID | |
| ControllingArea | kokrs | Org. Value | ||
| ProfitCenter | prctr | Profit Centers | ||
| ProfitCenterByOrglChange | prctr_new | New Profit Center | ||
| LastChangeDateTime | last_changed_on | Time Stamp | ||
| LastChangedByUser | last_changed_by | Username | ||
| _OrglChange | _OrglChange | |||
| _WBSElement | _WBSElement | |||
| _WBSElementExternalID | _WBSElementExternalID | |||
| _ProfitCtr | _ProfitCtr | |||
| _ProfitCtrNew | _ProfitCtrNew | |||
| _ProfitCenterBfrOrglChangeText | _ProfitCenterBfrOrglChangeText | |||
| _ProfitCenterByOrglChangeText | _ProfitCenterByOrglChangeText | |||
| _ControllingArea | _ControllingArea |
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_OrglChangeWBSElement.
-- 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 I_OrglChangeWBSElement AS
SELECT
orgl_change AS OrganizationalChange,
cast (ps_psp_pnr as fis_wbsint_no_conv preserving type) AS WBSElementInternalID,
_WBSElement.WBSElementExternalID AS WBSElementExternalID,
kokrs AS ControllingArea,
prctr AS ProfitCenter,
prctr_new AS ProfitCenterByOrglChange,
last_changed_on AS LastChangeDateTime,
last_changed_by AS LastChangedByUser
FROM finoc_orglchgwbs
LEFT OUTER JOIN I_OrganizationalChange AS _OrglChange ON OrganizationalChange = _OrglChange.OrganizationalChange -- association [1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID -- association [1]
LEFT OUTER JOIN I_WBSElement AS _WBSElementExternalID ON WBSElementExternalID = _WBSElementExternalID.WBSElementWithCodingMask -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCtr ON ControllingArea = _ProfitCtr.ControllingArea AND ProfitCenter = _ProfitCtr.ProfitCenter -- association [1..*]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCtrNew ON ControllingArea = _ProfitCtrNew.ControllingArea AND ProfitCenterByOrglChange = _ProfitCtrNew.ProfitCenter -- association [1..*]
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterBfrOrglChangeText ON ControllingArea = _ProfitCenterBfrOrglChangeText.ControllingArea AND ProfitCenter = _ProfitCenterBfrOrglChangeText.ProfitCenter AND _ProfitCenterBfrOrglChangeText.ValidityEndDate = '99991231' -- association [0..*]
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterByOrglChangeText ON ControllingArea = _ProfitCenterByOrglChangeText.ControllingArea AND ProfitCenterByOrglChange = _ProfitCenterByOrglChangeText.ProfitCenter AND _ProfitCenterByOrglChangeText.ValidityEndDate = '99991231' -- association [0..*]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- 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