P_OrglChangeReportNWAtoWBS
Dependent NWA to Root WBS Element
P_OrglChangeReportNWAtoWBS is a Consumption CDS View that provides data about "Dependent NWA to Root WBS Element" in SAP S/4HANA. It reads from 1 data source (I_ProfitCenterToNetworkActy) and exposes 49 fields with key fields ProjectNetwork, NetworkActivity, ValidityStartDate. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProfitCenterToNetworkActy | _ProfitCenterToNetworkActy | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProfitCenterToWBSElement | _ProfitCenterToWBSElement | _ProfitCenterToWBSElement.OrganizationalChange = $projection.OrganizationalChange and _ProfitCenterToWBSElement.ValidityStartDate = $projection.ValidityStartDate and _ProfitCenterToWBSElement.ControllingArea = $projection.ControllingArea and _ProfitCenterToWBSElement.SourceWBSElementInternalID = $projection.SourceWBSElementInternalID |
| [0..*] | I_OrglChgReassignmentStsText | _OrglChgReassignmentStsText | $projection.OrglChangeReassignmentStatus = _OrglChgReassignmentStsText.OrglChangeReassignmentStatus |
| [1] | I_ProjectNetwork | _ProjectNetwork | $projection.ProjectNetwork = _ProjectNetwork.ProjectNetwork |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | 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 NWA to Root WBS Element | view |
Fields (49)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectNetwork | ProjectNetwork | Order | |
| KEY | NetworkActivity | NetworkActivity | Operation/Activity | |
| KEY | ValidityStartDate | ValidityStartDate | Validity Start Date | |
| OrglChgRptDependentObjectType | ||||
| RootObjectID | ||||
| OrglChgRptRootObjectType | ProfitCenterDerivationSrceType | Profit Center Source | ||
| SemanticObject | ||||
| OrganizationalChange | OrganizationalChange | Organizational Change | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| Segment | _ProfitCtr | Segment | Segment number | |
| SegmentName | ||||
| SegmentBeforeOrglChange | _PrftCtrBfrOrglChgBfrEffctvDte | Segment | Segment number | |
| SegmentBeforeOrglChangeName | ||||
| ControllingAreaName | _ControllingArea | ControllingAreaName | Long Text | |
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| ProfitCenterBeforeOrglChange | ProfitCenterBeforeOrglChange | Old Profit Center | ||
| ProfitCenterBfrOrglChangeName | ||||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ProfitCenterName | ||||
| OrglChangeReassignmentStatus | OrglChangeReassignmentStatus | Status | ||
| OrglChgReassignmentStatusName | ||||
| ProfitCenterDerivationSrceType | ProfitCenterDerivationSrceType | Profit Center Source | ||
| SourceOrder | SourceOrder | |||
| SourceProjectInternalID | SourceProjectInternalID | |||
| SourceWBSElementInternalID | SourceWBSElementInternalID | |||
| ProjectNetworkInternalID | ProjectNetworkInternalID | Plan No.f.Oper. | ||
| NetworkActivityInternalID | NetworkActivityInternalID | Counter | ||
| RootWBSElementInternalID | _ProfitCenterToWBSElement | WBSElementInternalID | WBS Internal ID | |
| RootValidityStartDate | _ProfitCenterToWBSElement | ValidityStartDate | Validity Start Date | |
| RootValidityEndDate | _ProfitCenterToWBSElement | ValidityEndDate | ValidTo | |
| RootControllingArea | _ProfitCenterToWBSElement | ControllingArea | Controlling Area | |
| RootCompanyCode | _ProfitCenterToWBSElement | CompanyCode | Receiver Company Code | |
| RootProfitCenterBeforeOrglChng | _ProfitCenterToWBSElement | ProfitCenterBeforeOrglChange | Old Profit Center | |
| RootProfitCenter | _ProfitCenterToWBSElement | ProfitCenter | Profit Center | |
| RootOrganizationalChange | _ProfitCenterToWBSElement | OrganizationalChange | Organizational Change | |
| RootOrglChangeReassignmentSts | _ProfitCenterToWBSElement | OrglChangeReassignmentStatus | Status | |
| RootProfitCenterDrvtnSrceTp | _ProfitCenterToWBSElement | ProfitCenterDerivationSrceType | Profit Center Source | |
| _CompanyCode | _CompanyCode | |||
| _ControllingArea | _ControllingArea | |||
| _OrglChange | _OrglChange | |||
| _OrglChgReassignmentStatus | _OrglChgReassignmentStatus | |||
| _Order | _Order | |||
| _ProfitCenterBeforeOrglChange | _ProfitCenterBeforeOrglChange | |||
| OrglChangeEffectiveDate | I_ProfitCenterToNetworkActy | OrglChangeEffectiveDate | Effective Date | |
| OrglChgLastDateBeforeEffDate | I_ProfitCenterToNetworkActy | OrglChgLastDateBeforeEffDate | ||
| _ProfitCtr | _ProfitCtr | |||
| _ProfitCtrDerivationSrceType | _ProfitCtrDerivationSrceType |
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_OrglChangeReportNWAtoWBS.
-- 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 P_OrglChangeReportNWAtoWBS AS
SELECT
ProjectNetwork,
NetworkActivity,
ValidityStartDate,
cast( 'NV' as finoc_dependent_object_type ) AS OrglChgRptDependentObjectType,
cast( SourceWBSElementInternalID as finoc_object_id ) AS RootObjectID,
ProfitCenterDerivationSrceType AS OrglChgRptRootObjectType,
cast( 'NetworkActivity' as finoc_semantic_object ) AS SemanticObject,
OrganizationalChange,
ControllingArea,
ValidityEndDate,
_ProfitCtr.Segment AS Segment,
_ProfitCtr._Segment._Text[1:Language=$session.system_language].SegmentName AS SegmentName,
_PrftCtrBfrOrglChgBfrEffctvDte.Segment AS SegmentBeforeOrglChange,
_PrftCtrBfrOrglChgBfrEffctvDte._Segment._Text[1:Language=$session.system_language].SegmentName AS SegmentBeforeOrglChangeName,
_ControllingArea.ControllingAreaName AS ControllingAreaName,
CompanyCode,
_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,
SourceOrder,
SourceProjectInternalID,
SourceWBSElementInternalID,
ProjectNetworkInternalID,
NetworkActivityInternalID,
_ProfitCenterToWBSElement.WBSElementInternalID AS RootWBSElementInternalID,
_ProfitCenterToWBSElement.ValidityStartDate AS RootValidityStartDate,
_ProfitCenterToWBSElement.ValidityEndDate AS RootValidityEndDate,
_ProfitCenterToWBSElement.ControllingArea AS RootControllingArea,
_ProfitCenterToWBSElement.CompanyCode AS RootCompanyCode,
_ProfitCenterToWBSElement.ProfitCenterBeforeOrglChange AS RootProfitCenterBeforeOrglChng,
_ProfitCenterToWBSElement.ProfitCenter AS RootProfitCenter,
_ProfitCenterToWBSElement.OrganizationalChange AS RootOrganizationalChange,
_ProfitCenterToWBSElement.OrglChangeReassignmentStatus AS RootOrglChangeReassignmentSts,
_ProfitCenterToWBSElement.ProfitCenterDerivationSrceType AS RootProfitCenterDrvtnSrceTp,
_ProfitCenterToNetworkActy.OrglChangeEffectiveDate AS OrglChangeEffectiveDate,
_ProfitCenterToNetworkActy.OrglChgLastDateBeforeEffDate AS OrglChgLastDateBeforeEffDate
FROM I_ProfitCenterToNetworkActy AS _ProfitCenterToNetworkActy
LEFT OUTER JOIN I_ProfitCenterToWBSElement AS _ProfitCenterToWBSElement ON _ProfitCenterToWBSElement.OrganizationalChange = OrganizationalChange AND _ProfitCenterToWBSElement.ValidityStartDate = ValidityStartDate AND _ProfitCenterToWBSElement.ControllingArea = ControllingArea AND _ProfitCenterToWBSElement.SourceWBSElementInternalID = SourceWBSElementInternalID -- association [0..1]
LEFT OUTER JOIN I_OrglChgReassignmentStsText AS _OrglChgReassignmentStsText ON OrglChangeReassignmentStatus = _OrglChgReassignmentStsText.OrglChangeReassignmentStatus -- association [0..*]
LEFT OUTER JOIN I_ProjectNetwork AS _ProjectNetwork ON ProjectNetwork = _ProjectNetwork.ProjectNetwork -- association [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